# 3. run dak make-suite-file-list / apt-ftparchve / dak generate-releases
print "Updating file lists for apt-ftparchive..."
spawn("dak make-suite-file-list")
+ spawn("dak generate-filelist")
print "Updating Packages and Sources files..."
- spawn("/org/security.debian.org/dak/config/debian-security/map.sh")
+ spawn("/org/security-master.debian.org/dak/config/debian-security/map.sh")
spawn("apt-ftparchive generate %s" % (utils.which_apt_conf_file()))
print "Updating Release files..."
spawn("dak generate-releases")
if not aborted:
os.unlink(c[:-8]+".dak")
for f in files:
- Upload.projectB.query(
- "DELETE FROM queue_build WHERE filename = '%s'" % (f))
- try:
- os.unlink(f)
- except OSError, e:
- # Make it nicer if you want, for now its pass
- pass
+ session.execute("DELETE FROM queue_build WHERE filename = :filename",
+ {'filename': f})
+ os.unlink(f)
print "Updating buildd information..."
- spawn("/org/security.debian.org/dak/config/debian-security/cron.buildd")
+ spawn("/org/security-master.debian.org/dak/config/debian-security/cron.buildd")
adv_file = "./advisory.%s" % (advisory)
if os.path.exists(adv_file):
o To generate indices files:
- * dak make-suite-file-list - generates file lists for apt-ftparchive
- and removes obsolete packages from
- suites
- * dak dominate - removes obsolete packages from suites
++ * dak dominate - removes obsolete packages from suites
+ * dak generate-filelist - generates file lists for apt-ftparchive
* dak generate-releases - generates Release
o To clean things up: