]> git.decadent.org.uk Git - dak.git/commitdiff
disable contents storage for now
authorMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 19:05:43 +0000 (19:05 +0000)
committerMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 19:05:43 +0000 (19:05 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/binary.py
daklib/queue.py

index 0a27f95ed7be821d9ec183b0d77a01fd0e13ba9d..97e3ec0d26bb4d8c7d930555b25c7e2e159707aa 100755 (executable)
@@ -300,7 +300,8 @@ def copy_temporary_contents(package, version, archname, deb, reject, session=Non
         message = utils.TemplateSubst(subst, cnf["Dir::Templates"]+"/missing-contents")
         utils.send_mail(message)
 
-        exists = Binary(deb, reject).scan_package()
+        # Temporarily disable contents storage until we re-do the table layout
+        #exists = Binary(deb, reject).scan_package()
 
     if exists:
         sql = """INSERT INTO content_associations(binary_pkg,filepath,filename)
index 9bc755311af9bc84f1ec54385f3cd25b29c3120f..aca1b8a07f702d9f2756cf70c455031860180fbd 100755 (executable)
@@ -690,11 +690,12 @@ class Upload(object):
         # Check the version and for file overwrites
         self.check_binary_against_db(f, session)
 
-        b = Binary(f)
-        b.scan_package()
-        if len(b.rejects) > 0:
-            for j in b.rejects:
-                self.rejects.append(j)
+        # Temporarily disable contents generation until we change the table storage layout
+        #b = Binary(f)
+        #b.scan_package()
+        #if len(b.rejects) > 0:
+        #    for j in b.rejects:
+        #        self.rejects.append(j)
 
     def source_file_checks(self, f, session):
         entry = self.pkg.files[f]