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
706c007d
Commit
706c007d
authored
8 years ago
by
Dominyk Tiller
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #834 from DomT4/robot-dom
audit: various tweaks
parents
8bb3dda2
8a3a4b83
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Library/Homebrew/cmd/audit.rb
+14
-0
14 additions, 0 deletions
Library/Homebrew/cmd/audit.rb
with
14 additions
and
0 deletions
Library/Homebrew/cmd/audit.rb
+
14
−
0
View file @
706c007d
...
...
@@ -1192,6 +1192,7 @@ class ResourceAuditor
%r{^http://tools
\.
ietf
\.
org/}
,
%r{^http://launchpad
\.
net/}
,
%r{^http://bitbucket
\.
org/}
,
%r{^http://anonscm
\.
debian
\.
org/}
,
%r{^http://cpan
\.
metacpan
\.
org/}
,
%r{^http://hackage
\.
haskell
\.
org/}
,
%r{^http://(?:[^/]*
\.
)?archive
\.
org}
,
...
...
@@ -1202,6 +1203,8 @@ class ResourceAuditor
problem
"
#{
p
}
should be `https://cpan.metacpan.org/
#{
$1
}
`"
when
%r{^(http|ftp)://ftp
\.
gnome
\.
org/pub/gnome/(.*)}i
problem
"
#{
p
}
should be `https://download.gnome.org/
#{
$2
}
`"
when
%r{^git://anonscm
\.
debian
\.
org/users/(.*)}i
problem
"
#{
p
}
should be `https://anonscm.debian.org/git/users/
#{
$1
}
`"
end
end
...
...
@@ -1250,6 +1253,17 @@ class ResourceAuditor
end
end
# Debian has an abundance of secure mirrors. Let's not pluck the insecure
# one out of the grab bag.
urls
.
each
do
|
u
|
next
unless
u
=~
%r{^http://http
\.
debian
\.
net/debian/(.*)}i
problem
<<-
EOS
.
undent
Please use a secure mirror for Debian URLs.
We recommend:
https://mirrors.ocf.berkeley.edu/debian/
#{
$1
}
EOS
end
# Check for Google Code download urls, https:// is preferred
# Intentionally not extending this to SVN repositories due to certificate
# issues.
...
...
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