Bug 2223275 - Copr plugin looks for incorrect chroot
Summary: Copr plugin looks for incorrect chroot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-17 08:22 UTC by Iñaki Ucar
Modified: 2024-11-11 05:08 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-11 05:08:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management dnf5 issues 706 0 None open dnf copr enable on rawhide requires giving chroot 2023-07-18 04:43:30 UTC

Description Iñaki Ucar 2023-07-17 08:22:11 UTC
I use the rawhide docker image in a workflow [1] that has been failing for a couple of weeks. The error has to do with the Copr plugin, when I try to enable a project, then it looks for fedora-39-x86_64 (which obviously doesn't exist yet), instead of fedora-rawhide-x86_64.

[1] https://github.com/Enchufa2/cran2copr/actions/runs/5572019730/jobs/10177631078

Reproducible: Always

Steps to Reproduce:
$ podman run --rm -it fedora:rawhide
$ dnf5 -y copr enable iucar/cran
 https://copr.fedorainfracloud.org/api_3/rpmrepo/iucar/cran/fedora-39/                    100% | 874.0   B/s | 328.0   B |  00m00sChroot not found in the given Copr project (fedora-39-x86_64).
You can choose one of the avaiable chroots explicitly:
 fedora-36-x86_64
 fedora-37-x86_64
 fedora-38-x86_64
 fedora-rawhide-x86_64



$ dnf5 --version
dnf5 version 5.0.15
dnf5 plugin API version 1.0
libdnf5 version 5.0.15
libdnf5 plugin API version 1.0

Loaded dnf5 plugins:
  name: builddep
  version: 1.0.0
  API version: 1.0

  name: changelog
  version: 1.0.0
  API version: 1.0

  name: copr
  version: 0.1.0
  API version: 1.0

  name: repoclosure
  version: 1.0.0
  API version: 1.0

Comment 1 amatej 2023-07-18 04:43:31 UTC
We are tracking this also in an upstream issue: https://github.com/rpm-software-management/dnf5/issues/706

Comment 2 Fedora Release Engineering 2023-08-16 08:07:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 3 Aoife Moloney 2024-11-08 10:55:48 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 amatej 2024-11-11 05:08:31 UTC
This should be fixed for a while now.


Note You need to log in before you can comment on or make changes to this bug.