Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package osc for openSUSE:Factory checked in at 2023-10-10 21:00:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/osc (Old) and /work/SRC/openSUSE:Factory/.osc.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "osc" Tue Oct 10 21:00:36 2023 rev:182 rq:1116735 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/osc/osc.changes 2023-08-28 17:17:46.690172887 +0200 +++ /work/SRC/openSUSE:Factory/.osc.new.28202/osc.changes 2023-10-10 21:02:03.693914599 +0200 @@ -1,0 +2,53 @@ +Tue Oct 10 18:12:00 UTC 2023 - Daniel Mach <daniel.m...@suse.com> + +- 1.4.1 + - Configuration: + - Always display apiurl when asking for credentials + - Ask for new credentials when user is missing from an apiurl section in the config file + - Library: + - Fix testing revision for being empty + - Fix core.change_request_state_template() to always return a string + - Tests: + - Replace 'git init -b' with 'git init' and 'git checkout -b' + - Spec: + - Run fdupes after install + - List the python sitelib paths explicitly + - Mark csh completion files as configs + - Own zsh completion dirs to mute rpmlint errors + - Move bash completion from /etc to /usr/share + +------------------------------------------------------------------- +Wed Oct 4 10:01:35 UTC 2023 - Daniel Mach <daniel.m...@suse.com> + +- 1.4.0 + - Command-line: + - Add rootless build support to 'build' command for 'kvm' and 'podman' vm types + - Print a hint to clean the build root after a failed build + - Avoid adding a newline to prompt in 'wipe' command + - Fix 'build' command to pass '--vm-type' option to the underlying build tool + - Add '--just-print-buildroot' option to print build root path and exit to 'build' command + - Add support for keep_packages_locked on request revoke + - Import zsh completition made by Holger Macht and improve it + - Use XDG locations in completion + - Fix 'search' command to resolve '-B .' to the current project + - Add '-M/--multibuild-package' option to 'checkconstraints' command + - Allow constraints file with remote request in 'checkconstraints' command + - Unify how the 'commit' and 'build' commands work with '--noservice' option + - Fix 'request show' command to print superseded_by information + - Fix 'service' command to support already documented 'r' abbreviation for 'run' + - Configuration: + - Implement 'exclude_files' and 'include_files' config options that allow skipping files in the 'checkout' command + - Fix api_host_options for custom CAs (cafile and capath options work again) + - Switch 'osc.conf.config' from dict to Options class with type checking + - Rename conf.Options.build_type to vm_type to be consistent with obs build and osc --vm-type option + - Update list of supported vm_type values in conf.Options.vm_type + - Remove any duplicated code loading configuration from ENV + - Library: + - Add 'osc.util.models' module implementing an alternative pydantic-like data validation + - Add 'osc.util.xdg' module for handling XDG paths + - Fix handling empty vm_type in Store.last_buildroot + - Spec: + - Install zsh completion + - Build and install oscrc man page + +------------------------------------------------------------------- @@ -563 +615,0 @@ - @@ -636,3 +688,3 @@ - * new command osc releaserequest: This command is used to transfer sources and  -  binaries without rebuilding them. -   It requires defined release targets set to trigger="manual". + * new command osc releaserequest: This command is used to transfer sources and + binaries without rebuilding them. + It requires defined release targets set to trigger="manual". @@ -3331 +3382,0 @@ - Old: ---- osc-1.3.1.tar.gz New: ---- osc-1.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ osc.spec ++++++ --- /var/tmp/diff_new_pack.NElRI0/_old 2023-10-10 21:02:05.745989013 +0200 +++ /var/tmp/diff_new_pack.NElRI0/_new 2023-10-10 21:02:05.749989158 +0200 @@ -28,14 +28,11 @@ %define completion_dir_bash %{_datadir}/bash-completion/completions %define completion_dir_csh %{_sysconfdir}/profile.d %define completion_dir_fish %{_datadir}/fish/vendor_completions.d +%define completion_dir_zsh %{_datadir}/zsh/functions/Completion %define osc_plugin_dir %{_prefix}/lib/osc-plugins # need to override python_sitelib because it is not set as we would expect on many distros %define python_sitelib %(RPM_BUILD_ROOT= %{use_python} -Ic "import sysconfig; print(sysconfig.get_path('purelib'))") -%if 0%{?is_opensuse} -%define completion_dir_bash %{_sysconfdir}/bash_completion.d -%endif - # generate manpages on distros where argparse-manpage >= 3 is available %if 0%{?suse_version} > 1500 || 0%{?fedora} >= 37 %bcond_without man @@ -43,13 +40,23 @@ %bcond_with man %endif +# whether to use fdupes to deduplicate python bytecode +%if 0%{?suse_version} || 0%{?fedora} +%bcond_without fdupes +%else +%bcond_with fdupes +%endif + %define argparse_manpage_pkg %{use_python_pkg}-argparse-manpage +%define sphinx_pkg %{use_python_pkg}-Sphinx + %if 0%{?fedora} %define argparse_manpage_pkg argparse-manpage +%define sphinx_pkg %{use_python_pkg}-sphinx %endif Name: osc -Version: 1.3.1 +Version: 1.4.1 Release: 0 Summary: Command-line client for the Open Build Service License: GPL-2.0-or-later @@ -68,6 +75,7 @@ %if %{with man} BuildRequires: %{argparse_manpage_pkg} +BuildRequires: %{sphinx_pkg} %endif BuildRequires: %{use_python_pkg}-cryptography BuildRequires: %{use_python_pkg}-devel >= 3.6 @@ -75,6 +83,9 @@ BuildRequires: %{use_python_pkg}-setuptools BuildRequires: %{use_python_pkg}-urllib3 BuildRequires: diffstat +%if %{with fdupes} +BuildRequires: fdupes +%endif # needed for git scm tests BuildRequires: git-core @@ -142,7 +153,7 @@ %%osc_plugin_dir %{osc_plugin_dir} EOF -# build man page +# build man pages %if %{with man} PYTHONPATH=. argparse-manpage \ --output=osc.1 \ @@ -154,6 +165,8 @@ --description="openSUSE Commander" \ --author="Contributors to the osc project. See the project's GIT history for the complete list." \ --url="https://github.com/openSUSE/osc/" + +sphinx-build -b man doc . %endif %install @@ -168,6 +181,7 @@ install -Dm0644 contrib/complete.csh %{buildroot}%{completion_dir_csh}/osc.csh install -Dm0644 contrib/complete.sh %{buildroot}%{completion_dir_bash}/osc.sh install -Dm0644 contrib/osc.fish %{buildroot}%{completion_dir_fish}/osc.fish +install -Dm0644 contrib/osc.zsh %{buildroot}%{completion_dir_zsh}/osc.zsh # install rpm macros install -Dm0644 macros.osc %{buildroot}%{_rpmmacrodir}/macros.osc @@ -175,6 +189,11 @@ # install man page %if %{with man} install -Dm0644 osc.1 %{buildroot}%{_mandir}/man1/osc.1 +install -Dm0644 oscrc.5 %{buildroot}%{_mandir}/man5/oscrc.5 +%endif + +%if %{with fdupes} +%fdupes %buildroot %endif %check @@ -187,14 +206,15 @@ %license COPYING %doc AUTHORS README.md NEWS %if %{with man} -%{_mandir}/man1/osc.* +%{_mandir}/man*/osc* %endif # executables %{_bindir}/* # python modules -%{python_sitelib}/* +%{python_sitelib}/osc +%{python_sitelib}/osc-*-info # rpm macros %{_rpmmacrodir}/* @@ -207,8 +227,12 @@ %dir %{_datadir}/osc %{_datadir}/osc/complete %{completion_dir_bash}/* -%{completion_dir_csh}/* +%config %{completion_dir_csh}/* %{completion_dir_fish}/* +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/functions +%dir %{_datadir}/zsh/functions/Completion +%{completion_dir_zsh}/* # osc owns the dirs to avoid the "directories not owned by a package" build error %dir %{_datadir}/fish ++++++ PKGBUILD ++++++ --- /var/tmp/diff_new_pack.NElRI0/_old 2023-10-10 21:02:05.777990173 +0200 +++ /var/tmp/diff_new_pack.NElRI0/_new 2023-10-10 21:02:05.781990319 +0200 @@ -1,5 +1,5 @@ pkgname=osc -pkgver=1.3.1 +pkgver=1.4.1 pkgrel=0 pkgdesc="Command-line client for the Open Build Service" arch=('x86_64') ++++++ debian.changelog ++++++ --- /var/tmp/diff_new_pack.NElRI0/_old 2023-10-10 21:02:05.821991769 +0200 +++ /var/tmp/diff_new_pack.NElRI0/_new 2023-10-10 21:02:05.825991914 +0200 @@ -1,4 +1,4 @@ -osc (1.3.1-0) unstable; urgency=low +osc (1.4.1-0) unstable; urgency=low * Placeholder ++++++ osc-1.3.1.tar.gz -> osc-1.4.1.tar.gz ++++++ ++++ 4327 lines of diff (skipped) ++++++ osc.dsc ++++++ --- /var/tmp/diff_new_pack.NElRI0/_old 2023-10-10 21:02:06.234006710 +0200 +++ /var/tmp/diff_new_pack.NElRI0/_new 2023-10-10 21:02:06.246007144 +0200 @@ -1,6 +1,6 @@ Format: 1.0 Source: osc -Version: 1.3.1-0 +Version: 1.4.1-0 Binary: osc Maintainer: Adrian Schroeter <adr...@suse.de> Architecture: any