[misc] 01/01: remote.py (edit-notes): s/testing/stretch/ + amd64 only the dodgiest method
Chris West
faux-guest at moszumanska.debian.org
Sun Jun 18 09:11:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
faux-guest pushed a commit to branch master
in repository misc.
commit d08287e3e986297f6db2d6e8dc8abd5a82193d65
Author: Chris West (Faux) <git at goeswhere.com>
Date: Sun Jun 18 10:11:24 2017 +0100
remote.py (edit-notes): s/testing/stretch/ + amd64 only the dodgiest method
---
rblib/remote.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/rblib/remote.py b/rblib/remote.py
index aaaad16..7ebc2e1 100644
--- a/rblib/remote.py
+++ b/rblib/remote.py
@@ -54,6 +54,11 @@ def load_reproducible_status():
for item in rstatus:
pkg = item['package']
version = str(item['version'])
+
+ # :(
+ if item['architecture'] != 'amd64':
+ continue
+
# feed status with the unstable value, if available, otherwise prefer
# testing and then experimental
try:
@@ -63,7 +68,7 @@ def load_reproducible_status():
status[pkg]['version'] = version # is better
status[pkg]['suite'] = item['suite']
status[pkg]['status'] = item['status']
- elif status[pkg]['suite'] == 'testing' and \
+ elif status[pkg]['suite'] == 'stretch' and \
item['suite'] != 'experimental':
status[pkg]['version'] = version
status[pkg]['suite'] = item['suite']
--
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