Skip to content

Commit

Permalink
Merge pull request voxpupuli#725 from bastelfreak/cleanup
Browse files Browse the repository at this point in the history
get_all_the_diffs: dont read legacy plumbing repo content
  • Loading branch information
ekohl authored Jul 5, 2021
2 parents cf508b6 + 1515c26 commit 7e4c4ad
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bin/get_all_the_diffs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ repos -= LEGACY_OR_BROKEN_NOBODY_KNOWS
puts "get all manged modules" if DEBUG
modulesync_repos = YAML.load(File.read('managed_modules.yml'))

# get all modules we have in plumbing
#plumbing_modules = YAML.load(open('https://raw.githubusercontent.com/voxpupuli/plumbing/master/share/modules')).split(' ')

# get all modules that we have on github but are currently not managed by modulesync_config
not_synced_repos = repos.select{|repo| !modulesync_repos.include?(repo)}

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

# get all modules that need to added to plumbing
#missing_in_plumbing = repos.reject{|repo| plumbing_modules.include?(repo)}

# update git and get the latest release
`git fetch --all --prune`
tags = `git tag -l`
Expand Down Expand Up @@ -177,7 +171,6 @@ puts "the following modules got added to our modulesync config but were never sy
puts '==============================================================================================================================================================' if LEGACY_OR_BROKEN_NOBODY_KNOWS.count > 0
puts "We don't care about #{LEGACY_OR_BROKEN_NOBODY_KNOWS.join(', ')}" if LEGACY_OR_BROKEN_NOBODY_KNOWS.count > 0
puts '=============================================================================================================================================================='
puts "We need to add the following modules to plumbing: #{missing_in_plumbing.join(', ')}" if missing_in_plumbing.count > 0
puts "We need to do an initial modulesync on: #{really_need_an_initial_modulesync.join(', ')}" if really_need_an_initial_modulesync.count > 0
puts "we need to do a normal modulesync on: #{need_another_sync.join(', ')}" if need_another_sync.count > 0
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
Expand Down

0 comments on commit 7e4c4ad

Please sign in to comment.