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

Sam James <[email protected]> Tue, 02 Jun 2026 18:02:20 +0100
Newsgroups gmane.linux.gentoo.devel
Organization Gentoo
Message-ID <[email protected]>
Immolo <[email protected]> writes:

> Hi,
>

(Please don't top-post.)

>> 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.

>
> 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.
signature.asc (application/pgp-signature, 418 B)
-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmofDJ0bFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkOdi
APsGJc3BHz/13UD4bxIKiHuiU2Ml/BJiHlhEtOZCAbEGhAEA2YsSZir8qgdSp3Xa
rnAZIpRsSbuUQ72jbz+PhZ7MogU=
=9y7U
-----END PGP SIGNATURE-----