Re: [RFC] Putting extra package maintenance in maint/ subdirs

Immolo <[email protected]> Mon, 1 Jun 2026 16:28:01 +0100
Newsgroups gmane.linux.gentoo.devel
Message-ID <CAHfWF5nFHERDAKF-qwansNayQsfJAbfb1F+DCm7kPkvW+Tsi8g@mail.gmail.com>
Hi,

> 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

That's not the important issue to solve now, but worth
highlighting as something to look into.

Kind regards,

immolo

On Mon, 1 Jun 2026 at 15:11, Viorel Munteanu <[email protected]> wrote:
>
> La 01.06.2026 12:21, Michał Górny a scris:
> > Hello,
> >
> > 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/".
> >
> >
> Hi,
>
> I think this is a very good idea.  I uploaded such scripts to distfiles,
> but one would have to know where to look to find them.  It's better to
> have a standardized place.
>
> Regards,
> Viorel.