q = projectB.query("SELECT package, priority, section, maintainer FROM override WHERE suite = %s AND component = %s AND type = %s" % (suite_id, component_id, type_id));
projectB.query("DELETE FROM override WHERE package = '%s' AND suite = %s AND component = %s AND type = %s" % (package, suite_id, component_id, type_id));
ifi[4]and(i[1]!= i[4] or i[2] != i[5] or i[3] != i[6]):
Logger.log(["syncing override",osuite,component,
type,package,priorities[i[4]],sections[i[5]],
i[6],priorities[i[1]],sections[i[2]],i[3]])
ifnotOptions["No-Action"]:
projectB.query("DELETE FROM override WHERE package = '%s' AND suite = %s AND component = %s AND type = %s" % (package, suite_id, component_id, type_id));
# Then if source doesn'talreadyhaveacopy,insertitintosource
q=projectB.query("SELECT package FROM override WHERE package = '%s' AND suite = %s AND component = %s AND type = %s"%(package,suite_id,component_id,dsc_type_id));
@@ -69,6 +77,8 @@ for i in main contrib non-free main.debian-installer; do cat override.sid.$i >>
# Generate Packages and Sources files
cd$masterdir
apt-ftparchive generate apt.conf
# Generate *.diff/ incremental updates
tiffani
# Generate Release files
ziyi
...
...
@@ -76,12 +86,19 @@ ziyi
rhona
shania
# Needs to be rebuilt, as files have moved. Due to unaccepts, we need to
# update this before wanna-build is updated.
psql projectb -A-t-q-c"SELECT filename FROM accepted_autobuild WHERE suite = 5 AND in_accepted = true AND filename ~ 'd(sc|eb)$'">$dbdir/dists/unstable_accepted.list
q = projectB.query("SELECT DISTINCT b.package FROM bin_associations ba, binaries b, files f, location l WHERE ba.suite = %s AND l.component = %s AND b.type = '%s' AND ba.bin = b.id AND b.file = f.id AND f.location = l.id" % (suite_id, component_id, otype));
elif otype == "dsc":
q = projectB.query("SELECT DISTINCT s.source FROM src_associations sa, source s, files f, location l WHERE sa.suite = %s AND l.component = %s AND sa.source = s.id AND s.file = f.id AND f.location = l.id" % (suite_id, component_id));
print "<hr><p>Hint: Age is the youngest upload of the package, if there is more than one version.</p>"
print "<p>You may want to look at <ahref=\"http://ftp-master.debian.org/REJECT-FAQ.html\">the REJECT-FAQ</a> for possible reasons why one of the above packages may get rejected.</p>"
# propogation would be redundant. no need to reject though.
#self.reject("ignoring versionconflict: %s: old version (%s) in %s <= new version (%s) targeted at %s." % (file, existent_version, suite, new_version, target_suite), "Warning: ");
self.reject("foo","Warning: ")
self.reject("ignoring versionconflict: %s: old version (%s) in %s <= new version (%s) targeted at %s."%(file,existent_version,suite,new_version,target_suite),"Warning: ")