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-11-06 18:18:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Sat Nov 6 18:18:03 2021 rev:348 rq:929828 version:20211105.c4e7e358
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2021-11-05 22:58:56.224293428 +0100
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1890/openSUSE-release-tools.changes
2021-11-06 18:21:23.600992474 +0100
@@ -1,0 +2,6 @@
+Fri Nov 05 08:30:15 UTC 2021 - [email protected]
+
+- Update to version 20211105.c4e7e358:
+ * Retry GETs if they catch a TimeoutError
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20211105.cd161f34.obscpio
New:
----
openSUSE-release-tools-20211105.c4e7e358.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.sUaZop/_old 2021-11-06 18:21:24.304992866 +0100
+++ /var/tmp/diff_new_pack.sUaZop/_new 2021-11-06 18:21:24.308992868 +0100
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20211105.cd161f34
+Version: 20211105.c4e7e358
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.sUaZop/_old 2021-11-06 18:21:24.348992890 +0100
+++ /var/tmp/diff_new_pack.sUaZop/_new 2021-11-06 18:21:24.348992890 +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">cd161f34cd6f1b3750de6626a2ac44e97f3e79da</param>
+ <param
name="changesrevision">c4e7e3581f01db52c5b3e2d5af95ae0bba4028ee</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20211105.cd161f34.obscpio ->
openSUSE-release-tools-20211105.c4e7e358.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/openSUSE-release-tools-20211105.cd161f34/ToolBase.py
new/openSUSE-release-tools-20211105.c4e7e358/ToolBase.py
--- old/openSUSE-release-tools-20211105.cd161f34/ToolBase.py 2021-11-05
07:56:18.000000000 +0100
+++ new/openSUSE-release-tools-20211105.c4e7e358/ToolBase.py 2021-11-05
09:29:11.000000000 +0100
@@ -9,7 +9,7 @@
import sys
import time
-from urllib.error import HTTPError
+from urllib.error import HTTPError, URLError
from urllib.parse import quote_plus
import osc.conf
@@ -56,6 +56,14 @@
return self.retried_GET(url)
logging.error('%s: %s', e, url)
raise e
+ except URLError as e:
+ logging.error('%s: "%s - %s" %s', e, e.reason, type(e.reason), url)
+ # connection timeout
+ if type(e.reason) == TimeoutError:
+ print('Retrying {}'.format(url))
+ time.sleep(1)
+ return self.retried_GET(url)
+ raise e
def http_PUT(self, *args, **kwargs):
if self.dryrun:
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.sUaZop/_old 2021-11-06 18:21:24.880993185 +0100
+++ /var/tmp/diff_new_pack.sUaZop/_new 2021-11-06 18:21:24.880993185 +0100
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20211105.cd161f34
-mtime: 1636095378
-commit: cd161f34cd6f1b3750de6626a2ac44e97f3e79da
+version: 20211105.c4e7e358
+mtime: 1636100951
+commit: c4e7e3581f01db52c5b3e2d5af95ae0bba4028ee