Bug#886688: packages.debian.org: Add ia64 from debian-ports

2018-01-08 Thread James Clarke
Package: www.debian.org
Tags: patch
User: www.debian@packages.debian.org
Usertag: packages
User: debian-i...@lists.debian.org
Usertag: ia64
X-Debbugs-Cc: debian-i...@lists.debian.org

Hi,
Within debian-ports we have readded ia64 for sid/experimental and have
started bootstrapping, with automated builds hopefully starting within a
few days once we have uploaded the few remaining packages for the base
chroot. The attached untested patch should hopefully make
packages.debian.org aware of its existence; the extra code is because
ia64 still exists on ftp-master for wheezy.

Thanks,
James
>From e3e077a71660ed8029d52510361485ade7cf Mon Sep 17 00:00:00 2001
From: James Clarke <jrt...@jrtc27.com>
Date: Mon, 8 Jan 2018 15:21:33 +
Subject: [PATCH] Add ia64 from debian-ports

---
 bin/parse-contents | 8 +---
 config.sh.sed.in   | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/bin/parse-contents b/bin/parse-contents
index f228e0d..19b405d 100755
--- a/bin/parse-contents
+++ b/bin/parse-contents
@@ -51,9 +51,11 @@ my @sections = @SECTIONS;
 # Add empty section, need to search Contents directly at dist root, for 
debports compat
 push(@sections, "");
 
-my %debports_hash;
+my %debports_arch_hash;
 # copy from config.sh ${arch_debports}
-@debports_hash{qw( alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 )} = ();
+@debports_arch_hash{qw( alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 )} = 
();
+my %debports_suite_hash;
+@debports_suite_hash{qw( sid unstable experimental rc-buggy )} = ();
 
 $DBDIR .= "/contents";
 mkdirp( $DBDIR );
@@ -173,7 +175,7 @@ for my $suite (@suites) {
 
activate($filelist_db);
#FIXME: hardcoded archs. (debports has no contrib/non-free)
-   if (not exists $debports_hash{$arch}) {
+   if (not exists $debports_arch_hash{$arch} or not exists 
$debports_suite_hash{$suite}) {
system("ln", "-sf", basename($filelist_db),
   "$DBDIR/filelists_${suite}_all.db") == 0
   or die "Oops";
diff --git a/config.sh.sed.in b/config.sh.sed.in
index c88bbb6..45b4f4f 100644
--- a/config.sh.sed.in
+++ b/config.sh.sed.in
@@ -67,7 +67,7 @@ ext_stretch=gz
 # Refresh this architecture list using this command:
 # wget -qO - 
http://ftp.ports.debian.org/debian-ports/dists/{sid,experimental}/Release | sed 
-n 's/Architectures: //p' | tr ' ' '\n' | sort -u
 # Please remember to also update the architecture list in bin/parse-contents
-arch_debports="alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32"
+arch_debports="alpha hppa ia64 m68k powerpcspe ppc64 sh4 sparc64 x32"
 
 # Miscellaneous
 #
-- 
2.15.1



packages.d.o broken

2016-04-24 Thread James Clarke
Hi,
It seems packages.d.o is quite broken. 213.165.95.4 is fine, but 5.153.231.3 is
only aware of experimental binary packages, as can be seen in the following
screenshots:

https://dl.dropboxusercontent.com/u/2042276/Screenshots/5badc42c3cf79b006dac55b23f7cb5462ed62cf4.png
https://dl.dropboxusercontent.com/u/2042276/Screenshots/cbfea15c7209eb020707a7701f8663a3c335fdaa.png

Regards,
James



signature.asc
Description: Message signed with OpenPGP using GPGMail