Accepting request 1141475 from openSUSE:Tools

OBS-URL: https://build.opensuse.org/request/show/1141475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=191
This commit is contained in:
Ana Guerrero 2024-01-25 17:41:53 +00:00 committed by Git OBS Bridge
commit 4e8031f1f9
7 changed files with 54 additions and 12 deletions

View File

@ -1,5 +1,5 @@
pkgname=osc
pkgver=1.5.1
pkgver=1.6.0
pkgrel=0
pkgdesc="Command-line client for the Open Build Service"
arch=('x86_64')

View File

@ -1,4 +1,4 @@
osc (1.5.1-0) unstable; urgency=low
osc (1.6.0-0) unstable; urgency=low
* Placeholder

View File

@ -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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7920dedfc793590829b93ddbd9dfbdbe6e2ccf471fd4f33d03117a309738b1ae
size 360647

View File

@ -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>

View File

@ -1,6 +1,6 @@
Format: 1.0
Source: osc
Version: 1.5.1-0
Version: 1.6.0-0
Binary: osc
Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: any

View File

@ -1,7 +1,7 @@
#
# spec file for package osc
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define use_python python3
%define use_python_pkg python3
@ -41,7 +42,7 @@
%endif
# whether to use fdupes to deduplicate python bytecode
%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 8
%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?amzn}
%bcond_without fdupes
%else
%bcond_with fdupes
@ -49,18 +50,19 @@
%define argparse_manpage_pkg argparse-manpage
%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
%if 0%{?suse_version}
%define argparse_manpage_pkg %{use_python_pkg}-argparse-manpage
%define obs_build_pkg build
%define openssh_pkg openssh-common
%define ssh_keygen_pkg openssh-common
%define sphinx_pkg %{use_python_pkg}-Sphinx
%endif
Name: osc
Version: 1.5.1
Version: 1.6.0
Release: 0
Summary: Command-line client for the Open Build Service
License: GPL-2.0-or-later
@ -128,7 +130,8 @@ Recommends: obs-service-tar_scm
Recommends: obs-service-verify_file
# needed for ssh signature auth
Recommends: %{openssh_pkg}
Recommends: %{ssh_add_pkg}
Recommends: %{ssh_keygen_pkg}
# needed for `osc browse` that calls xdg-open
Recommends: xdg-utils