Re: [RFC] Putting extra package maintenance in maint/ subdirs
Immolo <[email protected]> Wed, 3 Jun 2026 18:18:36 +0100
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <CAHfWF5mvV2GpFN0uaFCuMgH62pykFeGrk8QaA1rvCqpvno1_7w@mail.gmail.com> |
On Tue, 2 Jun 2026, 18:03 Sam James, <[email protected]> wrote: > Immolo <[email protected]> writes: > > > Hi, > > > > (Please don't top-post.) > Sorry, must have turned off quote reply. > >> TL;DR: I'd like to propose that we allow a new "maint/" subdir in > >> package directory where maintenance scripts (plus docs and other data > >> files) can be placed rather than in "files/". > > > > To add my 2 pence. I do something similar to this idea to > > make moving configs and scripts a bit more automated. > > > > This idea sounds great as it means I have less to manage > > myself, being easier to navigate the layout and Gentoo > > gets the benefit of me uploading more of work task usage > > upstream where we can. > > > > Maybe a future goal to consider after the main points are > > done here is way for portage to pull config files automatically > > if a matching maint/packagename exists from a local repo. > > > > e.g. > > 1. use emerge -av x11-misc/lightdm > > 2 portage checks for maint/lightdm > > 3. Sees one exists and pulls the files which sets autologin > > I'm not sure I follow what this has to do with this. It's not to do with > shadowing FILESDIR or accumulating it across repositories. > I actually missed read the original suggestion as a new category group that we can depend on ebuilds so I think my idea can be ignored. I just saw this as an opportunity for a cleaner way for users, although likely more useful for downstreams to manage custom configs changes. I'll save this for a more relevant time which I haven't misread :) Kind regards, immolo >