Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package obs-service-tar_scm for openSUSE:Factory checked in at 2021-02-25 18:25:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old) and /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obs-service-tar_scm" Thu Feb 25 18:25:49 2021 rev:64 rq:874266 version:0.10.21.1612422695.2fdf897 Changes: -------- --- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes 2021-02-11 12:46:02.689371594 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.2378/obs-service-tar_scm.changes 2021-02-25 18:25:49.798113922 +0100 @@ -1,0 +2,9 @@ +Wed Feb 10 07:47:00 UTC 2021 - fschrei...@suse.com + +- Update to version 0.10.21.1612422695.2fdf897: + * fixes boo#1127353 + * fixes boo#1168573 + * activate pylint3.8 and fixed false positives + * don`t sanitize version if versionrewrite_pattern is set + +------------------------------------------------------------------- @@ -138,0 +148 @@ +- Fixes boo#1138377 @@ -140,0 +151,16 @@ + * [dist] enable python3 in SLE >= 12 + * fix encoding error for surrogates + * glibc-common was used up to FC23 and RHEL7 + * Compile python files before install + * change order in GNUMakefile to prefer python3 + * More thorought spec file cleanup + * predefine python version in spec file for GNUMAkefile + * [dist] spec file: python3 only and multidist + * Git also uses the LANGUAGE variable + * centos_version and rhel_version are triple digits + * Minimize diff with the version in openSUSE:Tools + * Fix the logic to pick the locale package on Fedora + * Forgot the guard 0 in one conditional + * Require packages to get the en_US.UTF-8 locales + * enforce bytes for cpio file list + Old: ---- obs-service-tar_scm-0.10.20.1606128060.135ac94.tar.gz New: ---- obs-service-tar_scm-0.10.21.1612422695.2fdf897.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ obs-service-tar_scm.spec ++++++ --- /var/tmp/diff_new_pack.8yiPze/_old 2021-02-25 18:25:50.382114346 +0100 +++ /var/tmp/diff_new_pack.8yiPze/_new 2021-02-25 18:25:50.386114349 +0100 @@ -1,5 +1,5 @@ # -# spec file for package obs-service-tar_scm-test +# spec file for package obs-service-tar_scm # # Copyright (c) 2021 SUSE LLC # @@ -111,8 +111,8 @@ %define pkg_name obs-service-tar_scm Name: %{pkg_name}%{nsuffix} -%define version_unconverted 0.10.20.1606128060.135ac94 -Version: 0.10.20.1606128060.135ac94 +%define version_unconverted 0.10.21.1612422695.2fdf897 +Version: 0.10.21.1612422695.2fdf897 Release: 0 Summary: An OBS source service: create tar ball from svn/git/hg License: GPL-2.0-or-later ++++++ PKGBUILD ++++++ --- /var/tmp/diff_new_pack.8yiPze/_old 2021-02-25 18:25:50.410114366 +0100 +++ /var/tmp/diff_new_pack.8yiPze/_new 2021-02-25 18:25:50.410114366 +0100 @@ -1,5 +1,5 @@ pkgname=obs-service-tar_scm -pkgver=0.10.20.1606128060.135ac94 +pkgver=0.10.21.1612422695.2fdf897 pkgrel=0 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)" arch=('any') ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.8yiPze/_old 2021-02-25 18:25:50.446114392 +0100 +++ /var/tmp/diff_new_pack.8yiPze/_new 2021-02-25 18:25:50.446114392 +0100 @@ -7,4 +7,4 @@ <param name="changesrevision">9e8b88b088778c44db56781e6a908a0e82e27cf2</param></service> <service name="tar_scm"> <param name="url">git://github.com/openSUSE/obs-service-tar_scm.git</param> - <param name="changesrevision">135ac94675cc21639b5386d2504eb043098e0ff1</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">24d0fc541e3ba769d3aae098d3952dea275b59af</param></service></servicedata> \ No newline at end of file ++++++ debian.dsc ++++++ --- /var/tmp/diff_new_pack.8yiPze/_old 2021-02-25 18:25:50.462114404 +0100 +++ /var/tmp/diff_new_pack.8yiPze/_new 2021-02-25 18:25:50.462114404 +0100 @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-tar-scm -Version: 0.10.20.1606128060.135ac94 +Version: 0.10.21.1612422695.2fdf897 Provides: obs-service-obs_scm, obs-service-tar Binary: obs-service-tar_scm Maintainer: Adrian Schroeter <adr...@suse.de> ++++++ obs-service-tar_scm-0.10.20.1606128060.135ac94.tar.gz -> obs-service-tar_scm-0.10.21.1612422695.2fdf897.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-tar_scm-0.10.20.1606128060.135ac94/GNUmakefile new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/GNUmakefile --- old/obs-service-tar_scm-0.10.20.1606128060.135ac94/GNUmakefile 2020-11-23 11:41:00.000000000 +0100 +++ new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/GNUmakefile 2021-02-04 08:11:35.000000000 +0100 @@ -53,7 +53,7 @@ ) endef -PYTHON3 = python3.7 python-3.7 python3.6 python-3.6 python3.5 python-3.5 python3.4 python-3.4 python3.3 python-3.3 python3.2 python-3.2 python3 +PYTHON3 = python3.8 python3.7 python-3.7 python3.6 python-3.6 python3.5 python-3.5 python3.4 python-3.4 python3.3 python-3.3 python3.2 python-3.2 python3 PYTHON2 = python2.7 python-2.7 python2.6 python-2.6 python2 # Ensure that correct python version is used in travis @@ -73,8 +73,8 @@ LIST_PY_FILES=git ls-tree --name-only -r HEAD | grep '\.py$$' PY_FILES=$(shell $(LIST_PY_FILES)) -ALL_PYLINT2 = pylint-2.7 pylint2.7 pylint -ALL_PYLINT3 = pylint-3.4 pylint3.4 pylint-3.5 pylint3.5 pylint-3.6 pylint3.6 pylint-3.7 pylint3.7 +ALL_PYLINT2 = pylint-2.7 pylint2.7 +ALL_PYLINT3 = pylint-3.4 pylint3.4 pylint-3.5 pylint3.5 pylint-3.6 pylint3.6 pylint-3.7 pylint3.7 pylint-3.8 ALL_FLAKE83 = flake8-3.6 flake8-36 flake8-37 flake8-3.7 flake8 PYLINT2 = $(call first_in_path_opt,$(ALL_PYLINT2)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-tar_scm-0.10.20.1606128060.135ac94/TarSCM/scm/git.py new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/TarSCM/scm/git.py --- old/obs-service-tar_scm-0.10.20.1606128060.135ac94/TarSCM/scm/git.py 2020-11-23 11:41:00.000000000 +0100 +++ new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/TarSCM/scm/git.py 2021-02-04 08:11:35.000000000 +0100 @@ -237,7 +237,6 @@ """ self._parent_tag = args['parent_tag'] or self._parent_tag versionformat = args['versionformat'] - debian = args.get('use_obs_gbp', False) if versionformat is None: versionformat = '%ct.%h' @@ -259,7 +258,7 @@ "--pretty=format:%s" % versionformat], self.clone_dir )[1] - return self.version_iso_cleanup(version, debian) + return version def _detect_parent_tag(self, args=None): parent_tag = '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-tar_scm-0.10.20.1606128060.135ac94/TarSCM/scm/hg.py new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/TarSCM/scm/hg.py --- old/obs-service-tar_scm-0.10.20.1606128060.135ac94/TarSCM/scm/hg.py 2020-11-23 11:41:00.000000000 +0100 +++ new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/TarSCM/scm/hg.py 2021-02-04 08:11:35.000000000 +0100 @@ -125,8 +125,7 @@ versionformat ]) - version = self.helpers.safe_run(cmd, self.clone_dir)[1] - return self.version_iso_cleanup(version) + return self.helpers.safe_run(cmd, self.clone_dir)[1] def get_timestamp(self): data = {"parent_tag": None, "versionformat": "{date}"} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-tar_scm-0.10.20.1606128060.135ac94/TarSCM/scm/svn.py new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/TarSCM/scm/svn.py --- old/obs-service-tar_scm-0.10.20.1606128060.135ac94/TarSCM/scm/svn.py 2020-11-23 11:41:00.000000000 +0100 +++ new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/TarSCM/scm/svn.py 2021-02-04 08:11:35.000000000 +0100 @@ -98,7 +98,7 @@ interactive=sys.stdout.isatty()) except SystemExit as exc: if re.search(ENCODING_RE, exc.code): - raise SystemExit(ENCODING_MSG) + raise SystemExit(ENCODING_MSG) # pylint: disable=W0707 raise exc def update_cache(self): @@ -118,7 +118,7 @@ shutil.rmtree(self.clone_dir) self.fetch_upstream_scm() elif re.search(ENCODING_RE, exc.code): - raise SystemExit(ENCODING_MSG) + raise SystemExit(ENCODING_MSG) # pylint: disable=W0707 else: raise exc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-tar_scm-0.10.20.1606128060.135ac94/TarSCM/tasks.py new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/TarSCM/tasks.py --- old/obs-service-tar_scm-0.10.20.1606128060.135ac94/TarSCM/tasks.py 2020-11-23 11:41:00.000000000 +0100 +++ new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/TarSCM/tasks.py 2021-02-04 08:11:35.000000000 +0100 @@ -165,7 +165,8 @@ try: scm_class = getattr(TarSCM.scm, scm2class[args.scm]) except: - raise OptionsError("Please specify valid --scm=... options") + msg = "Please specify valid --scm=... options" + raise OptionsError(msg) # pylint: disable=W0707 # self.scm_object is need to unlock cache in cleanup # if exception occurs @@ -269,6 +270,10 @@ if self.args.versionrewrite_pattern: regex = re.compile(self.args.versionrewrite_pattern) version = regex.sub(self.args.versionrewrite_replacement, version) + else: + args = self.args.__dict__ + debian = args.get('use_obs_gbp', False) + version = self.scm_object.version_iso_cleanup(version, debian) if self.args.versionprefix: version = "%s.%s" % (self.args.versionprefix, version) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-tar_scm-0.10.20.1606128060.135ac94/tests/archiveobscpiotestcases.py new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/tests/archiveobscpiotestcases.py --- old/obs-service-tar_scm-0.10.20.1606128060.135ac94/tests/archiveobscpiotestcases.py 2020-11-23 11:41:00.000000000 +0100 +++ new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/tests/archiveobscpiotestcases.py 2021-02-04 08:11:35.000000000 +0100 @@ -36,7 +36,7 @@ f_dir = os.path.join(self.fixtures_dir, tc_name, 'repo') shutil.copytree(f_dir, c_dir) scmlogs = ScmInvocationLogs('git', c_dir) - scmlogs.next('start-test') + scmlogs.next('start-test') # pylint: disable=E1102 fixture = GitFixtures(c_dir, scmlogs) fixture.init() scm_object = Git(self.cli, self.tasks) @@ -139,7 +139,7 @@ cl_name = self.__class__.__name__ c_dir = os.path.join(self.tmp_dir, tc_name) scmlogs = ScmInvocationLogs('git', c_dir) - scmlogs.next('start-test') + scmlogs.next('start-test') # pylint: disable=E1102 fixture = GitFixtures(c_dir, scmlogs) fixture.init() scm_object = Git(self.cli, self.tasks) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-tar_scm-0.10.20.1606128060.135ac94/tests/fake_classes.py new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/tests/fake_classes.py --- old/obs-service-tar_scm-0.10.20.1606128060.135ac94/tests/fake_classes.py 2020-11-23 11:41:00.000000000 +0100 +++ new/obs-service-tar_scm-0.10.21.1612422695.2fdf897/tests/fake_classes.py 2021-02-04 08:11:35.000000000 +0100 @@ -23,3 +23,6 @@ # pylint: disable=too-few-public-methods def detect_version(self, args): return self.version + + def version_iso_cleanup(self, version, debian): + return self.version