Update Updater workflows, have version.rb deduplicate update list. (#12803)

* Update Updater workflows, have version.rb deduplicate update list.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Ignore shellcheck complaint.

* Add updater exclusions.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add ruby to updater exclusion.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add tika versioning exclusion.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2025-09-16 14:42:44 -04:00
committed by GitHub
parent 5943468777
commit bc14d4dfb4
4 changed files with 52 additions and 5 deletions

View File

@@ -181,7 +181,11 @@ end
# Some packges need manual adjustments of URLS for different versions.
unless defined?(CREW_UPDATER_EXCLUDED_PKGS)
CREW_UPDATER_EXCLUDED_PKGS = Set[
{ pkg_name: 'py3_ldapdomaindump', comments: 'Build is broken.' }
{ pkg_name: 'e2fsprogs', comments: 'Upstream issue: https://github.com/tytso/e2fsprogs/issues/240' },
{ pkg_name: 'glibc', comments: 'Requires manual update' },
{ pkg_name: 'py3_ldapdomaindump', comments: 'Build is broken.' },
{ pkg_name: 'ruby', comments: 'Upstream issue: https://bugs.ruby-lang.org/issues/21607' },
{ pkg_name: 'tika', comments: 'Versioning issue: https://github.com/fedora-infra/anitya/issues/1944' }
].to_h { |h| [h[:pkg_name], h[:comments]] }
end
CREW_AUTOMATIC_VERSION_UPDATE_EXCLUSION_REGEX = "(#{CREW_UPDATER_EXCLUDED_PKGS.keys.map { |p| "^#{p}$" }.join('|')})" unless defined?(CREW_AUTOMATIC_VERSION_UPDATE_EXCLUSION_REGEX)