Hello community,
here is the log from the commit of package openSUSE-release-tools for
openSUSE:Factory checked in at 2019-09-13 14:58:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Fri Sep 13 14:58:09 2019 rev:217 rq:730094 version:20190911.d06fa8af
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2019-09-11 10:33:27.987329796 +0200
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.7948/openSUSE-release-tools.changes
2019-09-13 14:58:17.973277188 +0200
@@ -1,0 +2,20 @@
+Wed Sep 11 10:48:09 UTC 2019 - [email protected]
+
+- Update to version 20190911.d06fa8af:
+ * build fail reminder: change mail address
+
+-------------------------------------------------------------------
+Tue Sep 10 14:33:33 UTC 2019 - [email protected]
+
+- Update to version 20190910.9e21e757:
+ * check_source: We need to use the user supplied REs to check if one of
those match the list of entries we want to check
+
+-------------------------------------------------------------------
+Mon Sep 09 22:29:28 UTC 2019 - [email protected]
+
+- Update to version 20190909.514a0f5e:
+ * check_source: check_action_delete_repository(): simplify decline message.
+ * check_source: check_action_delete_repository(): gate behind
conf.mail-release-list.
+ * Fix for python 3.6
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20190909.2ca2925a.obscpio
New:
----
openSUSE-release-tools-20190911.d06fa8af.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.6kmVCt/_old 2019-09-13 14:58:18.641277216 +0200
+++ /var/tmp/diff_new_pack.6kmVCt/_new 2019-09-13 14:58:18.645277216 +0200
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20190909.2ca2925a
+Version: 20190911.d06fa8af
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.6kmVCt/_old 2019-09-13 14:58:18.673277217 +0200
+++ /var/tmp/diff_new_pack.6kmVCt/_new 2019-09-13 14:58:18.673277217 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
- <param
name="changesrevision">ff5efd108d227e7719f676ac6a8681c211e9f31a</param>
+ <param
name="changesrevision">f30964b69c48d26cc05086784532ff509e058ac0</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20190909.2ca2925a.obscpio ->
openSUSE-release-tools-20190911.d06fa8af.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190909.2ca2925a/check_source.py
new/openSUSE-release-tools-20190911.d06fa8af/check_source.py
--- old/openSUSE-release-tools-20190909.2ca2925a/check_source.py
2019-09-09 23:07:44.000000000 +0200
+++ new/openSUSE-release-tools-20190911.d06fa8af/check_source.py
2019-09-11 12:46:39.000000000 +0200
@@ -48,6 +48,7 @@
self.in_air_rename_allow =
str2bool(config.get('check-source-in-air-rename-allow', 'False'))
self.add_review_team =
str2bool(config.get('check-source-add-review-team', 'True'))
self.review_team = config.get('review-team')
+ self.mail_release_list = config.get('mail-release-list')
self.staging_group = config.get('staging-group')
self.repo_checker = config.get('repo-checker')
self.devel_whitelist = config.get('devel-whitelist', '').split()
@@ -206,17 +207,27 @@
return True
- def suppresses_whitelist_warnings( self, source_project, source_package):
+ def suppresses_whitelist_warnings( self, source_project, source_package ):
# checks if there's a rpmlintrc that suppresses warnings that we check
found_entries = set()
contents = source_file_load(self.apiurl, source_project,
source_package, source_package+'-rpmlintrc')
if contents:
+ contents = re.sub(r'(?m)^ *#.*\n?', '', contents)
matches = re.findall(r'addFilter\(["\']([^"\']+)["\']\)', contents)
+ # this is a bit tricky. Since users can specify arbitrary regular
expresions it's not easy
+ # to match bad_rpmlint_entries against what we found
for entry in self.bad_rpmlint_entries:
for match in matches:
- if match.startswith(entry):
- self.logger.info(f'found suppressed whitelist warning:
{entry}')
- found_entries.add(entry)
+ # First we try to see if our entries appear verbatim in
the rpmlint entries
+ if entry in match:
+ self.logger.info(f'found suppressed whitelist warning:
{match}')
+ found_entries.add(match)
+ # if that's not the case then we check if one of the
entries in the rpmlint file would match one
+ # of our entries (e.g. addFilter(".*")
+ elif re.search(match, entry) and match not in
found_entries:
+ self.logger.info(f'found rpmlint entry that suppresses
an important warning: {match}')
+ found_entries.add(match)
+
return found_entries
def has_whitelist_warnings( self, source_project, source_package,
target_project, target_package ):
@@ -355,11 +366,11 @@
return False
def check_action_delete_repository(self, request, action):
- if action.tgt_project.startswith('openSUSE:'):
- self.review_messages['declined'] = 'The repositories in the
openSUSE:* namespace ' \
- 'are managed by the Release Managers. For suggesting changes,
send a mail ' \
- 'to [email protected] with an explanation of
why the change ' \
- 'makes sense.'
+ self.target_project_config(action.tgt_project)
+
+ if self.mail_release_list:
+ self.review_messages['declined'] = 'Deleting repositories is not
allowed. ' \
+ 'Contact {} to discuss further.'.format(self.mail_release_list)
return False
self.review_messages['accepted'] = 'unhandled: removing repository'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190909.2ca2925a/gocd/build-fail-reminder.gocd.yaml
new/openSUSE-release-tools-20190911.d06fa8af/gocd/build-fail-reminder.gocd.yaml
---
old/openSUSE-release-tools-20190909.2ca2925a/gocd/build-fail-reminder.gocd.yaml
2019-09-09 23:07:44.000000000 +0200
+++
new/openSUSE-release-tools-20190911.d06fa8af/gocd/build-fail-reminder.gocd.yaml
2019-09-11 12:46:39.000000000 +0200
@@ -35,4 +35,4 @@
resources:
- staging-bot
tasks:
- - script: ./build-fail-reminder.py --sender="Ludwig Nussel
<[email protected]>" --project=openSUSE:Leap:15.2 --relay=relay.suse.de
--json=/home/go/config/openSUSE:Leap:15.2.reminded.json --debug
+ - script: ./build-fail-reminder.py --sender="Ludwig Nussel
<[email protected]>" --project=openSUSE:Leap:15.2 --relay=relay.suse.de
--json=/home/go/config/openSUSE:Leap:15.2.reminded.json --debug
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190909.2ca2925a/osclib/git.py
new/openSUSE-release-tools-20190911.d06fa8af/osclib/git.py
--- old/openSUSE-release-tools-20190909.2ca2925a/osclib/git.py 2019-09-09
23:07:44.000000000 +0200
+++ new/openSUSE-release-tools-20190911.d06fa8af/osclib/git.py 2019-09-11
12:46:39.000000000 +0200
@@ -9,7 +9,7 @@
ret = subprocess.run(
['git', 'show', '--no-patch', '--date=short', '--format=%cd.%h'],
- capture_output=True, text=True)
+ stdin=subprocess.PIPE, stdout=subprocess.PIPE, universal_newlines=True)
if directory:
os.chdir(cwd)
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.6kmVCt/_old 2019-09-13 14:58:19.113277236 +0200
+++ /var/tmp/diff_new_pack.6kmVCt/_new 2019-09-13 14:58:19.117277236 +0200
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20190909.2ca2925a
-mtime: 1568063264
-commit: 2ca2925a583bed087830bb5382d38587a84c46c5
+version: 20190911.d06fa8af
+mtime: 1568198799
+commit: d06fa8afb3cacc877feaf99e1698afdc363910ee