Audit check for gnome unstable as stable
This commit is contained in:
parent
aec2f01a55
commit
165b47c0e6
@ -378,6 +378,15 @@ class FormulaAuditor
|
||||
problem "stable and devel versions are identical"
|
||||
end
|
||||
end
|
||||
|
||||
stable = formula.stable
|
||||
if stable && stable.url =~ /#{Regexp.escape("ftp.gnome.org/pub/GNOME/sources")}/i
|
||||
minor_version = stable.version.to_s[/\d\.(\d+)/, 1].to_i
|
||||
|
||||
if minor_version.odd?
|
||||
problem "#{stable.version} is a development release"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def audit_patches
|
||||
|
Loading…
x
Reference in New Issue
Block a user