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:
Mike McQuaid 2017-04-21 13:15:27 +01:00
parent 6e1faf5b88
commit 1775c32210

View File

@ -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|