Migrate UNSTABLE_DEVEL_ALLOWLIST
This commit is contained in:
parent
71beff367a
commit
de26310b32
@ -477,10 +477,6 @@ module Homebrew
|
||||
[user, repo]
|
||||
end
|
||||
|
||||
# Used for formulae that are unstable but need CI run without being in homebrew/core
|
||||
UNSTABLE_DEVEL_ALLOWLIST = {
|
||||
}.freeze
|
||||
|
||||
GNOME_DEVEL_ALLOWLIST = {
|
||||
"libart" => "2.3",
|
||||
"gtk-mac-integration" => "2.1",
|
||||
@ -553,7 +549,7 @@ module Homebrew
|
||||
matched = Regexp.last_match(1)
|
||||
version_prefix = stable_version_string.sub(/\d+$/, "")
|
||||
return if tap_audit_exception :unstable_allowlist, formula.name, version_prefix
|
||||
return if UNSTABLE_DEVEL_ALLOWLIST[formula.name] == version_prefix
|
||||
return if tap_audit_exception :unstable_devel_allowlist, formula.name, version_prefix
|
||||
|
||||
problem "Stable version URLs should not contain #{matched}"
|
||||
when %r{download\.gnome\.org/sources}, %r{ftp\.gnome\.org/pub/GNOME/sources}i
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user