]> git.decadent.org.uk Git - dak.git/commitdiff
Merge from Thomas
authorJoerg Jaspert <joerg@debian.org>
Wed, 23 Apr 2008 23:22:36 +0000 (01:22 +0200)
committerJoerg Jaspert <joerg@debian.org>
Wed, 23 Apr 2008 23:22:36 +0000 (01:22 +0200)
1  2 
ChangeLog
daklib/queue.py

diff --combined ChangeLog
index 4f72b591b03c7149670fdaf491d3b3fc78a90a48,76f68664701b7a2b09752b362f89fd70e61f4a7c..8aef43b7be077880aecf5b47706292670c2fe960
+++ b/ChangeLog
@@@ -1,3 -1,11 +1,11 @@@
+ 2008-04-23  Thomas Viehmann  <tviehmann@ries.debian.org>
+       * dak/process_unchecked.py: add changes["sponsoremail"]
+         for sponsored uploads if desired
+       * daklib/utils.py: add functions
+         is_email_alias to check which accounts allow email forwarding and
+         which_alias_file to find the alias file
  2008-04-22  Joerg Jaspert  <joerg@debian.org>
  
        * setup/init_pool.sql: added a function/aggregate for the release
@@@ -12,7 -20,7 +20,7 @@@
        dumps, using a scheme to keep more of the recent dumps.
  
        * config/debian/cron.daily: Use the new script. Also - compress
--      all files older than 7 days, instead of 30. 
++      all files older than 7 days, instead of 30.
  
        * dak/process_accepted.py (install): Do not break if a
        source/maintainer combination is already in src_uploaders, "just"
        changes[architecture] has source included.
        (check_transition): Now call the database.get_testing_version
  
 +2008-02-09  Christoph Berg <myon@debian.org>
 +
 +      * daklib/queue.py (get_type): fubar does not exist in global
 +      namespace.
 +
 +      * setup/add_constraints.sql setup/init_pool.sql: Add changedby column
 +      to source table, and move src_uploaders after source so the REFERNCES
 +      clause works.
 +      * dak/process_accepted.py (install): Fill the changedby column from
 +      the information found in the .changes. This will allow to identify
 +      NMUs and sponsored uploads more precisely in tools querying projectb.
 +      * scripts/debian/insert_missing_changedby.py: Script to import yet
 +      missing fields from filippo's uploads-history DB.
 +
  2008-02-06  Joerg Jaspert  <joerg@debian.org>
  
        * daklib/utils.py (check_signature): Make variable key available,
diff --combined daklib/queue.py
index 9fac0cc00b2053e3deb63b7778adff9da48242b3,7b3aba09d080e23f5413492e52f1ee778879b0b7..a5a8eab4a2518e703d3a8c4f9884b588c60b9201
@@@ -106,12 -106,12 +106,12 @@@ def get_type(f)
      elif f["type"] in [ "orig.tar.gz", "orig.tar.bz2", "tar.gz", "tar.bz2", "diff.gz", "diff.bz2", "dsc" ]:
          type = "dsc"
      else:
 -        fubar("invalid type (%s) for new.  Dazed, confused and sure as heck not continuing." % (type))
 +        utils.fubar("invalid type (%s) for new.  Dazed, confused and sure as heck not continuing." % (type))
  
      # Validate the override type
      type_id = database.get_override_type_id(type)
      if type_id == -1:
 -        fubar("invalid type (%s) for new.  Say wha?" % (type))
 +        utils.fubar("invalid type (%s) for new.  Say wha?" % (type))
  
      return type
  
@@@ -279,6 -279,8 +279,8 @@@ class Upload
              Subst["__MAINTAINER_FROM__"] = changes["changedby2047"]
              Subst["__MAINTAINER_TO__"] = "%s, %s" % (changes["changedby2047"],
                                                       changes["maintainer2047"])
+             if "sponsoremail" in changes:
+                 Subst["__MAINTAINER_TO__"] += ", %s"%changes["sponsoremail"]
              Subst["__MAINTAINER__"] = changes.get("changed-by", "Unknown")
          else:
              Subst["__MAINTAINER_FROM__"] = changes["maintainer2047"]