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-09-11 22:24:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old) and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools" Sat Sep 11 22:24:29 2021 rev:323 rq:918082 version:20210910.877432d2 Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes 2021-09-09 23:07:56.436858564 +0200 +++ /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1899/openSUSE-release-tools.changes 2021-09-11 22:24:57.927412333 +0200 @@ -1,0 +2,7 @@ +Fri Sep 10 18:54:06 UTC 2021 - opensuse-releaset...@opensuse.org + +- Update to version 20210910.877432d2: + * do not use oscrc from fixtures (should fix #1989) + * fix deprecation warning in parser + +------------------------------------------------------------------- Old: ---- openSUSE-release-tools-20210907.d2e3c9d2.obscpio New: ---- openSUSE-release-tools-20210910.877432d2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSE-release-tools.spec ++++++ --- /var/tmp/diff_new_pack.iXyiMj/_old 2021-09-11 22:24:58.547412944 +0200 +++ /var/tmp/diff_new_pack.iXyiMj/_new 2021-09-11 22:24:58.551412948 +0200 @@ -20,7 +20,7 @@ %define source_dir openSUSE-release-tools %define announcer_filename factory-package-news Name: openSUSE-release-tools -Version: 20210907.d2e3c9d2 +Version: 20210910.877432d2 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.iXyiMj/_old 2021-09-11 22:24:58.587412984 +0200 +++ /var/tmp/diff_new_pack.iXyiMj/_new 2021-09-11 22:24:58.591412988 +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">d2e3c9d2c1649b0a9f19c1a8c510d52c04d85ff1</param> + <param name="changesrevision">877432d24a0cdd872546b937284acfa2ef8f9578</param> </service> </servicedata> ++++++ openSUSE-release-tools-20210907.d2e3c9d2.obscpio -> openSUSE-release-tools-20210910.877432d2.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20210907.d2e3c9d2/osclib/conf.py new/openSUSE-release-tools-20210910.877432d2/osclib/conf.py --- old/openSUSE-release-tools-20210907.d2e3c9d2/osclib/conf.py 2021-09-07 15:58:46.000000000 +0200 +++ new/openSUSE-release-tools-20210910.877432d2/osclib/conf.py 2021-09-10 20:52:33.000000000 +0200 @@ -2,7 +2,6 @@ from osc import OscConfigParser from collections import OrderedDict -import io import os import operator import re @@ -274,7 +273,7 @@ if config: cp = OscConfigParser.OscConfigParser() config = u'[remote]\n' + config - cp.readfp(io.StringIO(config)) + cp.read_string(config) return dict(cp.items('remote')) return None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20210907.d2e3c9d2/tests/checktags_tests.py new/openSUSE-release-tools-20210910.877432d2/tests/checktags_tests.py --- old/openSUSE-release-tools-20210907.d2e3c9d2/tests/checktags_tests.py 2021-09-07 15:58:46.000000000 +0200 +++ new/openSUSE-release-tools-20210910.877432d2/tests/checktags_tests.py 2021-09-10 20:52:33.000000000 +0200 @@ -6,6 +6,7 @@ import logging import httpretty import osc +from . import OBSLocal try: from urllib.parse import urlparse, parse_qs @@ -24,7 +25,7 @@ FIXTURES = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'fixtures') -class TestTagChecker(unittest.TestCase): +class TestTagChecker(OBSLocal.TestCase): def tearDown(self): httpretty.reset() @@ -35,16 +36,11 @@ Initialize the configuration """ + super().setUp() Cache.last_updated[APIURL] = {'__oldest': '2016-12-18T11:49:37Z'} httpretty.reset() httpretty.enable() - oscrc = os.path.join(FIXTURES, 'oscrc') - osc.core.conf.get_config(override_conffile=oscrc, - override_no_keyring=True, - override_no_gnome_keyring=True) - # osc.conf.config['debug'] = 1 - logging.basicConfig() self.logger = logging.getLogger(__file__) self.logger.setLevel(logging.DEBUG) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20210907.d2e3c9d2/tests/factory_source_tests.py new/openSUSE-release-tools-20210910.877432d2/tests/factory_source_tests.py --- old/openSUSE-release-tools-20210907.d2e3c9d2/tests/factory_source_tests.py 2021-09-07 15:58:46.000000000 +0200 +++ new/openSUSE-release-tools-20210910.877432d2/tests/factory_source_tests.py 2021-09-10 20:52:33.000000000 +0200 @@ -5,6 +5,7 @@ import osc import re from osclib.cache import Cache +from . import OBSLocal from urllib.parse import urlparse, parse_qs from check_source_in_factory import FactorySourceChecker @@ -12,7 +13,7 @@ APIURL = 'http://testhost.example.com' FIXTURES = os.path.join(os.getcwd(), 'tests/fixtures') -class TestFactorySourceAccept(unittest.TestCase): +class TestFactorySourceAccept(OBSLocal.TestCase): def tearDown(self): httpretty.disable() @@ -22,18 +23,12 @@ """ Initialize the configuration """ + super().setUp() Cache.last_updated[APIURL] = {'__oldest': '2016-12-18T11:49:37Z'} httpretty.reset() httpretty.enable(allow_net_connect=False) - oscrc = os.path.join(FIXTURES, 'oscrc') - osc.core.conf.get_config(override_conffile=oscrc, - override_no_keyring=True, - override_no_gnome_keyring=True) - #osc.conf.config['debug'] = 1 - #osc.conf.config['http_debug'] = 1 - logging.basicConfig() self.logger = logging.getLogger(__file__) self.logger.setLevel(logging.DEBUG) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20210907.d2e3c9d2/tests/fixtures/oscrc new/openSUSE-release-tools-20210910.877432d2/tests/fixtures/oscrc --- old/openSUSE-release-tools-20210907.d2e3c9d2/tests/fixtures/oscrc 2021-09-07 15:58:46.000000000 +0200 +++ new/openSUSE-release-tools-20210910.877432d2/tests/fixtures/oscrc 1970-01-01 01:00:00.000000000 +0100 @@ -1,108 +0,0 @@ -[general] -# URL to access API server, e.g. https://api.opensuse.org -# you also need a section [https://api.opensuse.org] with the credentials -apiurl = http://api:3000 -# Downloaded packages are cached here. Must be writable by you. -#packagecachedir = /var/tmp/osbuild-packagecache -# Wrapper to call build as root (sudo, su -, ...) -#su-wrapper = su -c -# rootdir to setup the chroot environment -# can contain %(repo)s, %(arch)s, %(project)s and %(package)s for replacement, e.g. -# /srv/oscbuild/%(repo)s-%(arch)s or -# /srv/oscbuild/%(repo)s-%(arch)s-%(project)s-%(package)s -#build-root = /var/tmp/build-root -# compile with N jobs (default: "getconf _NPROCESSORS_ONLN") -#build-jobs = N -# build-type to use - values can be (depending on the capabilities of the 'build' script) -# empty - chroot build -# kvm - kvm VM build (needs build-device, build-swap, build-memory) -# xen - xen VM build (needs build-device, build-swap, build-memory) -# experimental: -# qemu - qemu VM build -# lxc - lxc build -#build-type = -# build-device is the disk-image file to use as root for VM builds -# e.g. /var/tmp/FILE.root -#build-device = /var/tmp/FILE.root -# build-swap is the disk-image to use as swap for VM builds -# e.g. /var/tmp/FILE.swap -#build-swap = /var/tmp/FILE.swap -# build-memory is the amount of memory used in the VM -# value in MB - e.g. 512 -#build-memory = 512 -# build-vmdisk-rootsize is the size of the disk-image used as root in a VM build -# values in MB - e.g. 4096 -#build-vmdisk-rootsize = 4096 -# build-vmdisk-swapsize is the size of the disk-image used as swap in a VM build -# values in MB - e.g. 1024 -#build-vmdisk-swapsize = 1024 -# Numeric uid:gid to assign to the "abuild" user in the build-root -# or "caller" to use the current users uid:gid -# This is convenient when sharing the buildroot with ordinary userids -# on the host. -# This should not be 0 -# build-uid = -# extra packages to install when building packages locally (osc build) -# this corresponds to osc build's -x option and can be overridden with that -# -x '' can also be given on the command line to override this setting, or -# you can have an empty setting here. -#extra-pkgs = vim gdb strace -# build platform is used if the platform argument is omitted to osc build -#build_repository = openSUSE_Factory -# default project for getpac or bco -#getpac_default_project = openSUSE:Factory -# alternate filesystem layout: have multiple subdirs, where colons were. -#checkout_no_colon = 0 -# local files to ignore with status, addremove, .... -#exclude_glob = .osc CVS .svn .* _linkerror *~ #*# *.orig *.bak *.changes.* -# keep passwords in plaintext. If you see this comment, your osc -# already uses the encrypted password, and only keeps them in plain text -# for backwards compatibility. Default will change to 0 in future releases. -# You can remove the plaintext password without harm, if you do not need -# backwards compatibility. -#plaintext_passwd = 1 -# limit the age of requests shown with 'osc req list'. -# this is a default only, can be overridden by 'osc req list -D NNN' -# Use 0 for unlimted. -#request_list_days = 0 -# show info useful for debugging -#debug = 1 -# show HTTP traffic useful for debugging -#http_debug = 1 -# Skip signature verification of packages used for build. -#no_verify = 1 -# jump into the debugger in case of errors -#post_mortem = 1 -# print call traces in case of errors -#traceback = 1 -# use KDE/Gnome/MacOS/Windows keyring for credentials if available -#use_keyring = 1 -# check for unversioned/removed files before commit -#check_filelist = 1 -# check for pending requests after executing an action (e.g. checkout, update, commit) -#check_for_request_on_action = 0 -# what to do with the source package if the submitrequest has been accepted. If -# nothing is specified the API default is used -#submitrequest_on_accept_action = cleanup|update|noupdate -#review requests interactively (default: off) -#request_show_review = 1 -# Directory with executables to validate sources, esp before committing -#source_validator_directory = /usr/lib/osc/source_validators - -[http://api:3000] -user=Admin -pass=opensuse -# set aliases for this apiurl -# aliases = foo, bar -# email used in .changes, unless the one from osc meta prj <user> will be used -# email = -# additional headers to pass to a request, e.g. for special authentication -#http_headers = Host: foofoobar, -# User: mumblegack -# Force using of keyring for this API -#keyring = 1 - -[openSUSE:Factory] -user=dummy -pass=dummy -overridden-by-local = local diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20210907.d2e3c9d2/tests/maintenance_tests.py new/openSUSE-release-tools-20210910.877432d2/tests/maintenance_tests.py --- old/openSUSE-release-tools-20210907.d2e3c9d2/tests/maintenance_tests.py 2021-09-07 15:58:46.000000000 +0200 +++ new/openSUSE-release-tools-20210910.877432d2/tests/maintenance_tests.py 2021-09-10 20:52:33.000000000 +0200 @@ -4,6 +4,7 @@ import httpretty import osc import re +from . import OBSLocal try: from urllib.parse import urlparse, parse_qs @@ -13,26 +14,20 @@ from check_maintenance_incidents import MaintenanceChecker -APIURL = 'http://maintenancetest.example.com' +APIURL = 'http://0.0.0.0:3000' FIXTURES = os.path.join(os.getcwd(), 'tests/fixtures') -class TestMaintenance(unittest.TestCase): - +class TestMaintenance(OBSLocal.TestCase): def setUp(self): """ Initialize the configuration """ + super().setUp() httpretty.reset() httpretty.enable() - oscrc = os.path.join(FIXTURES, 'oscrc') - osc.core.conf.get_config(override_conffile=oscrc, - override_no_keyring=True, - override_no_gnome_keyring=True) - #osc.conf.config['debug'] = 1 - logging.basicConfig() self.logger = logging.getLogger(__file__) self.logger.setLevel(logging.DEBUG) ++++++ openSUSE-release-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.iXyiMj/_old 2021-09-11 22:24:59.255413642 +0200 +++ /var/tmp/diff_new_pack.iXyiMj/_new 2021-09-11 22:24:59.259413646 +0200 @@ -1,5 +1,5 @@ name: openSUSE-release-tools -version: 20210907.d2e3c9d2 -mtime: 1631023126 -commit: d2e3c9d2c1649b0a9f19c1a8c510d52c04d85ff1 +version: 20210910.877432d2 +mtime: 1631299953 +commit: 877432d24a0cdd872546b937284acfa2ef8f9578