forked from pool/python-copr-cli
- Update to 2.4:
* There is a new API endpoint, along with CLI support, for re-generating API tokens (#3960) - full changelog at: * https://github.com/fedora-copr/copr/compare/copr-cli-2.1-1...copr-cli-2.4-1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-copr-cli?expand=0&rev=26
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
copr-cli-2.1.tar.gz
Normal file
3
copr-cli-2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:23c1f0665cee13d5812ba34e3975bf0c474ef98f2ac8215facf29b8921e09188
|
||||
size 64846
|
||||
3
copr_cli-2.4.tar.gz
Normal file
3
copr_cli-2.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7cfbd9927e3f9a9956249dd42100fe58fa2641c324c5e8203c3d92ace3ff42e7
|
||||
size 65491
|
||||
116
python-copr-cli.changes
Normal file
116
python-copr-cli.changes
Normal file
@@ -0,0 +1,116 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 9 22:15:50 UTC 2026 - Marius Grossu <marius.grossu@suse.com>
|
||||
|
||||
- Update to 2.4:
|
||||
* There is a new API endpoint, along with CLI support, for re-generating API tokens (#3960)
|
||||
- full changelog at:
|
||||
* https://github.com/fedora-copr/copr/compare/copr-cli-2.1-1...copr-cli-2.4-1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 7 09:33:49 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 7 13:52:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- update to 2.1
|
||||
* python, cli: drop six dependency
|
||||
* pylint: fix old import errors that appear as new
|
||||
* cli: add workaround for redirect download with accept list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 21:00:03 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||
|
||||
- update to 2.0:
|
||||
* no upstream changelog
|
||||
- remove remove-simplejson.patch, as upstream removed simplejson
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 20 13:40:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.111:
|
||||
* no upstream changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 8 05:03:19 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.110:
|
||||
* No upstream changelog.
|
||||
- Fiddle with {Build,}Requires as appropiate.
|
||||
- Switch to pyproject macros.
|
||||
- Refresh patch remove-simplejson.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 22:45:01 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add remove-simplejson.patch (gh#fedora-copr/copr#2539).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 10:05:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.105:
|
||||
* More understandable module hotfixes description
|
||||
* Add options to download only built RPMs/spec files
|
||||
* Use the --dirname parameter for copr-cli monitor
|
||||
* Disable appstream by default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 15:55:47 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 1.104:
|
||||
- move to GitHub home page
|
||||
- add parameter for custom method repos
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 23:54:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to Version 1.103:
|
||||
-The previous release brought several enhancements and fixes for the stats calculation mechanism but it wasn’t quite enough.
|
||||
-This release comes with some final follow-ups. We are hoping to start counting the RPM downloads shortly after.
|
||||
Minor UI improvements
|
||||
-In the project settings, the “Edit” button will now show only for enabled chroots
|
||||
-The build detail page now shows the build timeout value
|
||||
-If a build is a part of a batch, the detail page now shows a link for it
|
||||
-The user detail page now shows a link for the /user/repositories/
|
||||
Bugfixes
|
||||
#2294 - Show correct distribution images based on their OS family
|
||||
#2293, RHBZ 2081915 - Fixed copr-frontend FTBFS for F37/Rawhide
|
||||
RHBZ 2113156 - Fixed copr-keygen FTBFS for F37/Rawhide
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 22 11:55:03 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Update to 1.100 (changes for all copr packages, not only copr-cli):
|
||||
- Bugfixes
|
||||
- Kerberos/GSSAPI authentication for API and copr-cli
|
||||
- Copr-cli re-tries connections with Copr Frontend
|
||||
- Large queue improvements
|
||||
- More copr-cli options for editing chroots
|
||||
- Signing packages with SHA256
|
||||
- Remote refs in committish
|
||||
- Removing unused tarballs
|
||||
- More human-readable validation errors in APIv3
|
||||
- Basic build tagging
|
||||
- Webhook rebuilds are background jobs now
|
||||
- Searching by attributes
|
||||
- APIv3 /monitor route
|
||||
- The “Rebuild all” packages feature enhanced
|
||||
- Builder VMs priority
|
||||
- Query built RPM results via API
|
||||
- Pull request CoprDirs are automatically deleted after inactivity
|
||||
- Showing two latest Copr-related articles
|
||||
- Specify copr-cli output format
|
||||
- IPv6 support
|
||||
- Isolation configuration per-chroot
|
||||
- Submit build with excluded chroots
|
||||
- EOL chroot management
|
||||
- Disabling modules in buildroot
|
||||
- New mock –isolation option
|
||||
- EOL repository management
|
||||
- Searching by build ID
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 17 12:07:43 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v1.90
|
||||
76
python-copr-cli.spec
Normal file
76
python-copr-cli.spec
Normal file
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# spec file for package python-copr-cli
|
||||
#
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without libalternatives
|
||||
Name: python-copr-cli
|
||||
Version: 2.4
|
||||
Release: 0
|
||||
Summary: Copr cli
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://github.com/fedora-copr/copr
|
||||
Source: https://files.pythonhosted.org/packages/source/c/copr-cli/copr_cli-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: alts
|
||||
Requires: python-Jinja2
|
||||
Requires: python-copr >= 1.116
|
||||
Requires: python-humanize
|
||||
Requires: python-setuptools
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module copr >= 1.116}
|
||||
BuildRequires: %{python_module humanize}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module responses}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
CLI tool to run copr.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n copr_cli-%{version}
|
||||
|
||||
sed -i '1{/#!/d}' copr_cli/package_build_order.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/copr-cli
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative copr-cli
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/copr-cli
|
||||
%{python_sitelib}/copr_cli
|
||||
%{python_sitelib}/copr_cli-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user