X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=katie;h=7decb53a352e7f4365b6ce1dde7d773775436d3c;hb=bce58243846a5683b77f586c7210723b47227a60;hp=ca28f4019aefc85711a3d2c6ad33cbdc19de043c;hpb=fd89a228fe5c212db66b02a1550fc1b1b6aa3e98;p=dak.git diff --git a/katie b/katie index ca28f401..7decb53a 100755 --- a/katie +++ b/katie @@ -2,7 +2,7 @@ # Installs Debian packages # Copyright (C) 2000, 2001 James Troup -# $Id: katie,v 1.65 2001-11-19 02:02:53 troup Exp $ +# $Id: katie,v 1.68 2002-01-28 18:53:01 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ # Originally based almost entirely on dinstall by Guy Maor -######################################################################################### +############################################################################### # Cartman: "I'm trying to make the best of a bad situation, I don't # need to hear crap from a bunch of hippy freaks living in @@ -30,7 +30,7 @@ # # Cartman: "uhh.. screw you guys... home." -######################################################################################### +############################################################################### import FCNTL, commands, fcntl, getopt, gzip, os, pg, pwd, re, shutil, stat, string, sys, tempfile, time, traceback import apt_inst, apt_pkg @@ -70,7 +70,7 @@ orig_tar_location = ""; legacy_source_untouchable = {}; Subst = {}; nmu = None; -katie_version = "$Revision: 1.65 $"; +katie_version = "$Revision: 1.68 $"; ############################################################################### @@ -99,7 +99,7 @@ def init(): return changes_files; -######################################################################################### +############################################################################### def usage (exit_code=0): print """Usage: dinstall [OPTION]... [CHANGES]... @@ -811,6 +811,8 @@ def update_subst (changes_filename): Subst["__MAINTAINER_FROM__"] = changes["maintainer822"]; Subst["__MAINTAINER_TO__"] = changes["maintainer822"]; Subst["__MAINTAINER__"] = changes.get("maintainer", "Unknown"); + if Cnf.has_key("Dinstall::TrackingServer") and changes.has_key("source"): + Subst["__MAINTAINER_TO__"] = Subst["__MAINTAINER_TO__"] + "\nBcc: %s@%s" % (changes.get("source"), Cnf["Dinstall::TrackingServer"]) Subst["__REJECT_MESSAGE__"] = reject_message; Subst["__SOURCE__"] = changes.get("source", "Unknown"); @@ -914,7 +916,7 @@ def action (changes_filename): elif answer == 'Q': sys.exit(0) -##################################################################################################################### +############################################################################### def install (changes_filename, summary, short_summary): global install_count, install_bytes, Subst; @@ -1063,7 +1065,7 @@ def install (changes_filename, summary, short_summary): announce (short_summary, 1) check_override (); -##################################################################################################################### +################################################################################ def stable_install (changes_filename, summary, short_summary): global install_count, install_bytes, Subst; @@ -1257,6 +1259,8 @@ def acknowledge_new (changes_filename, summary): changes_filename = os.path.basename(changes_filename); + Logger.log(["new",changes_filename]); + new_ack_new[changes_filename] = 1; if new_ack_old.has_key(changes_filename):