[Reproducible-commits] [misc] 01/01: reports: slightly more documentation for get-latest-data

Ximin Luo infinity0 at debian.org
Mon May 16 14:38:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository misc.

commit e040e858a6173dcb171d225a63b252c634ab957f
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon May 16 16:37:53 2016 +0200

    reports: slightly more documentation for get-latest-data
---
 reports/README              | 5 ++++-
 reports/bin/get-latest-data | 6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/reports/README b/reports/README
index beab28d..a3e099a 100644
--- a/reports/README
+++ b/reports/README
@@ -32,7 +32,10 @@ Process
    might give some false positive: packages might have been
    reproducible before, broken by a toolchain upload later fixed.
 
-   One can look at the history of the tests by typing:
+   The get-latest-data script will have already fetched the changelogs
+   for these packages; you can find them in ./changelogs.
+
+   One can also look at the history of the tests by typing:
 
        $ bin/history ghc                # defaults to unstable
        $ bin/history ghc experimental
diff --git a/reports/bin/get-latest-data b/reports/bin/get-latest-data
index 03c6cf8..4e341dd 100755
--- a/reports/bin/get-latest-data
+++ b/reports/bin/get-latest-data
@@ -28,17 +28,17 @@ echo >&2 "Getting data for the period $(date -d@${week_start} +%Y-%m-%d) to $(da
 mkdir -p "data/$week_path"
 (cd "data/$week_path"
 
-# Get latest db
+echo >&2 "- reproducible.db"
 wget -q -N https://reproducible.debian.net/reproducible.db
 
-# Get latest changelogs
+echo >&2 "- changelogs of newly-reproducible packages"
 mkdir -p changelogs
 for url in $("$scriptdir/newly-reproducible" -w "$week" | sed -n -e 's,.*<,,;s,>.*,,p' | sort -u); do
 	p=${url%/*}; p=${p##*/};
 	torsocks wget -q -O changelogs/$p $url || true
 done
 
-# Get latest bugs
+echo >&2 "- bug reports that were modified (via ssh to alioth)"
 echo "SELECT DISTINCT bugs.id FROM bugs_usertags, bugs WHERE email = 'reproducible-builds at lists.alioth.debian.org' AND bugs.id = bugs_usertags.id AND bugs.last_modified > to_timestamp($week_start) AND bugs.last_modified < to_timestamp($week_end) ORDER BY bugs.id;" \
   | ssh alioth.debian.org psql service=udd -t \
   | awk '/[0-9]/ { print $1 }' > bugs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list