Source: madison-lite Version: 0.21 Severity: wishlist Tags: sid Dear Maintainer,
Recently I've noticed that experimental repository doesn't contain anymore Sources.gz file and it leads to errors like: """ madison-lite -a source --mirror /root/deb-auto-backports/etc/pkgos/fake-experimental-mirror --suite=experimental python-mock /usr/bin/madison-lite: can't find Sources list file in '/root/deb-auto-backports/etc/pkgos/fake-experimental-mirror/dists/experimental/main/source' /usr/bin/madison-lite: can't find Sources list file in '/root/deb-auto-backports/etc/pkgos/fake-experimental-mirror/dists/experimental/main/source' """ Instead it includes Sources.xz file [1]. Please add XZ support. Here is the patch which you may apply: --- a/madison-lite 2016-08-26 15:31:36.383788387 +0000 +++ b/madison-lite 2016-08-26 15:31:26.639603485 +0000 @@ -252,6 +252,8 @@ return "$filename.gz"; } elsif (-f "$filename.bz2") { return "$filename.bz2"; + } elsif (-f "$filename.xz") { + return "$filename.xz"; } else { return undef; } @@ -269,6 +271,9 @@ } elsif ($filename =~ /\.bz2$/) { open my $fh, "bzcat \Q$filename\E |" or return undef; return $fh; + } elsif ($filename =~ /\.xz$/) { + open my $fh, "xzcat \Q$filename\E |" or return undef; + return $fh; } else { open my $fh, "< $filename" or return undef; return $fh; Thank you for such a great utility! [1] http://httpredir.debian.org/debian/dists/experimental/main/source/
signature.asc
Description: OpenPGP digital signature