]> git.openstreetmap.org Git - chef.git/commitdiff
Merge remote-tracking branch 'github/pull/272'
authorTom Hughes <tom@compton.nu>
Fri, 21 Feb 2020 00:14:34 +0000 (00:14 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 21 Feb 2020 00:14:34 +0000 (00:14 +0000)
1  2 
cookbooks/blogs/recipes/default.rb
cookbooks/donate/recipes/default.rb
cookbooks/foundation/recipes/owg.rb
cookbooks/gps-tile/recipes/default.rb
cookbooks/mediawiki/resources/extension.rb
cookbooks/mediawiki/resources/site.rb
cookbooks/serverinfo/recipes/default.rb
cookbooks/stateofthemap/recipes/default.rb

index 1d516a35a1d17a0539a0c1095635ca13741ae6d6,358b3702a9779b84f6f1c1bd78c79b528cb50280..5cd260d1f16dd376138d4fd9a0c4db9c6c37ab15
@@@ -42,8 -42,8 +42,8 @@@ en
  
  git "/srv/blogs.openstreetmap.org" do
    action :sync
 -  repository "git://github.com/gravitystorm/blogs.osm.org.git"
 +  repository "https://github.com/gravitystorm/blogs.osm.org.git"
-   depth 5
+   depth 1
    user "blogs"
    group "blogs"
    notifies :run, "execute[/srv/blogs.openstreetmap.org/Gemfile]", :immediately
index c2249ee9c4be5a38473040fe443848eb86409793,d4d99a29ccf565c8ceccc7edb3c548f00f7c4157..9ae3ebaa461ec0cf4fb2fa6950ef3119f0b078bb
@@@ -54,7 -54,8 +54,8 @@@ en
  
  git "/srv/donate.openstreetmap.org" do
    action :sync
 -  repository "git://github.com/osmfoundation/donation-drive.git"
 +  repository "https://github.com/osmfoundation/donation-drive.git"
+   depth 1
    user "donate"
    group "donate"
  end
index 70662e702708e97196c1ad61c51b2c356dc08dba,47a835e9a36840d520b713a5deb2c008467f38dc..d65d75aadfd905e3d18092a68c396f7bb5646082
@@@ -32,7 -32,8 +32,8 @@@ en
  
  git "/srv/operations.osmfoundation.org" do
    action :sync
 -  repository "git://github.com/openstreetmap/owg-website.git"
 +  repository "https://github.com/openstreetmap/owg-website.git"
+   depth 1
    user "root"
    group "root"
    notifies :run, "execute[/srv/operations.osmfoundation.org/Gemfile]"
index 77231a801bc74f28c768c326932d5411bb365e27,6d2d6476bd22316fec2ecc818f89cc844b230d61..b960143e7dd605319f23d8a58965766383329505
@@@ -43,8 -43,9 +43,9 @@@ en
  
  git "/srv/gps-tile.openstreetmap.org/import" do
    action :sync
 -  repository "git://github.com/ericfischer/gpx-import.git"
 +  repository "https://github.com/ericfischer/gpx-import.git"
    revision "live"
+   depth 1
    user "gpstile"
    group "gpstile"
  end
@@@ -60,8 -61,9 +61,9 @@@ en
  
  git "/srv/gps-tile.openstreetmap.org/datamaps" do
    action :sync
 -  repository "git://github.com/ericfischer/datamaps.git"
 +  repository "https://github.com/ericfischer/datamaps.git"
    revision "live"
+   depth 1
    user "gpstile"
    group "gpstile"
  end
@@@ -77,8 -79,9 +79,9 @@@ en
  
  git "/srv/gps-tile.openstreetmap.org/updater" do
    action :sync
 -  repository "git://github.com/ericfischer/gpx-updater.git"
 +  repository "https://github.com/ericfischer/gpx-updater.git"
    revision "live"
+   depth 1
    user "gpstile"
    group "gpstile"
  end
index 19197576f5506764564ada58737b30315b1fc857,de759a66ae84eabbd07ea3a00907f7054f884bac..b332d429639f1ee6d760c2d7b9a0d5eebac13d97
@@@ -57,10 -57,11 +57,11 @@@ action :create d
        action :sync
        repository extension_repository
        reference extension_reference
+       depth 1
        enable_submodules true
        user node[:mediawiki][:user]
        group node[:mediawiki][:group]
 -      ignore_failure extension_repository.start_with?("git://github.com/wikimedia/mediawiki-extensions")
 +      ignore_failure extension_repository.start_with?("https://github.com/wikimedia/mediawiki-extensions")
      end
    end
  
@@@ -122,7 -123,7 +123,7 @@@ action_class d
    end
  
    def default_repository
 -    "git://github.com/wikimedia/mediawiki-extensions-#{new_resource.extension}.git"
 +    "https://github.com/wikimedia/mediawiki-extensions-#{new_resource.extension}.git"
    end
  end
  
index 2686c652317d1dba756e107e3c7951114d9919e0,f8deb22abe6a135868d79d270cbe2df0546e26dd..323e33259e62e3d905368a5a6325032103b906ad
@@@ -109,6 -109,7 +109,7 @@@ action :create d
      action :sync
      repository "https://gerrit.wikimedia.org/r/p/mediawiki/core.git"
      revision mediawiki_reference
+     depth 1
      user node[:mediawiki][:user]
      group node[:mediawiki][:group]
      notifies :run, "execute[#{mediawiki_directory}/composer.json]", :immediately
    mediawiki_extension "osmtaginfo" do
      site new_resource.site
      template "mw-ext-osmtaginfo.inc.php.erb"
 -    repository "git://github.com/Firefishy/osmtaginfo.git"
 +    repository "https://github.com/Firefishy/osmtaginfo.git"
      tag "live"
      update_site false
    end
    mediawiki_extension "SimpleMap" do
      site new_resource.site
      template "mw-ext-SimpleMap.inc.php.erb"
 -    repository "git://github.com/Firefishy/SimpleMap.git"
 +    repository "https://github.com/Firefishy/SimpleMap.git"
      tag "live"
      update_site false
    end
    mediawiki_extension "SlippyMap" do
      site new_resource.site
      template "mw-ext-SlippyMap.inc.php.erb"
 -    repository "git://github.com/Firefishy/SlippyMap.git"
 +    repository "https://github.com/Firefishy/SlippyMap.git"
      tag "live"
      update_site false
    end
index 81685b3762d3c7c6745235cef36ddc5141f7b6c5,7dd65cbf300443b69406712add87497db4349961..93de4bc2adc9bb2e01c240b361dd816712d4aef0
@@@ -34,7 -34,8 +34,8 @@@ en
  
  git "/srv/hardware.openstreetmap.org" do
    action :sync
 -  repository "git://github.com/gravitystorm/osmf-server-info.git"
 +  repository "https://github.com/gravitystorm/osmf-server-info.git"
+   depth 1
    user "root"
    group "root"
    notifies :run, "execute[/srv/hardware.openstreetmap.org/Gemfile]"
index fad08875d6cf71f8df8588b46eb39903837c9f69,69f9a6e0a6bbad2a61b6f8eb0e4445273e6e3721..76efd9a44597941428c10051cc14e8f85a40b352
@@@ -25,6 -25,7 +25,7 @@@ git "/srv/stateofthemap.org" d
    action :sync
    repository "https://git.openstreetmap.org/public/stateofthemap.git"
    revision "chooser"
+   depth 1
    user "root"
    group "root"
  end
@@@ -105,6 -106,7 +106,7 @@@ git "/srv/2009.stateofthemap.org" d
    action :sync
    repository "https://git.openstreetmap.org/public/stateofthemap.git"
    revision "resources-2009"
+   depth 1
    user "wordpress"
    group "wordpress"
  end
@@@ -142,6 -144,7 +144,7 @@@ git "/srv/2010.stateofthemap.org" d
    action :sync
    repository "https://git.openstreetmap.org/public/stateofthemap.git"
    revision "resources-2010"
+   depth 1
    user "wordpress"
    group "wordpress"
  end
@@@ -184,6 -187,7 +187,7 @@@ git "/srv/2011.stateofthemap.org" d
    action :sync
    repository "https://git.openstreetmap.org/public/stateofthemap.git"
    revision "resources-2011"
+   depth 1
    user "wordpress"
    group "wordpress"
  end
@@@ -226,6 -230,7 +230,7 @@@ git "/srv/2012.stateofthemap.org" d
    action :sync
    repository "https://git.openstreetmap.org/public/stateofthemap.git"
    revision "resources-2012"
+   depth 1
    user "wordpress"
    group "wordpress"
  end
@@@ -268,6 -273,7 +273,7 @@@ en
      action :sync
      repository "https://git.openstreetmap.org/public/stateofthemap.git"
      revision "site-#{year}"
+     depth 1
      user "root"
      group "root"
    end
@@@ -302,7 -308,8 +308,8 @@@ en
  %w[2016 2017 2018 2019 2020].each do |year|
    git "/srv/#{year}.stateofthemap.org" do
      action :sync
 -    repository "git://github.com/openstreetmap/stateofthemap-#{year}.git"
 +    repository "https://github.com/openstreetmap/stateofthemap-#{year}.git"
+     depth 1
      user "root"
      group "root"
      notifies :run, "execute[/srv/#{year}.stateofthemap.org/Gemfile]"