Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnf5 copr: missing error handling for Copr-Error-Data header #3593

Open
nikromen opened this issue Jan 20, 2025 · 0 comments
Open

dnf5 copr: missing error handling for Copr-Error-Data header #3593

nikromen opened this issue Jan 20, 2025 · 0 comments

Comments

@nikromen
Copy link
Member

follow up from #3584

On any http error retval, the dnf5 copr does nothing - no warning, no output, it just quietly ends since there's missing handling of the Copr-Error-Data header

[root@b82250a064c2 /]# dnf copr enable mblaha/coprtest -y epel-9-aarch64
 https://copr.fedorainfracloud.org/api_3/rpmrepo/mblaha/coprtest/fedora-41/                         100% | 320.0   B/s | 276.0   B |  00m01s
Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.

The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.
[root@b82250a064c2 /]#
@github-project-automation github-project-automation bot moved this to Needs triage in CPT Kanban Jan 20, 2025
@nikromen nikromen changed the title dnf5 copr: missing error handling dnf5 copr: missing error handling for Copr-Error-Data header Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant