Bug 1994154

Summary: wrong baseurl / dnf copr enable / centos stream
Product: [Fedora] Fedora Reporter: Leon Fauster <leonfauster>
Component: dnf-plugins-coreAssignee: Silvie Chlupova <schlupov>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmach, jmracek, mbanas, mblaha, packaging-team-maint, pkratoch, praiskup, rpm-software-management, schlupov, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-23 10:40:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2024629, 2058471    

Description Leon Fauster 2021-08-16 22:44:36 UTC
Description of problem:

on a full updated centos stream 8 system:

dnf copr enable {{ your favorite }}

does not enable the stream 8 repo, instead
the epel8 one is configured in /etc/yum.repos.d

means - the baseurl in the repo file has 

baseurl=https://download.copr.fedorainfracloud.org/results/.../epel-8-$basearch/

instead

baseurl=https://download.copr.fedorainfracloud.org/results/.../centos-stream-8-$basearch/



How reproducible:

Just pick a favorite copr project that builds for epel8 and stream8 and 

dnf copr enable {{ your favorite }}

Comment 1 Pavel Raiskup 2021-08-17 05:03:53 UTC
Thank you for the report.  Indeed.  Changing component.

Comment 2 Silvie Chlupova 2021-09-23 10:40:04 UTC
PR https://github.com/rpm-software-management/dnf-plugins-core/pull/439 resolves this bugzilla.

Comment 3 Pavel Raiskup 2022-07-18 12:58:17 UTC
This has been reverted upstream:
https://github.com/rpm-software-management/dnf-plugins-core/pull/459