X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fprocess_accepted.py;h=5e09243ffa545b22f836f9e2fa57191e4cfd31d2;hb=d16e2f9f99f018d3672e77f86a3adf264844590f;hp=a26ce57a4226d1246871c13180eff770658dcaf6;hpb=fc2f0edf2d2bfafd627da4336689d41f064f78f5;p=dak.git diff --git a/dak/process_accepted.py b/dak/process_accepted.py index a26ce57a..5e09243f 100755 --- a/dak/process_accepted.py +++ b/dak/process_accepted.py @@ -276,7 +276,7 @@ def install (): # Check the hashes are all present: HACK: Can go away once all dak files # are known to be newer than the shasum changes - utils.ensure_hashes(Upload) + utils.ensure_hashes(changes, dsc, files, dsc_files) # Add the .dsc file to the DB for file in files.keys(): @@ -353,7 +353,7 @@ def install (): if not files[file].has_key("location id") or not files[file]["location id"]: files[file]["location id"] = database.get_location_id(Cnf["Dir::Pool"],files[file]["component"],utils.where_am_i()) if not files[file].has_key("files id") or not files[file]["files id"]: - files[file]["files id"] = database.set_files_id (filename, files[file]["size"], files[file]["md5sum"], files[file]["location id"]) + files[file]["files id"] = database.set_files_id (filename, files[file]["size"], files[file]["md5sum"], files[file]["sha1sum"], files[file]["sha256sum"], files[file]["location id"]) source_id = database.get_source_id (source, source_version) if source_id: projectB.query("INSERT INTO binaries (package, version, maintainer, source, architecture, file, type, sig_fpr) VALUES ('%s', '%s', %d, %d, %d, %d, '%s', %d)"