[dak/master] disable contents storage for now
Signed-off-by: Mark Hymers <mhy@debian.org>
---
daklib/binary.py | 3 ++-
daklib/queue.py | 11 ++++++-----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/daklib/binary.py b/daklib/binary.py
index 0a27f95..97e3ec0 100755
--- a/daklib/binary.py
+++ b/daklib/binary.py
@@ -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)
diff --git a/daklib/queue.py b/daklib/queue.py
index 9bc7553..aca1b8a 100755
--- a/daklib/queue.py
+++ b/daklib/queue.py
@@ -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]
--
1.5.6.5
Reply to: