Skip to content

Commit 7e4c4ad

Browse files
authored
Merge pull request #725 from bastelfreak/cleanup
get_all_the_diffs: dont read legacy plumbing repo content
2 parents cf508b6 + 1515c26 commit 7e4c4ad

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

bin/get_all_the_diffs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ repos -= LEGACY_OR_BROKEN_NOBODY_KNOWS
3838
puts "get all manged modules" if DEBUG
3939
modulesync_repos = YAML.load(File.read('managed_modules.yml'))
4040

41-
# get all modules we have in plumbing
42-
#plumbing_modules = YAML.load(open('https://raw.githubusercontent.com/voxpupuli/plumbing/master/share/modules')).split(' ')
43-
4441
# get all modules that we have on github but are currently not managed by modulesync_config
4542
not_synced_repos = repos.select{|repo| !modulesync_repos.include?(repo)}
4643

@@ -62,9 +59,6 @@ really_need_an_initial_modulesync = not_synced_repos.reject{|repo| LEGACY_OR_BRO
6259
# get all modules that really need an initial release
6360
really_need_an_inital_release = really_unreleased_modules.reject{|repo| LEGACY_OR_BROKEN_NOBODY_KNOWS.include?(repo)}
6461

65-
# get all modules that need to added to plumbing
66-
#missing_in_plumbing = repos.reject{|repo| plumbing_modules.include?(repo)}
67-
6862
# update git and get the latest release
6963
`git fetch --all --prune`
7064
tags = `git tag -l`
@@ -177,7 +171,6 @@ puts "the following modules got added to our modulesync config but were never sy
177171
puts '==============================================================================================================================================================' if LEGACY_OR_BROKEN_NOBODY_KNOWS.count > 0
178172
puts "We don't care about #{LEGACY_OR_BROKEN_NOBODY_KNOWS.join(', ')}" if LEGACY_OR_BROKEN_NOBODY_KNOWS.count > 0
179173
puts '=============================================================================================================================================================='
180-
puts "We need to add the following modules to plumbing: #{missing_in_plumbing.join(', ')}" if missing_in_plumbing.count > 0
181174
puts "We need to do an initial modulesync on: #{really_need_an_initial_modulesync.join(', ')}" if really_need_an_initial_modulesync.count > 0
182175
puts "we need to do a normal modulesync on: #{need_another_sync.join(', ')}" if need_another_sync.count > 0
183176
puts "We need to check Puppets version_requirement on these modules because it is not equal to #{PUPPET_SUPPORT_RANGE}: #{modules_with_incorrect_puppet_version_range.join(', ')}" if modules_with_incorrect_puppet_version_range.count > 0

0 commit comments

Comments
 (0)