audit: new formulae should not require patches.
We may under some circumstances accept these anyway but it's better to nudge people into the right behaviours on local `audit`s.
This commit is contained in:
parent
6e1faf5b88
commit
1775c32210
@ -732,7 +732,10 @@ class FormulaAuditor
|
||||
}
|
||||
end
|
||||
|
||||
next if spec.patches.empty?
|
||||
spec.patches.each { |p| patch_problems(p) if p.external? }
|
||||
next unless @new_formula
|
||||
problem "New formulae should not require patches to build. Patches should be submitted and accepted upstream first."
|
||||
end
|
||||
|
||||
%w[Stable Devel].each do |name|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user