Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
e03d1606
Commit
e03d1606
authored
Nov 26, 2020
by
Rylan Polster
Browse files
Migrate VERSIONED_KEG_ONLY_ALLOWLIST
parent
96cf0e5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Library/Homebrew/formula_auditor.rb
View file @
e03d1606
...
...
@@ -347,21 +347,6 @@ module Homebrew
end
end
# openssl@1.1 only needed for Linux
VERSIONED_KEG_ONLY_ALLOWLIST
=
%w[
autoconf@2.13
bash-completion@2
clang-format@8
gnupg@1.4
libsigc++@2
lua@5.1
numpy@1.16
openssl@1.1
python@3.8
python@3.9
cairomm@1.14
]
.
freeze
def
audit_versioned_keg_only
return
unless
@versioned_formula
return
unless
@core_tap
...
...
@@ -374,7 +359,7 @@ module Homebrew
end
end
return
if
VERSIONED_KEG_ONLY_ALLOWLIST
.
include?
(
formula
.
name
)
return
if
tap_audit_exception
:versioned_keg_only_allowlist
,
formula
.
name
return
if
formula
.
name
.
start_with?
(
"adoptopenjdk@"
)
return
if
formula
.
name
.
start_with?
(
"gcc@"
)
...
...
Library/Homebrew/test/dev-cmd/audit_spec.rb
View file @
e03d1606
...
...
@@ -1010,7 +1010,6 @@ module Homebrew
end
end
# include_examples "formulae exist", described_class::VERSIONED_KEG_ONLY_ALLOWLIST
include_examples
"formulae exist"
,
described_class
::
UNSTABLE_ALLOWLIST
.
keys
include_examples
"formulae exist"
,
described_class
::
GNOME_DEVEL_ALLOWLIST
.
keys
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment