summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-25 12:31:59 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-25 12:31:59 +0100
commitaabc6c81f1f58d3220bf37bf4a472db2b697a840 (patch)
tree20378daefe54ab271191858cb8b07d4f611c3b92
parent38ec5f32fa14899c8b9740edcbdfa9ff64d12db6 (diff)
downloadjenkins.debian.net-aabc6c81f1f58d3220bf37bf4a472db2b697a840.tar.xz
reproducible: really list all source packages in use
-rwxr-xr-xbin/reproducible_html_repo_stats.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh
index c8ef5688..da0583ca 100755
--- a/bin/reproducible_html_repo_stats.sh
+++ b/bin/reproducible_html_repo_stats.sh
@@ -15,17 +15,18 @@ init_html
VIEW=repo_stats
PAGE=index_${VIEW}.html
-echo "$(date) - starting to write $PAGE page."
-write_page_header $VIEW "Overview of ${SPOKENTARGET[$VIEW]}"
TMPFILE=$(mktemp)
-curl http://reproducible.alioth.debian.org/debian/Packages > $TMPFILE
+echo "$(date) - starting to write $PAGE page."
+write_page_header $VIEW "Overview of ${SPOKENTARGET[$VIEW]}"
write_page "<p>These source packages are different from sid in our apt repository on alioth. They are available for <a href=\"https://wiki.debian.org/ReproducibleBuilds/ExperimentalToolchain#Usage_example\">testing using these sources.lists</a> entries:<pre>"
write_page "deb http://reproducible.alioth.debian.org/debian/ ./"
write_page "deb-src http://reproducible.alioth.debian.org/debian/ ./"
write_page "</pre></p>"
write_page "<p><table><tr><th>source package</th><th>version in our repo</th><th>version in sid</th><th>old versions in our repo<br />(needed for reproducing old builds)</th><th>version in experimental</br />(not relevant for reproducible.debian.net <em>yet</em>)</tr>"
-SOURCES=$(grep-dctrl -n -s source -FArchitecture amd64 -o -FArchitecture all $TMPFILE | sort -u)
+
+curl http://reproducible.alioth.debian.org/debian/Sources > $TMPFILE
+SOURCES=$(grep-dctrl -n -s Package -r -FPackage . $TMPFILE | sort -u)
for PKG in $SOURCES ; do
write_page "<tr><td>$PKG</td>"
VERSIONS=$(grep-dctrl -n -s version -S $PKG $TMPFILE|sort -u)