Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
fe8ce9b7
Commit
fe8ce9b7
authored
4 years ago
by
Rylan Polster
Browse files
Options
Downloads
Patches
Plain Diff
Migrate GNOME_DEVEL_ALLOWLIST
parent
de26310b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/formula_auditor.rb
+1
-9
1 addition, 9 deletions
Library/Homebrew/formula_auditor.rb
Library/Homebrew/test/dev-cmd/audit_spec.rb
+0
-2
0 additions, 2 deletions
Library/Homebrew/test/dev-cmd/audit_spec.rb
with
1 addition
and
11 deletions
Library/Homebrew/formula_auditor.rb
+
1
−
9
View file @
fe8ce9b7
...
...
@@ -477,14 +477,6 @@ module Homebrew
[
user
,
repo
]
end
GNOME_DEVEL_ALLOWLIST
=
{
"libart"
=>
"2.3"
,
"gtk-mac-integration"
=>
"2.1"
,
"gtk-doc"
=>
"1.31"
,
"gcab"
=>
"1.3"
,
"libepoxy"
=>
"1.5"
,
}.
freeze
def
audit_specs
problem
"Head-only (no stable download)"
if
head_only?
(
formula
)
...
...
@@ -554,7 +546,7 @@ module Homebrew
problem
"Stable version URLs should not contain
#{
matched
}
"
when
%r{download
\.
gnome
\.
org/sources}
,
%r{ftp
\.
gnome
\.
org/pub/GNOME/sources}i
version_prefix
=
stable
.
version
.
major_minor
return
if
GNOME_DEVEL_ALLOWLIST
[
formula
.
name
]
==
version_prefix
return
if
tap_audit_exception
:gnome_devel_allowlist
,
formula
.
name
,
version_prefix
return
if
stable_url_version
<
Version
.
create
(
"1.0"
)
return
if
stable_url_minor_version
.
even?
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/test/dev-cmd/audit_spec.rb
+
0
−
2
View file @
fe8ce9b7
...
...
@@ -1009,7 +1009,5 @@ module Homebrew
expect
(
fa
.
problems
).
to
be_empty
end
end
include_examples
"formulae exist"
,
described_class
::
GNOME_DEVEL_ALLOWLIST
.
keys
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment