[Reproducible-commits] [misc] 01/01: clean-notes: guess package version when adding notes for bugs
Mattia Rizzolo
mattia at mapreri.org
Fri Jun 26 10:46:21 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 b5b98326669328d519c50bbcb7b2f123482681d8
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Fri Jun 26 10:46:13 2015 +0000
clean-notes: guess package version when adding notes for bugs
---
clean-notes | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/clean-notes b/clean-notes
index fc0c087..36f331a 100755
--- a/clean-notes
+++ b/clean-notes
@@ -302,7 +302,7 @@ def is_virtual_package(package):
def get_bugs():
query = 'SELECT * FROM bugs_usertags ' + \
- 'WHERE email="reproducible-builds at lists.alioth.debian.org"'
+ "WHERE email='reproducible-builds at lists.alioth.debian.org'"
rows = query_udd(query)
# returns a list of tuples (email, tag, id)
bugs = {}
@@ -378,6 +378,8 @@ def join_notes_bugs(notes, bugs):
str(package) + " is not listed in notes.git.")
notes[package] = {}
notes[package]['bugs'] = [bug]
+ # just try guessing the version (prefers unstable)
+ notes[package]['version'] = testedpkgs[package]['version']
return notes
--
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