[Reproducible-commits] [misc] 02/02: filter-packages: add new --url option.

Chris Lamb chris at chris-lamb.co.uk
Tue Aug 23 17:50:18 UTC 2016


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

lamby pushed a commit to branch master
in repository misc.

commit 8e771f5559ebd32ef9a427a977efe396b0d700d3
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Aug 23 18:50:08 2016 +0100

    filter-packages: add new --url option.
---
 filter-packages | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/filter-packages b/filter-packages
index 785c7f4..e06ad80 100755
--- a/filter-packages
+++ b/filter-packages
@@ -40,6 +40,8 @@ def main():
         help="only match ftbfs packages")
     parser.add_option('--random', dest='random', type=int, metavar='N',
         help="only print N random packages")
+    parser.add_option('--url', dest='url', action='store_true',
+        help="print url as well as the package name")
 
     options, args = parser.parse_args()
 
@@ -94,6 +96,8 @@ def main():
     for x, y in results:
         print("".join((
             x,
+            " <https://tests.reproducible-builds.org/{}>".format(x) \
+                if options.url else '',
             SHOW.get(options.show, ''),
             y.get(options.show, ''),
         )))

-- 
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