Hello community, here is the log from the commit of package openSUSE-release-tools for openSUSE:Factory checked in at 2019-11-09 23:42:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old) and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools" Sat Nov 9 23:42:34 2019 rev:243 rq:746680 version:20191108.c7e1800d Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes 2019-11-08 15:28:01.399144728 +0100 +++ /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.2990/openSUSE-release-tools.changes 2019-11-09 23:42:38.873501388 +0100 @@ -1,0 +2,12 @@ +Fri Nov 08 19:51:40 UTC 2019 - opensuse-releaset...@opensuse.org + +- Update to version 20191108.c7e1800d: + * origin-manager: indicate the decision may be overridden via command. + +------------------------------------------------------------------- +Fri Nov 08 08:38:58 UTC 2019 - opensuse-releaset...@opensuse.org + +- Update to version 20191108.558e9d65: + * userscript/origin: handle HTTP failure. + +------------------------------------------------------------------- Old: ---- openSUSE-release-tools-20191107.9503a04b.obscpio New: ---- openSUSE-release-tools-20191108.c7e1800d.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSE-release-tools.spec ++++++ --- /var/tmp/diff_new_pack.r5OFHi/_old 2019-11-09 23:42:40.837504262 +0100 +++ /var/tmp/diff_new_pack.r5OFHi/_new 2019-11-09 23:42:40.873504315 +0100 @@ -20,7 +20,7 @@ %define source_dir openSUSE-release-tools %define announcer_filename factory-package-news Name: openSUSE-release-tools -Version: 20191107.9503a04b +Version: 20191108.c7e1800d Release: 0 Summary: Tools to aid in staging and release work for openSUSE/SUSE License: GPL-2.0-or-later AND MIT ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.r5OFHi/_old 2019-11-09 23:42:41.325504977 +0100 +++ /var/tmp/diff_new_pack.r5OFHi/_new 2019-11-09 23:42:41.349505012 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param> - <param name="changesrevision">9503a04b3352e5eacc90c517cd3b00d675fb392b</param> + <param name="changesrevision">c7e1800d3009933937ae104dbe226c23c1543a69</param> </service> </servicedata> ++++++ openSUSE-release-tools-20191107.9503a04b.obscpio -> openSUSE-release-tools-20191108.c7e1800d.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20191107.9503a04b/origin-manager.py new/openSUSE-release-tools-20191108.c7e1800d/origin-manager.py --- old/openSUSE-release-tools-20191107.9503a04b/origin-manager.py 2019-11-07 17:45:08.000000000 +0100 +++ new/openSUSE-release-tools-20191108.c7e1800d/origin-manager.py 2019-11-08 20:49:24.000000000 +0100 @@ -169,6 +169,9 @@ return False, None def policy_result_handle(self, project, package, origin_info_new, origin_info_old, result): + if result.wait and not result.accept: + result.comments.append(f'Decision may be overridden via `@{self.review_user} override`.') + self.policy_result_reviews_add(project, package, result.reviews, origin_info_new, origin_info_old) self.policy_result_comment_add(project, package, result.comments) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20191107.9503a04b/tests/origin_tests.py new/openSUSE-release-tools-20191108.c7e1800d/tests/origin_tests.py --- old/openSUSE-release-tools-20191107.9503a04b/tests/origin_tests.py 2019-11-07 17:45:08.000000000 +0100 +++ new/openSUSE-release-tools-20191108.c7e1800d/tests/origin_tests.py 2019-11-08 20:49:24.000000000 +0100 @@ -142,11 +142,13 @@ '<!-- OriginManager state=seen result=None -->', 'Source not found in allowed origins:', '- fakeProject', + f'Decision may be overridden via `@{self.bot_user} override`.', ] self.assertComment(request.reqid, comment) self.origin_config_write([{'fakeProject': {}}], {'unknown_origin_wait': False}) self.assertReviewBot(request.reqid, self.bot_user, 'new', 'declined', 'review failed') + comment.pop() self.assertComment(request.reqid, comment) def test_devel_only(self): @@ -176,6 +178,7 @@ '<!-- OriginManager state=seen result=None -->', 'Source not found in allowed origins:', f'- {self.product_project}', + f'Decision may be overridden via `@{self.bot_user} override`.', ] self.assertComment(request.reqid, comment) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20191107.9503a04b/userscript/origin.user.js new/openSUSE-release-tools-20191108.c7e1800d/userscript/origin.user.js --- old/openSUSE-release-tools-20191107.9503a04b/userscript/origin.user.js 2019-11-07 17:45:08.000000000 +0100 +++ new/openSUSE-release-tools-20191108.c7e1800d/userscript/origin.user.js 2019-11-08 20:49:24.000000000 +0100 @@ -87,7 +87,7 @@ if (origin.startsWith('OSRT:OriginConfig attribute missing')) { item.innerHTML = ''; } else { - item.innerHTML = '<i class="fas fa-bug text-warning"></i> Origin: failed to load'; + origin_load_fail(item); } } else { var origin_project = origin.trim(); @@ -111,7 +111,14 @@ '<a target="_blank" href="' + url + '">Origin Manager Interface</a>'; element.appendChild(item); } - }}); + }}) + .fail(function() { + origin_load_fail(item); + }); +} + +function origin_load_fail(item) { + item.innerHTML = '<i class="fas fa-bug text-warning"></i> Origin: failed to load'; } function operator_url() { ++++++ openSUSE-release-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.r5OFHi/_old 2019-11-09 23:42:47.049513353 +0100 +++ /var/tmp/diff_new_pack.r5OFHi/_new 2019-11-09 23:42:47.061513371 +0100 @@ -1,5 +1,5 @@ name: openSUSE-release-tools -version: 20191107.9503a04b -mtime: 1573145108 -commit: 9503a04b3352e5eacc90c517cd3b00d675fb392b +version: 20191108.c7e1800d +mtime: 1573242564 +commit: c7e1800d3009933937ae104dbe226c23c1543a69