[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777119: vcswatch: should also index contrib and non-free



Package: qa.debian.org
Severity: wishlist
Tags: patch

Hi,

vcswatch seems to only index "main" and not "contrib" and "non-free".
The attached patch just merges the existing two Sources files with those
for "contrib" and "non-free" for "sid" and "experimental", respectively.

I do not think that it is important to distinguish between the component
the source packages come from, for probably similar reasons as no
distinction was done for the suites the source packages come from.

I hope that the attached patch is correct as I had no way to test it.

Thanks!

cheers, josch
Index: data/vcswatch/vcsimport
===================================================================
--- data/vcswatch/vcsimport	(revision 3324)
+++ data/vcswatch/vcsimport	(working copy)
@@ -56,7 +56,12 @@
 	return 0;
 }
 
-my $sources = "zcat /srv/mirrors/debian/dists/sid/main/source/Sources.gz /srv/mirrors/debian/dists/experimental/main/source/Sources.gz |";
+my $sources = "zcat /srv/mirrors/debian/dists/sid/main/source/Sources.gz " .
+                   "/srv/mirrors/debian/dists/experimental/main/source/Sources.gz " .
+                   "/srv/mirrors/debian/dists/sid/contrib/source/Sources.gz " .
+                   "/srv/mirrors/debian/dists/experimental/contrib/source/Sources.gz " .
+                   "/srv/mirrors/debian/dists/sid/non-free/source/Sources.gz " .
+                   "/srv/mirrors/debian/dists/experimental/non-free/source/Sources.gz |";
 my $dir = "/srv/scratch/qa.debian.org/vcswatch";
 
 my $dbh = DBI->connect("dbi:Pg:service=qa", 'qa', '', {AutoCommit => 0, RaiseError => 1});

Reply to: