Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package osc for openSUSE:Factory checked in at 2021-07-21 19:06:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/osc (Old) and /work/SRC/openSUSE:Factory/.osc.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "osc" Wed Jul 21 19:06:36 2021 rev:157 rq:907452 version:0.174.0 Changes: -------- --- /work/SRC/openSUSE:Factory/osc/osc.changes 2021-07-06 23:32:14.259681983 +0200 +++ /work/SRC/openSUSE:Factory/.osc.new.2632/osc.changes 2021-07-21 19:07:51.007444770 +0200 @@ -1,0 +2,13 @@ +Wed Jul 21 08:51:23 UTC 2021 - Marcus H??we <[email protected]> + +- 0.174.0: + * fix password deletion via "osc config -d <apiurl> pass" + * support changing the password store via "osc config <apiurl> + --select-password-store") + * support slash syntax in osc browse ("osc browse prj/pkg" is equivalent to + "osc browse prj pkg") + * fix the commit of a frozen package wc + * fix local product builds using obsrepositories:/ directives + * print a meaningful message when trying to a commit a non-existent package + +------------------------------------------------------------------- Old: ---- osc-0.173.0.tar.gz New: ---- osc-0.174.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ osc.spec ++++++ --- /var/tmp/diff_new_pack.zvW4zf/_old 2021-07-21 19:07:51.555445723 +0200 +++ /var/tmp/diff_new_pack.zvW4zf/_new 2021-07-21 19:07:51.559445730 +0200 @@ -27,7 +27,7 @@ %define use_python python %endif -%define version_unconverted 0.173.0 +%define version_unconverted 0.174.0 %define osc_plugin_dir %{_prefix}/lib/osc-plugins %define macros_file macros.osc %if ! %{defined _rpmmacrodir} @@ -35,7 +35,7 @@ %endif Name: osc -Version: 0.173.0 +Version: 0.174.0 Release: 0 Summary: Open Build Service Commander License: GPL-2.0-or-later ++++++ PKGBUILD ++++++ --- /var/tmp/diff_new_pack.zvW4zf/_old 2021-07-21 19:07:51.587445778 +0200 +++ /var/tmp/diff_new_pack.zvW4zf/_new 2021-07-21 19:07:51.587445778 +0200 @@ -1,5 +1,5 @@ pkgname=osc -pkgver=0.173.0 +pkgver=0.174.0 pkgrel=0 pkgdesc="Open Build Service client" arch=('x86_64') ++++++ _service ++++++ --- /var/tmp/diff_new_pack.zvW4zf/_old 2021-07-21 19:07:51.607445813 +0200 +++ /var/tmp/diff_new_pack.zvW4zf/_new 2021-07-21 19:07:51.607445813 +0200 @@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="version">0.173.0</param> - <param name="revision">0.173.0</param> + <param name="version">0.174.0</param> + <param name="revision">0.174.0</param> <param name="url">git://github.com/openSUSE/osc.git</param> <param name="scm">git</param> </service> ++++++ debian.changelog ++++++ --- /var/tmp/diff_new_pack.zvW4zf/_old 2021-07-21 19:07:51.643445876 +0200 +++ /var/tmp/diff_new_pack.zvW4zf/_new 2021-07-21 19:07:51.643445876 +0200 @@ -1,3 +1,16 @@ +osc (0.174.0-0) unstable; urgency=low + - Update to 0.174.0: + - fix password deletion via "osc config -d <apiurl> pass" + - support changing the password store via "osc config <apiurl> + --select-password-store") + - support slash syntax in osc browse ("osc browse prj/pkg" is equivalent to + "osc browse prj pkg") + - fix the commit of a frozen package wc + - fix local product builds using obsrepositories:/ directives + - print a meaningful message when trying to a commit a non-existent package + + -- Marcus Huewe <[email protected]> Wed, 21 Jul 2021 10:52:56 +0200 + osc (0.173.0-0) unstable; urgency=low - Update to 0.173.0: - add showlinked command to show all references of packages linking to a given one ++++++ osc-0.173.0.tar.gz -> osc-0.174.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.173.0/NEWS new/osc-0.174.0/NEWS --- old/osc-0.173.0/NEWS 2021-05-18 22:36:09.000000000 +0200 +++ new/osc-0.174.0/NEWS 2021-07-21 10:43:53.000000000 +0200 @@ -1,3 +1,13 @@ +0.174.0 + - fix password deletion via "osc config -d <apiurl> pass" + - support changing the password store via "osc config <apiurl> + --select-password-store") + - support slash syntax in osc browse ("osc browse prj/pkg" is equivalent to + "osc browse prj pkg") + - fix the commit of a frozen package wc + - fix local product builds using obsrepositories:/ directives + - print a meaningful message when trying to a commit a non-existent package + 0.173.0 - add showlinked command to show all references of packages linking to a given one - add build --shell-after-build flag. It can also be set via .oscrc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.173.0/osc/build.py new/osc-0.174.0/osc/build.py --- old/osc-0.173.0/osc/build.py 2021-05-18 22:36:09.000000000 +0200 +++ new/osc-0.174.0/osc/build.py 2021-07-21 10:43:53.000000000 +0200 @@ -1213,7 +1213,7 @@ xml.remove(node) if found_obsrepositories > 0: - build_descr = '_service:' + build_descr.rsplit('/', 1)[-1] + build_descr = os. getcwd() + '/_service:osc_obsrepositories:' + build_descr.rsplit('/', 1)[-1] tree.write(open(build_descr, 'wb')) # appliance diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.173.0/osc/commandline.py new/osc-0.174.0/osc/commandline.py --- old/osc-0.173.0/osc/commandline.py 2021-05-18 22:36:09.000000000 +0200 +++ new/osc-0.174.0/osc/commandline.py 2021-07-21 10:43:53.000000000 +0200 @@ -4474,6 +4474,7 @@ """ apiurl = self.get_api_url() + args = slash_split(args) package = None if len(args) == 1: @@ -9206,6 +9207,11 @@ if len(args) != 1: raise oscerr.WrongArgs('--change-password only needs the apiurl') args = [args[0], 'pass'] + elif opts.select_password_store: + if len(args) != 1: + raise oscerr.WrongArgs('--select-password-store only needs the apiurl') + args = [args[0], 'pass'] + if len(args) < 2 and not (opts.dump or opts.dump_full): raise oscerr.WrongArgs('Too few arguments') elif opts.dump or opts.dump_full: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.173.0/osc/conf.py new/osc-0.174.0/osc/conf.py --- old/osc-0.173.0/osc/conf.py 2021-05-18 22:36:09.000000000 +0200 +++ new/osc-0.174.0/osc/conf.py 2021-07-21 10:43:53.000000000 +0200 @@ -726,6 +726,13 @@ if section == 'general' and not opt in general_opts or \ section != 'general' and not opt in api_host_options: raise oscerr.ConfigError('unknown config option \'%s\'' % opt, config['conffile']) + + if not val and not delete and opt == 'pass' and creds_mgr_descr is not None: + # change password store + creds_mgr = _get_credentials_manager(section, cp) + user = _extract_user_compat(cp, section, creds_mgr) + val = creds_mgr.get_password(section, user) + run = False if val: if opt == 'pass': @@ -755,7 +762,7 @@ elif delete and (cp.has_option(section, opt) or opt == 'pass'): if opt == 'pass': creds_mgr = _get_credentials_manager(section, cp) - user = _extract_user_compar(cp, section, creds_mgr) + user = _extract_user_compat(cp, section, creds_mgr) creds_mgr.delete_password(section, user) else: cp.remove_option(section, opt) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.173.0/osc/core.py new/osc-0.174.0/osc/core.py --- old/osc-0.173.0/osc/core.py 2021-05-18 22:36:09.000000000 +0200 +++ new/osc-0.174.0/osc/core.py 2021-07-21 10:43:53.000000000 +0200 @@ -5,7 +5,7 @@ from __future__ import print_function -__version__ = '0.173' +__version__ = '0.174' # __store_version__ is to be incremented when the format of the working copy # "store" changes in an incompatible way. Please add any needed migration @@ -1032,7 +1032,7 @@ p.commit(msg, verbose=verbose, skip_local_service_run=skip_local_service_run, can_branch=can_branch, force=force) elif pac in self.pacs_unvers and not is_package_dir(os.path.join(self.dir, pac)): print('osc: \'%s\' is not under version control' % pac) - elif pac in self.pacs_broken: + elif pac in self.pacs_broken or not os.path.exists(os.path.join(self.dir, pac)): print('osc: \'%s\' package not found' % pac) elif state == None: self.commitExtPackage(pac, msg, todo, verbose=verbose, skip_local_service_run=skip_local_service_run) @@ -1533,8 +1533,8 @@ 'error: file \'%s\' with state \'%s\' is not known by meta' \ % (filename, st)) todo_send[filename] = f.md5 - if ((self.ispulled() or self.islinkrepair()) and st != 'A' - and filename not in sha256sums): + if ((self.ispulled() or self.islinkrepair() or self.isfrozen()) + and st != 'A' and filename not in sha256sums): # Ignore files with state 'A': if we should consider it, # it would have been in pac.todo, which implies that it is # in sha256sums. ++++++ osc.dsc ++++++ --- /var/tmp/diff_new_pack.zvW4zf/_old 2021-07-21 19:07:51.983446467 +0200 +++ /var/tmp/diff_new_pack.zvW4zf/_new 2021-07-21 19:07:51.983446467 +0200 @@ -1,6 +1,6 @@ Format: 1.0 Source: osc -Version: 0.173.0-0 +Version: 0.174.0-0 Binary: osc Maintainer: Adrian Schroeter <[email protected]> Architecture: any
