@@ -39,7 +39,7 @@ puts "get all manged modules" if DEBUG
3939modulesync_repos = YAML . load ( File . read ( 'managed_modules.yml' ) )
4040
4141# get all modules we have in plumbing
42- plumbing_modules = YAML . load ( open ( 'https://raw.githubusercontent.com/voxpupuli/plumbing/master/share/modules' ) ) . split ( ' ' )
42+ # plumbing_modules = YAML.load(open('https://raw.githubusercontent.com/voxpupuli/plumbing/master/share/modules')).split(' ')
4343
4444# get all modules that we have on github but are currently not managed by modulesync_config
4545not_synced_repos = repos . select { |repo | !modulesync_repos . include? ( repo ) }
@@ -63,7 +63,7 @@ really_need_an_initial_modulesync = not_synced_repos.reject{|repo| LEGACY_OR_BRO
6363really_need_an_inital_release = really_unreleased_modules . reject { |repo | LEGACY_OR_BROKEN_NOBODY_KNOWS . include? ( repo ) }
6464
6565# get all modules that need to added to plumbing
66- missing_in_plumbing = repos . reject { |repo | plumbing_modules . include? ( repo ) }
66+ # missing_in_plumbing = repos.reject{|repo| plumbing_modules.include?(repo)}
6767
6868# update git and get the latest release
6969`git fetch --all --prune`
@@ -78,23 +78,23 @@ syncs = {}
7878metadatas = { }
7979modulesync_repos . each do |repo |
8080 begin
81- response = open ( "https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/.msync.yml" )
81+ response = URI . open ( "https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/.msync.yml" )
8282 rescue OpenURI ::HTTPError
8383 puts "something is broken with #{ repo } and https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/.msync.yml" if DEBUG
8484 modules_that_were_added_but_never_synced << repo
8585 next
8686 end
8787 msyncs [ repo ] = YAML . load ( response )
8888 begin
89- response = open ( "https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/.sync.yml" )
89+ response = URI . open ( "https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/.sync.yml" )
9090 rescue OpenURI ::HTTPError
9191 puts "something is broken with #{ repo } and https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/.sync.yml" if DEBUG
9292 modules_that_have_missing_secrets << repo
9393 next
9494 end
9595 syncs [ repo ] = YAML . load ( response )
9696 begin
97- response = open ( "https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/metadata.json" )
97+ response = URI . open ( "https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/metadata.json" )
9898 rescue OpenURI ::HTTPError
9999 puts "something is broken with #{ repo } and https://raw.githubusercontent.com/voxpupuli/#{ repo } /master/metadata.json"
100100 next
0 commit comments