Re: Default for 'dnf copr enable'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 28, 2022 at 12:09 AM Carl George <carl@xxxxxxxxxx> wrote:
>
> On Mon, Apr 11, 2022 at 8:38 AM Miroslav Suchý <msuchy@xxxxxxxxxx> wrote:
> >
> > Hi.
> > I want to get your feedback:
> >
> > When you enable Copr repository you can run:
> >    dnf copr enable myname/project epel-9-x86_64
> > The last parameter is optional and most people usually runs:
> >    dnf copr enable myname/project
> >
> > Dnf-plugins-core tries to guess [3] the correct chroot. On Fedora it is easy.
> > For Fedora 35 it is fedora-35-$arch.
> > But for RHEL/Centos/Centos Stream it is a bit tricky.
> >
> > E.g. for C9S we now defaults to centos-stream-9-$arch. But this gets some pushback [1,2]. I want to know if this opinion
> > is minority or whether majority of people wants this.
> > I do not think there is an option which is correct. So it is about choosing a default which is correct for most people.
> >
> > Can you please tell me what is good default for you:
> >
> > Centos Stream 9:
> > 1) epel-9-$arch
> > 2) centos-stream-9-$arch
> > 3) centos-stream+epel-next-9-$arch
> > 4) no default, print error and let user explicitly declare the chroot
> >
> >
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=2058471
> > [2] https://gitlab.com/redhat/centos-stream/rpms/dnf-plugins-core/-/merge_requests/7
> > [3] https://github.com/rpm-software-management/dnf-plugins-core/blob/master/plugins/copr.py#L472
> >
> > Miroslav
> > _______________________________________________
> > epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
> > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
>
> In most cases, epel-9-$arch will be the correct choice.  In the bug
> [0] it is suggested that when the guess is wrong it's simple to add
> the chroot as an explicit argument.  Instead of making the majority of
> users do `dnf copr enable <copr> epel-9-<arch>`, why can't we have a
> tiny number of users do `dnf copr enable <copr>
> centos-stream-9-<arch>` and have the plugin guess the correct thing
> for the majority of users?
>
> [0] https://bugzilla.redhat.com/show_bug.cgi?id=2058471#c1
>

It should have never been changed to behave differently in the first
place. The only real acceptable alternative other than the main epel
chroots is to have it use epel-next chroots for CentOS Stream.
However, those are not available in COPR at this time, so we use the
EPEL ones.


-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux