]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote-tracking branch 'origin/master'
authorAnsgar Burchardt <ansgar@debian.org>
Mon, 1 Apr 2013 12:16:06 +0000 (14:16 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Mon, 1 Apr 2013 12:16:06 +0000 (14:16 +0200)
config/debian/dinstall.functions
daklib/queue.py [changed mode: 0644->0755]

index 07295697caf4eae3062033aabec1a032e4555630..1ced76028b703c107b19ed6a4028705ef3ca598a 100644 (file)
@@ -385,15 +385,15 @@ function mkfilesindices() {
 }
 
 function mkchecksums() {
-    local archiveroot
+    local archiveroot dsynclist md5list
 
     for archive in "${public_archives[@]}"; do
+        archiveroot="$(get_archiveroot "${archive}")"
         dsynclist=$dbdir/dsync.${archive}.list
-        md5list=$indices/md5sums
+        md5list=${archiveroot}/indices/md5sums
 
         log -n "Creating md5 / dsync index file for ${archive}... "
 
-        archiveroot="$(get_archiveroot "${archive}")"
         cd "$archiveroot"
         ${bindir}/dsync-flist -q generate $dsynclist --exclude $dsynclist --md5
         ${bindir}/dsync-flist -q md5sums $dsynclist | gzip -9n > ${md5list}.gz
old mode 100644 (file)
new mode 100755 (executable)
index f2dc55a..8c30626
@@ -201,7 +201,7 @@ def edit_note(note, upload, session, trainee=False):
 
 # FIXME: Should move into the database
 # suite names DMs can upload to
-dm_suites = ['unstable', 'experimental', 'squeeze-backports']
+dm_suites = ['unstable', 'experimental', 'squeeze-backports','squeeze-backports-sloppy', 'wheezy-backports']
 
 def get_newest_source(source, session):
     'returns the newest DBSource object in dm_suites'