]> err.no Git - dak/commitdiff
Removed symlink_dist from dak.py (however, make_suite_file_list still depends
authorMichael Casadevall <sonicmctails@gmail.com>
Tue, 23 Dec 2008 17:49:48 +0000 (12:49 -0500)
committerMichael Casadevall <sonicmctails@gmail.com>
Tue, 23 Dec 2008 17:49:48 +0000 (12:49 -0500)
on it; likely a missing commit there)

Changed process_accepted.py to properly handle cross-component moves.

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
dak/dak.py
dak/process_accepted.py

index 193b465970a210a540c2658715fda01d69b3ad96..9dfd026b162d90e0073c5d93cc1186d5d9b5238c 100755 (executable)
@@ -162,8 +162,6 @@ def init():
          "Split queue/done into a date-based hierarchy"),
         ("stats",
          "Generate statistics"),
-        ("symlink-dists",
-         "Generate compatability symlinks from dists/ into pool/"),
         ]
     return functionality
 
index 6013b18c9b5abec05b868a888c66f10771a8dbb9..0d5a5387e3fbcf556c96872608d93cfc843f9005 100755 (executable)
@@ -408,7 +408,7 @@ def install ():
         if new_files_id == None:
             utils.copy(old_filename, Cnf["Dir::Pool"] + new_filename)
             new_files_id = database.set_files_id(new_filename, file_size, file_md5sum, file_sha1sum, file_sha256sum, dsc_location_id)
-            projectB.query("UPDATE dsc_files SET file = %s WHERE source = %s AND file = %s" % (new_files_id, source_id, orig_tar_id))
+            projectB.query("UPDATE dsc_files SET file = %s WHERE source = %s AND file = %s" % (new_files_id, database.get_source_id(changes["source"], changes["version"]), orig_tar_id))
 
     # Install the files into the pool
     for file in files.keys():