[Reproducible-commits] [misc] 04/04: clean-notes: add a "now-fixed" fixed feature, defaulting to disable to quite the script a bit.

Mattia Rizzolo mattia at mapreri.org
Thu Jun 4 02:21:25 UTC 2015


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

mapreri-guest pushed a commit to branch master
in repository misc.

commit 203bfc8a03a5ebffbff4f73589e9056902046b9b
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Thu Jun 4 03:10:58 2015 +0200

    clean-notes: add a "now-fixed" fixed feature, defaulting to disable to quite the script a bit.
---
 clean-notes | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/clean-notes b/clean-notes
index 78edc9c..6fcdd1d 100755
--- a/clean-notes
+++ b/clean-notes
@@ -32,6 +32,7 @@ description = """Housekeep the packages.yml file from the notes.git repository.
 This script is also able to show you other information:
 * missing-version: list notes without version
 * fixed-magically: list notes which version is marked as reproducible
+* now fixed: list notes of package where a greater version is reproducible
 * new-tested-version: there is a new version tested in jenkins, but the package
   is not reproducible anyway...
 * missing-usertagged: list usertagged bugs but not listed in the notes
@@ -63,6 +64,7 @@ if __name__ == '__main__':
         'missing-version',
         'missing-usertagged',
         'not-usertagged',
+        'now-fixed',
         ]
     args.disable.extend(disabled_features)
     for feature in args.enable:
@@ -260,6 +262,7 @@ def find_old_notes(testedpkgs, notes):
             print("The package " + pkg + " has a note for the version " +
                   item['version'] + " but that version is reproducible")
         if item['status'] == 'reproducible' and notes[pkg].get('version') and \
+            'now-fixed' not in args.disable and \
             version_compare(str(item['version']),
                                     str(notes[pkg]['version'])) > 0:
             print("The package " + pkg +

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