Bug 2223275 - Copr plugin looks for incorrect chroot
Summary: Copr plugin looks for incorrect chroot
Keywords:
Status: NEW
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: 2023-08-16 08:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
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.


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