From 8e12b3256ebf21e07c6edeb296f5c3ccc848a661 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Mon, 26 Oct 2009 19:05:43 +0000 Subject: [PATCH] disable contents storage for now Signed-off-by: Mark Hymers --- 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 0a27f95e..97e3ec0d 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 9bc75531..aca1b8a0 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] -- 2.39.2