Audit: stop warning about Github .patch URLs
These no longer have a git version appended; e.g.:
ddb966061f.patch
This commit is contained in:
parent
ff11789933
commit
ce6885e784
@ -379,8 +379,6 @@ class FormulaAuditor
|
|||||||
problem "Patches from MacPorts Trac should be https://, not http:\n#{patch.url}"
|
problem "Patches from MacPorts Trac should be https://, not http:\n#{patch.url}"
|
||||||
when %r[^http://bugs\.debian\.org]
|
when %r[^http://bugs\.debian\.org]
|
||||||
problem "Patches from Debian should be https://, not http:\n#{patch.url}"
|
problem "Patches from Debian should be https://, not http:\n#{patch.url}"
|
||||||
when %r[^https?://github\.com/.*commit.*\.patch$]
|
|
||||||
problem "GitHub appends a git version to patches; use .diff instead."
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user