Accepting request 1141459 from home:dmach:branches:openSUSE:Tools
- 1.6.0 - Command-line: - The 'token --trigger' command no longer sets '--operation=runservice' by default. - Change 'token --create' command to require '--operation' - Fix 'linkdiff' command error 400: prj/pac/md5 not in repository - Update 'build' command to support building 'productcompose' build type with updateinfo.xml data - Don't show meter in terminals that are not interactive - Fix traceback when running osc from an arbitrary git repo that fails to map branch to a project (boo#1218170) - Configuration: - Implement reading credentials from environmental variables - Allow starting with an empty config if --configfile is either empty or points to /dev/null - Implement 'quiet' conf option - Password can be an empty string (commonly used with ssh auth) - Connection: - Allow -X HEAD on osc api requests as well - Library: - Fix credentials managers to consistently return Password - Fix Password.encode() on python < 3.8 - Refactor 'meter' module, use config settings to pick the right class - Convert to using f-strings - Use Field.get_callback to handle quiet/verbose and http_debug/http_full_debug options - Implement get_callback that allows modifying returned value to the Field class - Add support for List[BaseModel] type to Field class - Report class name when reporting an error during instantiating BaseModel object - Fix exporting an empty model field in BaseModel.dict() - Fix initializing a sub-model instance from a dictionary - Implement 'Enum' support in models - Fix Field.origin_type for Optional types - Drop unused 'exclude_unset' argument from BaseModel.dict() method - Store cached model defaults in self._defaults, avoid sharing references to mutable defaults OBS-URL: https://build.opensuse.org/request/show/1141459 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=432
This commit is contained in:
parent
a68fc3ef15
commit
09ab4b21c3
2
PKGBUILD
2
PKGBUILD
@ -1,5 +1,5 @@
|
|||||||
pkgname=osc
|
pkgname=osc
|
||||||
pkgver=1.5.1
|
pkgver=1.6.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Command-line client for the Open Build Service"
|
pkgdesc="Command-line client for the Open Build Service"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
osc (1.5.1-0) unstable; urgency=low
|
osc (1.6.0-0) unstable; urgency=low
|
||||||
|
|
||||||
* Placeholder
|
* Placeholder
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:17b1268413561b3d1b8564d3d1ed8f025efa34774497df4d54205b6cf0882c28
|
|
||||||
size 356780
|
|
3
osc-1.6.0.tar.gz
Normal file
3
osc-1.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7920dedfc793590829b93ddbd9dfbdbe6e2ccf471fd4f33d03117a309738b1ae
|
||||||
|
size 360647
|
39
osc.changes
39
osc.changes
@ -1,3 +1,42 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 25 08:53:46 UTC 2024 - Daniel Mach <daniel.mach@suse.com>
|
||||||
|
|
||||||
|
- 1.6.0
|
||||||
|
- Command-line:
|
||||||
|
- The 'token --trigger' command no longer sets '--operation=runservice' by default.
|
||||||
|
- Change 'token --create' command to require '--operation'
|
||||||
|
- Fix 'linkdiff' command error 400: prj/pac/md5 not in repository
|
||||||
|
- Update 'build' command to support building 'productcompose' build type with updateinfo.xml data
|
||||||
|
- Don't show meter in terminals that are not interactive
|
||||||
|
- Fix traceback when running osc from an arbitrary git repo that fails to map branch to a project (boo#1218170)
|
||||||
|
- Configuration:
|
||||||
|
- Implement reading credentials from environmental variables
|
||||||
|
- Allow starting with an empty config if --configfile is either empty or points to /dev/null
|
||||||
|
- Implement 'quiet' conf option
|
||||||
|
- Password can be an empty string (commonly used with ssh auth)
|
||||||
|
- Connection:
|
||||||
|
- Allow -X HEAD on osc api requests as well
|
||||||
|
- Library:
|
||||||
|
- Fix credentials managers to consistently return Password
|
||||||
|
- Fix Password.encode() on python < 3.8
|
||||||
|
- Refactor 'meter' module, use config settings to pick the right class
|
||||||
|
- Convert to using f-strings
|
||||||
|
- Use Field.get_callback to handle quiet/verbose and http_debug/http_full_debug options
|
||||||
|
- Implement get_callback that allows modifying returned value to the Field class
|
||||||
|
- Add support for List[BaseModel] type to Field class
|
||||||
|
- Report class name when reporting an error during instantiating BaseModel object
|
||||||
|
- Fix exporting an empty model field in BaseModel.dict()
|
||||||
|
- Fix initializing a sub-model instance from a dictionary
|
||||||
|
- Implement 'Enum' support in models
|
||||||
|
- Fix Field.origin_type for Optional types
|
||||||
|
- Drop unused 'exclude_unset' argument from BaseModel.dict() method
|
||||||
|
- Store cached model defaults in self._defaults, avoid sharing references to mutable defaults
|
||||||
|
- Limit model attributes to predefined fields by forbidding creating new attributes on fly
|
||||||
|
- Store model values in self._values dict instead of private attributes
|
||||||
|
- Spec:
|
||||||
|
- Recommend openssh-clients for ssh-add that is required during ssh auth
|
||||||
|
- Add 0%{?amzn} macro that wasn't usptreamed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 4 14:09:11 UTC 2023 - Daniel Mach <daniel.mach@suse.com>
|
Mon Dec 4 14:09:11 UTC 2023 - Daniel Mach <daniel.mach@suse.com>
|
||||||
|
|
||||||
|
2
osc.dsc
2
osc.dsc
@ -1,6 +1,6 @@
|
|||||||
Format: 1.0
|
Format: 1.0
|
||||||
Source: osc
|
Source: osc
|
||||||
Version: 1.5.1-0
|
Version: 1.6.0-0
|
||||||
Binary: osc
|
Binary: osc
|
||||||
Maintainer: Adrian Schroeter <adrian@suse.de>
|
Maintainer: Adrian Schroeter <adrian@suse.de>
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
10
osc.spec
10
osc.spec
@ -50,18 +50,19 @@
|
|||||||
|
|
||||||
%define argparse_manpage_pkg argparse-manpage
|
%define argparse_manpage_pkg argparse-manpage
|
||||||
%define obs_build_pkg obs-build
|
%define obs_build_pkg obs-build
|
||||||
%define openssh_pkg openssh
|
%define ssh_add_pkg openssh-clients
|
||||||
|
%define ssh_keygen_pkg openssh
|
||||||
%define sphinx_pkg %{use_python_pkg}-sphinx
|
%define sphinx_pkg %{use_python_pkg}-sphinx
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%define argparse_manpage_pkg %{use_python_pkg}-argparse-manpage
|
%define argparse_manpage_pkg %{use_python_pkg}-argparse-manpage
|
||||||
%define obs_build_pkg build
|
%define obs_build_pkg build
|
||||||
%define openssh_pkg openssh-common
|
%define ssh_keygen_pkg openssh-common
|
||||||
%define sphinx_pkg %{use_python_pkg}-Sphinx
|
%define sphinx_pkg %{use_python_pkg}-Sphinx
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: osc
|
Name: osc
|
||||||
Version: 1.5.1
|
Version: 1.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Command-line client for the Open Build Service
|
Summary: Command-line client for the Open Build Service
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -129,7 +130,8 @@ Recommends: obs-service-tar_scm
|
|||||||
Recommends: obs-service-verify_file
|
Recommends: obs-service-verify_file
|
||||||
|
|
||||||
# needed for ssh signature auth
|
# needed for ssh signature auth
|
||||||
Recommends: %{openssh_pkg}
|
Recommends: %{ssh_add_pkg}
|
||||||
|
Recommends: %{ssh_keygen_pkg}
|
||||||
|
|
||||||
# needed for `osc browse` that calls xdg-open
|
# needed for `osc browse` that calls xdg-open
|
||||||
Recommends: xdg-utils
|
Recommends: xdg-utils
|
||||||
|
Loading…
x
Reference in New Issue
Block a user