Once upon a time, Andrew C Aitchison <and...@aitchison.me.uk> said:
> On Wed, 8 Jun 2022, Maxwell G via epel-devel wrote:
> >On Wednesday, June 8, 2022 2:54:51 PM CDT Michel Alexandre Salim wrote:
> >>without messing with config files (which I
> >>hate, because that means newer crb.repo changes won't be picked up).
> >
> >I thought files marked `%config(noreplace)` don't get updated automatically 
> >even
> >if the user didn't modify it all. Am I missing something or are we talking
> >about different things?
> 
> My understanding is that those files *do* get updated if they have
> not been modified.

That's correct - unmodified files will still be updated by RPM.

> This new idea will let you make a change to the config without
> blocking updates from making non-conflicting changes.

This would even be good to use for enabling/disabling repos, again so
that a URL change or such would still be applied.

Long term, it might be ideal to treat the RPM-distributed repo files as
read-only and move them to something like /usr/share/yum.repos.d, with
only local changes (enable/disable, exclude, alternate mirror/baseurl)
in /etc/yum.repos.d.

-- 
Chris Adams <li...@cmadams.net>
_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to