2006-06-11 James Troup <james@nocrew.org>
+ * dak/override.py (main): temporarily add content of old X-Katie
+ header back as the PTS apparently filters on it.
+ * dak/process_accepted.py (main): likewise.
+ * dak/process_new.py (main): likewise.
+ * dak/process_unchecked.py (main): likewise.
+ * dak/reject_proposed_updates.py (main): likewise.
+ * dak/rm.py (main): likewise.
+ * daklib/queue.py (Upload.do_reject): likewise.
+
* config/debian/cron.unchecked: set -u to error out on undefined
variables. Preset LOCKDAILY to "" accordingly.
* config/debian/cron.hourly: likewise.
user back to list of known users as it's non-trivial to entirely
change the owner of a database with postgresql 7.4.
- * dak/daklib/queue.py (Upload.source_exists): use string object
+ * daklib/queue.py (Upload.source_exists): use string object
methods rather than string module.
(Upload.get_anyversion): likewise.
- * dak/daklib/utils.py (validate_changes_file_arg): update filename
+ * daklib/utils.py (validate_changes_file_arg): update filename
slicing to cope with new .dak filenames.
* dak/ls.py (main): add back 'heidi' as a valid argument for
Subst["__BCC__"] = "Bcc: " + ", ".join(bcc)
else:
Subst["__BCC__"] = "X-Filler: 42"
- Subst["__CC__"] = "X-DAK: dak override"
+ Subst["__CC__"] = "X-DAK: dak override\nX-Katie: alicia $Revision: 1.6$"
Subst["__ADMIN_ADDRESS__"] = Cnf["Dinstall::MyAdminAddress"]
Subst["__DISTRO__"] = Cnf["Dinstall::MyDistribution"]
Subst["__WHOAMI__"] = daklib.utils.whoami()
Urgency_Logger = Urgency_Log(Cnf)
# Initialize the substitution template mapping global
- bcc = "X-DAK: dak process-accepted\nX-Katie: this header is obsolete"
+ bcc = "X-DAK: dak process-accepted\nX-Katie: $Revision: 1.18 $"
if Cnf.has_key("Dinstall::Bcc"):
Subst["__BCC__"] = bcc + "\nBcc: %s" % (Cnf["Dinstall::Bcc"])
else:
# Kill me now? **FIXME**
Cnf["Dinstall::Options::No-Mail"] = ""
- bcc = "X-DAK: dak process-new\nX-Katie: this header is obsolete"
+ bcc = "X-DAK: dak process-new\nX-Katie: lisa $Revision: 1.31 $"
if Cnf.has_key("Dinstall::Bcc"):
Upload.Subst["__BCC__"] = bcc + "\nBcc: %s" % (Cnf["Dinstall::Bcc"])
else:
Logger = Upload.Logger = daklib.logging.Logger(Cnf, "process-unchecked")
# debian-{devel-,}-changes@lists.debian.org toggles writes access based on this header
- bcc = "X-DAK: dak process-unchecked\nX-Katie: this header is obsolete"
+ bcc = "X-DAK: dak process-unchecked\nX-Katie: $Revision: 1.65 $"
if Cnf.has_key("Dinstall::Bcc"):
Upload.Subst["__BCC__"] = bcc + "\nBcc: %s" % (Cnf["Dinstall::Bcc"])
else:
Upload = daklib.queue.Upload(Cnf)
Logger = Upload.Logger = daklib.logging.Logger(Cnf, "reject-proposed-updates")
- bcc = "X-DAK: dak rejected-proposed-updates\nX-Katie: this header is obsolete"
+ bcc = "X-DAK: dak rejected-proposed-updates\nX-Katie: lauren $Revision: 1.4 $"
if Cnf.has_key("Dinstall::Bcc"):
Upload.Subst["__BCC__"] = bcc + "\nBcc: %s" % (Cnf["Dinstall::Bcc"])
else:
Subst["__BCC__"] = "Bcc: " + ", ".join(bcc)
else:
Subst["__BCC__"] = "X-Filler: 42"
- Subst["__CC__"] = "X-DAK: dak rm\nX-Katie: this header is obsolete"
+ Subst["__CC__"] = "X-DAK: dak rm\nX-Katie: melanie $Revision: 1.44 $"
if carbon_copy:
Subst["__CC__"] += "\nCc: " + ", ".join(carbon_copy)
Subst["__SUITE_LIST__"] = suites_list
if not manual:
Subst["__REJECTOR_ADDRESS__"] = Cnf["Dinstall::MyEmailAddress"]
Subst["__MANUAL_REJECT_MESSAGE__"] = ""
- Subst["__CC__"] = "X-DAK-Rejection: automatic (moo)"
+ Subst["__CC__"] = "X-DAK-Rejection: automatic (moo)\nX-Katie-Rejection: automatic (moo)"
os.write(reason_fd, reject_message)
reject_mail_message = utils.TemplateSubst(Subst,Cnf["Dir::Templates"]+"/dak.rejected")
else: