Control: tags -1 patch On Fri, 16 Sep 2016 12:41:02 +0800 Paul Wise <[email protected]> wrote: > Package: ftp.debian.org > Severity: wishlist > > Please enable pdiffs for the Debian debug archive. The number of > packages in the debug archive has increased a lot since it was created > and the Packages file for amd64 is now about 2MB. Enabling pdiffs would > help folks who have small quotas or slow connections to use the debug > archive. The debug archive already has debdelta support for reducing > download sizes of binary packages. > > -- > bye, > pabs > > https://wiki.debian.org/PaulWise
Hi, I have created a patch, which is available on respighi.debian.org in ~nthykier/dak in the branch pdiffs-for-debug. The commit is signed by my key. I have also attached the patch as generated by format-patch to make the patch reviewable by non-DDs. That said, I recommend the git repo for merging as it is signed. Thanks, ~Niels
>From 9755ec4b44cf96f22a2e7a02f7fa140a3bbbba05 Mon Sep 17 00:00:00 2001 From: Niels Thykier <[email protected]> Date: Fri, 21 Apr 2017 09:36:43 +0000 Subject: [PATCH] generate-index-diffs+dak.conf: Also add pdiffs for debian-debug Signed-off-by: Niels Thykier <[email protected]> --- config/debian/dak.conf | 2 +- dak/generate_index_diffs.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/debian/dak.conf b/config/debian/dak.conf index 4fa828e568..2a9fc633f7 100644 --- a/config/debian/dak.conf +++ b/config/debian/dak.conf @@ -39,7 +39,7 @@ Generate-Index-Diffs { Options { - Archive "ftp-master"; + Archive "ftp-master,debian-debug"; TempDir "/srv/ftp-master.debian.org/tiffani"; MaxDiffs { Default 56; }; }; diff --git a/dak/generate_index_diffs.py b/dak/generate_index_diffs.py index 06d6a21abc..25b370f563 100755 --- a/dak/generate_index_diffs.py +++ b/dak/generate_index_diffs.py @@ -378,7 +378,8 @@ def main(): if not suites: query = session.query(Suite.suite_name) if Options.get('Archive'): - query = query.join(Suite.archive).filter(Archive.archive_name == Options['Archive']) + archives = [a.strip() for a in Options['Archive'].split(',')] + query = query.join(Suite.archive).filter(Archive.archive_name.in_(archives)) suites = [ s.suite_name for s in query ] for suitename in suites: -- 2.11.0

