Re: Can we distribute modular .repo files in a separate package?

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

 



On Wed, May 6, 2020 at 9:13 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
>
> Hello, as a Fedora user, who doesn't consume any modules, I'd like an easy way
> to disable modular repos to save some traffic (both for myself and on the mirrors).
>
> Disclaimer: I do not propose to change any defaults, just the delivery mechanism.
>
> Currently, I can do it by editing all /etc/yum.repos.d/*-modular.repo and changing:
>
>      enabled=1
>
> To:
>
>      enabled=0
>
> This has downsides: When the files are changed in next update, I won't get them
> updated, because they are shipped as %config(noreplace). (If they were not
> shipped as %config(noreplace), it would be even worse, as my changes would be
> overridden.)
>
> Side note: It would be great if DNF supported system-repos in /usr/share and
> override options in /etc, but that is not (yet) the case.
>
> In order to not to have to resort to manually editing RPM-package shipped
> configuration, I'd like to have a better way of disabling modular repos, namely
> via: sudo dnf remove fedora-repos-modular.
>
>
> Can we please have modular repos in separate package again?

I think this is a great idea. Although I do use rpmconf after every
update to resolve upstream merge conflicts with config files, I'd much
prefer to avoid the need to edit the files.

>
> Basically revert this plus some extra comps/kickstarts changes:
>
> https://src.fedoraproject.org/rpms/fedora-repos/c/7b32bee388d093c446017f1e33309d9b96b24e15
>
> Constraint: modular repos are still installed and enabled by default (e.g. when
> we ship nonmodular repos in kickstarts/comps, we also ship modular).
>
> (Nonmodular repos package could possibly recommend modular repos package,
> although I am not so happy about that, due to rhbz#1699672.)
>
> What do you think?
>
> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to 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/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux