more whitelist
This commit is contained in:
@@ -24,7 +24,6 @@ def _checker_check_dups(self, project, opts):
|
||||
package = target.attrib['package']
|
||||
if rqs.has_key(type + package):
|
||||
[oldid, oldsource] = rqs[type + package]
|
||||
print(oldid, id)
|
||||
assert oldid < id
|
||||
if source != None and oldsource != None:
|
||||
if (source.attrib['project'] == oldsource.attrib['project'] and
|
||||
|
@@ -396,6 +396,7 @@ def _check_repo_group(self, id, reqs, opts):
|
||||
smissing = []
|
||||
for package in p.missings:
|
||||
alreadyin=False
|
||||
print package, packs
|
||||
for t in packs:
|
||||
if package == t.tpackage: alreadyin=True
|
||||
if alreadyin:
|
||||
|
@@ -11,7 +11,7 @@ def _find_legals(self, package, opts):
|
||||
if factory_time > queue_time:
|
||||
queue_time = factory_time
|
||||
queue_who = factory_who
|
||||
print(package, queue_who, queue_time, version_updates)
|
||||
#print("F", package, queue_who, queue_time, version_updates)
|
||||
return queue_time, version_updates
|
||||
|
||||
def _find_legal_get_versions_update(self, review):
|
||||
@@ -90,6 +90,7 @@ def do_find_legals(self, subcmd, opts, *args):
|
||||
lastreview, lastupdate = self._find_legals(p, opts)
|
||||
packages.append((p, lastreview, lastupdate))
|
||||
packages = sorted(packages, cmp=_find_legal_cmp)
|
||||
print("ORDER")
|
||||
for p in packages:
|
||||
update = 'never'
|
||||
if p[2]:
|
||||
|
@@ -24,7 +24,7 @@ for my $pdir (glob("$dir/*")) {
|
||||
if (! -f "$pdir/rpmlint.log") {
|
||||
print "Couldn't find a rpmlint.log in the build results in $pdir. This is mandatory\n";
|
||||
my $name = basename($pdir);
|
||||
if ($name eq "rpm" || $name eq "rpm-python" || $name eq "popt") {
|
||||
if ($name eq "rpm" || $name eq "rpm-python" || $name eq "popt" || $name eq "rpmlint" ) {
|
||||
print "ignoring - whitelist\n";
|
||||
} else {
|
||||
$ret = 1;
|
||||
@@ -142,6 +142,7 @@ sub write_package($$)
|
||||
next if ($prv =~ m/^rpmlib/);
|
||||
next if ($name eq "libqmmp0-plugin-mplayer" && $prv eq "/usr/bin/mplayer");
|
||||
next if ($name eq "systemd-mini" && $prv eq "this-is-only-for-build-envs");
|
||||
next if ($name eq "build-config" && $prv eq "this-is-only-for-build-envs");
|
||||
$out .= "$prv\n";
|
||||
}
|
||||
$out .= "-Req:\n";
|
||||
|
Reference in New Issue
Block a user