%global _description\ Schemas for messages sent by Copr project, as described on \ fedora-messaging documentation page \ https://fedora-messaging.readthedocs.io/en/latest/messages.html#schema \ \ Package also provides several convenience methods for working with \ copr messages. Name: copr-messaging Version: 1.2 Release: 1.20251205112533439762.pr4039.54.gaa5f0516d%{?dist} Summary: Abstraction for Copr messaging listeners/publishers License: GPL-2.0-or-later URL: https://github.com/fedora-copr/copr # Source is created by: # git clone %%url && cd copr # tito build --tgz --tag %%name-%%version-%%release Source0: copr-messaging-git-0.53ee406.tar.gz BuildArch: noarch Requires: wget BuildRequires: asciidoc BuildRequires: libxslt BuildRequires: util-linux BuildRequires: python3-copr-common BuildRequires: python3-devel BuildRequires: python3-fedora-messaging BuildRequires: python3-pytest %if 0%{?rhel} == 8 BuildRequires: python3-setuptools %endif BuildRequires: python3-sphinx %description %_description %package -n python3-%name Summary: %summary Provides: %name = %version Requires: python3-copr-common Requires: python3-fedora-messaging %description -n python3-%name %_description %package -n python3-%name-doc Summary: Code documentation for copr messaging %description -n python3-%name-doc %_description This package contains documentation for copr-messaging. %prep %setup -q -n copr-messaging-git-0.53ee406 %if 0%{?rhel} != 8 %generate_buildrequires %pyproject_buildrequires %endif %build %if 0%{?rhel} == 8 %py3_build %else %pyproject_wheel %endif PYTHONPATH=${PWD} sphinx-build-3 docs html rm -rf html/.{doctrees,buildinfo} %install %if 0%{?rhel} == 8 %py3_install %else %pyproject_install %pyproject_save_files -l copr_messaging %endif %check ./run_tests.sh -vv %if 0%{?rhel} == 8 %files -n python3-%name %else %files -n python3-%name -f %{pyproject_files} %endif %doc README.md %if 0%{?rhel} == 8 %license LICENSE %doc README.md %python3_sitelib/copr_messaging %python3_sitelib/copr_messaging*egg-info %endif %files -n python3-%name-doc %license LICENSE %doc html %changelog * Fri Dec 05 2025 Packit - 1.2-1.20251205112533439762.pr4039.54.gaa5f0516d - testing-farm: install pre-release packages with Ansible (Pavel Raiskup) - test rebuilds (Pavel Raiskup) - frontend: generate build URL from a preloaded copr object (Jakub Kadlcik) - frontend: preload copr.forked_from.group and copr.forked_from.user (Jakub Kadlcik) - docker: update containers to F43 (Jakub Kadlcik) - beaker-tests: add a superficial coverage for the WebUI routes (Jakub Kadlcik) - backend: skip already migrated projects (Jakub Kadlcik) - backend: show progress of currently uploaded RPMs (Jakub Kadlcik) - backend: catch KeyboardInterrupt exception (Jakub Kadlcik) - doc: explain how to migrate projects to Pulp (Jakub Kadlcik) - build(deps): bump actions/checkout from 5 to 6 (dependabot[bot]) - backend, common: set user agent for Pulp requests to crc-pulp-client (Jakub Kadlcik) - backend: set longer timeout for Pulp file uploads (Jakub Kadlcik) - beaker-tests: custom method tests: avoid using spax (Pavel Raiskup) - beaker-tests: move testing OCI image to F43 (Pavel Raiskup) - common: send JSON data for PATCH requests (Jakub Kadlcik) - backend: ignore the "Regenerate" button for Pulp projects without manual createrepo (Jakub Kadlcik) - doc: use RTH theme again (Jakub Kadlcik) - doc: link Pulp SOP (Jakub Kadlcik) - doc: link the Fedora Infra Copr SOP (Jakub Kadlcik) - testing-farm: do not fail tests if no packages are built (Pavel Raiskup) - testing-farm: start Copr stack with playbooks (Pavel Raiskup) - frontend: preload fields for streamed responses (Pavel Raiskup) - backend: recognize Pulp format for RPM package URLs (Jakub Kadlcik) - backend: fix deleting project from pulp-redirect.txt (Jiri Kyjovsky) - frontend: migrate from pytz to zoneinfo (Peter Robinson) - backend: spec: drop requirement on pytz (Peter Robinson) - frontend, cli, python: add API endpoint for generating a new token (Jakub Kadlcik) - backend: Add Pagination for PulpClient.get_content (Jiri Kyjovsky) - build(deps): bump actions/upload-artifact from 4 to 5 (dependabot[bot]) - backend: allow non-standard ssh ports on builders (Pavel Raiskup) - backend, common: implement chunked uploads to Pulp (Jakub Kadlcik) - doc, python: fix errors and warnings when building documentation Fix #3955 - add double underscore in package_source_types.rst - handle WARNING: Duplicate explicit target name - add double backticks in copr/v3/proxies project.py and project_chroot.py - handle WARNING: 'any' reference target not found - add :orphan: to rst files that are not in any doctree - handle WARNING: document isn't included in any toctree - add sphinx.ext.todo in sphinx conf - handle ERROR: Unknown directive type 'todo' - remove from docs/client_v3/proxies.rst - fix for autodoc: failed to import class - remove try-except block and use importlib to check for theme package (Anton Petrov) - python: Make copr.v3.helpers.wait official part of API (Jiri Kyjovsky) - backend: catch 400 from timeouted Pulp uploads (Jakub Kadlcik) - backend: don't create "spawner", "terminator" and "vmm" logs (Pavel Raiskup) - remove general exception handling (Anton Petrov) - fix linting errors (Anton Petrov) - feat: continue on exceptions in prune_results (Anton Petrov) - feat: add exception handling (Anton Petrov) - doc: Document how PULP pruning works (Jiri Kyjovsky) - frontend: drop custom RedisSession in favor of flask-session (Jakub Kadlcik) - testing-farm: basic installability test (Pavel Raiskup) - frontend: fix swapped canceled and ended builds (Jiri Kyjovsky) - build(deps): bump github/codeql-action from 3 to 4 (dependabot[bot]) - frontend: gitignore test.src.rpm (Jakub Kadlcik) - doc: document we don't support high-perf s390x (Pavel Raiskup) - frontend: do not traceback for OAuthError (Pavel Raiskup) - testing-farm: skeleton for sanity tests (Pavel Raiskup) - backend: fix hitcounter auth to frontend (Jakub Kadlcik) - doc: upload the golden image howto (Pavel Raiskup) - backend, frontend: add option to migrate all projects for an owner (Jakub Kadlcik) - frontend, cli: Add wildcard support for 'Packit allowed forge projects' (Jiri Kyjovsky) - doc: add 2025-09-30 release notes (Jakub Kadlcik) - Automatic commit of package [copr-backend] release [2.10-1]. (Jakub Kadlcik) - Automatic commit of package [python-copr-common] release [1.4-1]. (Jakub Kadlcik) - Automatic commit of package [python-copr] release [2.4-1]. (Jakub Kadlcik) - Automatic commit of package [copr-rpmbuild] release [1.6-1]. (Jakub Kadlcik) - Automatic commit of package [copr-frontend] release [2.5-1]. (Jakub Kadlcik) - Automatic commit of package [copr-cli] release [2.3-1]. (Jakub Kadlcik) - backend: don't run builds or actions in projects that are migrated to Pulp (Jakub Kadlcik) - rpmbuild: re-store umask to default Fedora value (Pavel Raiskup) - backend: log conflicting NEVRAs when uploading (Pavel Raiskup) - frontend, backend, python, cli: drop support for building modules (Jakub Kadlcik) - Automatic commit of package [copr-backend] release [2.9-1]. (Jakub Kadlcik) - backend: log the error message that we got from Pulp (Jakub Kadlcik) - backend: fix duplicate NEVRA error when migrating projects to Pulp (Jakub Kadlcik) - doc: fix a bulletpoint in the 2025-09-17 release notes (Jakub Kadlcik) - common: increase the user SSH builder max expiration to 3 days (Jakub Kadlcik) - rpmbuild: don't traceback on builders without user SSH access (Jakub Kadlcik) - doc: add 2025-09-17 release notes (Jakub Kadlcik) - backend: change-storage: fix sub-project handling (Pavel Raiskup) - Automatic commit of package [copr-frontend] release [2.4-1]. (Jakub Kadlcik) - Automatic commit of package [copr-backend] release [2.8-1]. (Jakub Kadlcik) - Automatic commit of package [copr-rpmbuild] release [1.5-1]. (Jakub Kadlcik) - Automatic commit of package [python-copr] release [2.3-1]. (Jakub Kadlcik) - Automatic commit of package [copr-keygen] release [2.2-1]. (Jakub Kadlcik) - Automatic commit of package [copr-dist-git] release [1.3-1]. (Jakub Kadlcik) - Automatic commit of package [python-copr-common] release [1.3-1]. (Jakub Kadlcik) - frontend: use beginning of the build as reference for timestamp (Jiri Kyjovsky) - common: saferequest to retry upon error 408 (Pavel Raiskup) - frontend: support both POST and DELETE for deleting a build (Jakub Kadlcik) - python: v3.proxies: Correct used HTTP methods (Petr Stodulka) - python: introduce v3.requests.DELETE method (Petr Stodulka) - common: send data only for POST and PUT requests (Jakub Kadlcik) - frontend: print architecture statistics on status page (Pavel Raiskup) - rpmbuild: read the specfile that is produced by specfile generator (Pavel Raiskup) - backend: fix test mocks after f40a284 (Jakub Kadlcik) - docker: set SERVER_NAME for frontend (Jakub Kadlcik) - backend: don't traceback when trying to run the action for second time (Jakub Kadlcik) - frontend, backend: implement branch-fedora support for Pulp projects (Jakub Kadlcik) - backend: add a helper script to query Pulp results (Jakub Kadlcik) - backend, common: handle unsuccessful Pulp requests (Jakub Kadlcik) - build(deps): bump actions/github-script from 7 to 8 (dependabot[bot]) - backend: don't upload results to Pulp in parallel (Jakub Kadlcik) - backend: gitignore dump.rdb (Jakub Kadlcik) - frontend: gdpr: drop libravatar url from data dump (Pavel Raiskup) - frontend: gdpr: delete data signs-out and redirects to homepage (Pavel Raiskup) - frontend: gdpr: delete also e-mail entry (Pavel Raiskup) - frontend: update e-mail on login (Pavel Raiskup) - dist-git: Stop using deprecated %%py3_build/%%py3_install macros (Miroslav Suchý) - keygen: Stop using deprecated %%py3_build/%%py3_install macros (Miroslav Suchý) - doc: gitignore the doc/copr_frontend.log file (Jakub Kadlcik) - doc: add 2025-08-28 release notes (Jakub Kadlcik) - doc: we don't use .dev suffixes anymore, only patch versions (Jakub Kadlcik) - doc: use fedora-distro-aliases to generate branch names (Jakub Kadlcik) - packit: temporarily disable triggers from the main branch (Jakub Kadlcik) - Automatic commit of package [copr-dist-git] release [1.2-1]. (Jakub Kadlcik) - Automatic commit of package [copr-selinux] release [1.57-1]. (Jakub Kadlcik) * Tue Aug 26 2025 Jakub Kadlcik 1.2-1 - Stop using deprecated %%py3_build/%%py3_install macros * Tue Mar 25 2025 Pavel Raiskup 1.1-1 - fix FTBFS caused by sphinx config - add missing @propery decorators * Wed Oct 02 2024 Jiri Kyjovsky 1.0-1 - Set chroot message severity to DEBUG - One-line descriptions should be the summary * Fri Mar 01 2024 Pavel Raiskup 0.11-1 - handle namespaced usernames - set the agent_name and usernames properties * Mon May 22 2023 Jakub Kadlcik 0.10-1 - Derive all message classes from _CoprMessage * Wed Mar 22 2023 Jiri Kyjovsky 0.9-1 - Add app_name property to _CoprMessage base class * Tue Jan 24 2023 Jakub Kadlcik 0.8-1 - Use SPDX license * Sat Nov 26 2022 Jakub Kadlcik 0.7-1 - move to GitHub home page - sync tooling with other sub-projects * Tue Jun 21 2022 Jakub Kadlcik 0.6-1 - Adapt to the changed stomppy API * Mon Nov 09 2020 Jakub Kadlcik 0.5-1 - explicitely requires python3-setuptools - all: run pytest with -vv in package build - pylint: sync all the pylintrc files - pylint: run pylint in all run*tests.sh files * Thu Oct 03 2019 Pavel Raiskup 0.4-1 - rename 'stomp_consumer' module to 'stomp' - fix macros in comments * Thu Jul 25 2019 Pavel Raiskup 0.3-1 - mention how to create Source0 tarball * Wed Jul 24 2019 Pavel Raiskup 0.2-1 - apply review fixes (by Silvie) * Wed Jul 17 2019 Pavel Raiskup 0.1-1 - copr_messaging: new package for working with copr messages