Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-release-tools for
openSUSE:Factory checked in at 2021-01-30 13:56:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Sat Jan 30 13:56:26 2021 rev:303 rq:867743 version:20210122.29b776fd
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2021-01-13 18:35:47.094395710 +0100
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.28504/openSUSE-release-tools.changes
2021-01-30 13:57:33.374354148 +0100
@@ -1,0 +2,25 @@
+Fri Jan 22 13:48:03 UTC 2021 - [email protected]
+
+- Update to version 20210122.29b776fd:
+ * Calculate the i586 DVD as i686 package set
+
+-------------------------------------------------------------------
+Tue Jan 19 17:03:14 UTC 2021 - [email protected]
+
+- Update to version 20210119.d564b3d0:
+ * Accept: Don't crash on actions that aren't submit/delete
+
+-------------------------------------------------------------------
+Tue Jan 19 15:22:57 UTC 2021 - [email protected]
+
+- Update to version 20210119.75c001c9:
+ * pkglistgen: Check the return code of Popen calls
+
+-------------------------------------------------------------------
+Mon Jan 18 15:41:10 UTC 2021 - [email protected]
+
+- Update to version 20210118.bb3c6e1c:
+ * pkglistgen: Allow to set require_all for some groups to disable ignore
+ * Update aggregate.php
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20210106.deab50eb.obscpio
New:
----
openSUSE-release-tools-20210122.29b776fd.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.sIhMj7/_old 2021-01-30 13:57:34.034357255 +0100
+++ /var/tmp/diff_new_pack.sIhMj7/_new 2021-01-30 13:57:34.038357275 +0100
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20210106.deab50eb
+Version: 20210122.29b776fd
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.sIhMj7/_old 2021-01-30 13:57:34.078357462 +0100
+++ /var/tmp/diff_new_pack.sIhMj7/_new 2021-01-30 13:57:34.078357462 +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">fa4f899ff84b10f0782ea5a44e33b917d176addb</param>
+ <param
name="changesrevision">29b776fd9fbc921b7442890f627ca100ef76f076</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20210106.deab50eb.obscpio ->
openSUSE-release-tools-20210122.29b776fd.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20210106.deab50eb/metrics/access/aggregate.php
new/openSUSE-release-tools-20210122.29b776fd/metrics/access/aggregate.php
--- old/openSUSE-release-tools-20210106.deab50eb/metrics/access/aggregate.php
2021-01-05 17:07:48.000000000 +0100
+++ new/openSUSE-release-tools-20210122.29b776fd/metrics/access/aggregate.php
2021-01-22 14:45:22.000000000 +0100
@@ -11,7 +11,7 @@
const VHOST = 'download.opensuse.org';
const FILENAME = 'download.opensuse.org-%s-access_log.xz';
const IPV6_PREFIX = 'ipv6.';
-const PRODUCT_PATTERN =
'/^(10\.[2-3]|11\.[0-4]|12\.[1-3]|13\.[1-2]|42\.[1-3]|15\.[0-2]|tumbleweed)$/';
+const PRODUCT_PATTERN =
'/^(10\.[2-3]|11\.[0-4]|12\.[1-3]|13\.[1-2]|42\.[1-3]|15\.[0-3]|tumbleweed)$/';
$begin = new DateTime();
// Skip the current day since the logs are incomplete and not compressed yet.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20210106.deab50eb/osclib/accept_command.py
new/openSUSE-release-tools-20210122.29b776fd/osclib/accept_command.py
--- old/openSUSE-release-tools-20210106.deab50eb/osclib/accept_command.py
2021-01-05 17:07:48.000000000 +0100
+++ new/openSUSE-release-tools-20210122.29b776fd/osclib/accept_command.py
2021-01-22 14:45:22.000000000 +0100
@@ -92,12 +92,15 @@
staging_packages[project] = []
for request in status.findall('staged_requests/request'):
-
self.requests[request.get('type')].append(request.get('package'))
+ type = request.get('type')
+ if type in self.requests:
+ self.requests[type].append(request.get('package'))
staging_packages[project].append(request.get('package'))
other_new = self.find_new_requests(self.api.project)
for req in other_new:
- self.requests[req['type']].append(req['package'])
+ if req['type'] in self.requests:
+ self.requests[req['type']].append(req['package'])
print('delete links to packages pending deletion...')
self.delete_linked()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20210106.deab50eb/pkglistgen/group.py
new/openSUSE-release-tools-20210122.29b776fd/pkglistgen/group.py
--- old/openSUSE-release-tools-20210106.deab50eb/pkglistgen/group.py
2021-01-05 17:07:48.000000000 +0100
+++ new/openSUSE-release-tools-20210122.29b776fd/pkglistgen/group.py
2021-01-22 14:45:22.000000000 +0100
@@ -21,6 +21,7 @@
self.not_found = dict()
self.unresolvable = dict()
self.default_support_status = None
+ self.ignore_broken = False
for a in self.architectures:
self.packages[a] = []
self.unresolvable[a] = dict()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20210106.deab50eb/pkglistgen/tool.py
new/openSUSE-release-tools-20210122.29b776fd/pkglistgen/tool.py
--- old/openSUSE-release-tools-20210106.deab50eb/pkglistgen/tool.py
2021-01-05 17:07:48.000000000 +0100
+++ new/openSUSE-release-tools-20210122.29b776fd/pkglistgen/tool.py
2021-01-22 14:45:22.000000000 +0100
@@ -118,7 +118,7 @@
fn = '{}.group'.format(group.name)
with open(os.path.join(self.output_dir, fn), 'w') as fh:
for arch in archs:
- x = group.toxml(arch, self.ignore_broken, None)
+ x = group.toxml(arch, group.ignore_broken, None)
x = ET.tostring(x, pretty_print=True, encoding='unicode')
fh.write(x)
@@ -135,7 +135,7 @@
with open(os.path.join(self.output_dir, fn), 'w') as fh:
comment = group.comment
for arch in archs:
- x = group.toxml(arch, self.ignore_broken, comment)
+ x = group.toxml(arch, group.ignore_broken, comment)
# only comment first time
comment = None
x = ET.tostring(x, pretty_print=True, encoding='unicode')
@@ -189,7 +189,11 @@
def prepare_pool(self, arch, ignore_conflicts):
pool = solv.Pool()
- pool.setarch(arch)
+ # the i586 DVD is really a i686 one
+ if arch == 'i586':
+ pool.setarch('i686')
+ else:
+ pool.setarch(arch)
self.lockjobs[arch] = []
solvables = set()
@@ -351,9 +355,11 @@
args.append('--nodebug')
args.append('{}/public/build/{}/{}/{}'.format(self.apiurl,
project, repo, arch))
args.append(d)
- p = subprocess.Popen(args, stdout=subprocess.PIPE)
- for line in p.stdout:
- self.logger.info(line.decode('utf-8').rstrip())
+ with subprocess.Popen(args, stdout=subprocess.PIPE) as p:
+ for line in p.stdout:
+ self.logger.info(line.decode('utf-8').rstrip())
+ if p.wait() != 0:
+ raise Exception("Mirroring repository failed")
files = [os.path.join(d, f)
for f in os.listdir(d) if f.endswith('.rpm')]
@@ -361,8 +367,9 @@
p = subprocess.Popen(
['rpms2solv', '-m', '-', '-0'], stdin=subprocess.PIPE,
stdout=fh)
p.communicate(bytes('\0'.join(files), 'utf-8'))
- p.wait()
fh.close()
+ if p.wait() != 0:
+ raise Exception("rpm2solv failed")
# Create hash file now that solv creation is complete.
open(solv_file_hash, 'a').close()
@@ -500,6 +507,9 @@
use_recommends = settings.get('recommends', global_use_recommends)
self.solve_module(groupname, includes, excludes, use_recommends)
g = self.groups[groupname]
+ # the default is a little double negated but Factory has
ignore_broken
+ # as default and we only disable it for single groups (for now)
+ g.ignore_broken = not settings.get('require_all', not
self.ignore_broken)
g.conflicts = settings.get('conflicts', [])
g.default_support_status = settings.get('default-support',
'unsupported')
modules.append(g)
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.sIhMj7/_old 2021-01-30 13:57:34.734360551 +0100
+++ /var/tmp/diff_new_pack.sIhMj7/_new 2021-01-30 13:57:34.734360551 +0100
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20210106.deab50eb
-mtime: 1609862868
-commit: deab50eb50ee7658ee3ff29a166833c7d6eb9039
+version: 20210122.29b776fd
+mtime: 1611323122
+commit: 29b776fd9fbc921b7442890f627ca100ef76f076