Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Cc: dberkholz@g.o
Subject: Re: [gentoo-dev] [RFC] Adding a tiny install-mask directory list to gx86
Date: Fri, 16 Sep 2011 17:33:52
Message-Id: CAAr7Pr8peifPE6c_fKwJ-=NMQnCX0dPR0=-aJfZn9VnEj7TdFA@mail.gmail.com
In Reply to: Re: [gentoo-dev] [RFC] Adding a tiny install-mask directory list to gx86 by "Michał Górny"
On Fri, Sep 16, 2011 at 8:14 AM, Michał Górny <mgorny@g.o> wrote:
> On Fri, 16 Sep 2011 08:39:48 -0500 > Donnie Berkholz <dberkholz@g.o> wrote: > >> On 11:36 Fri 16 Sep     , Michał Górny wrote: >> > The question is: where to store such a directory list? >> > >> > Keeping it inside project sources doesn't seem right as it would >> > require me to bump and re-release project every time a directory is >> > added. Keeping it in separate package which would need to be kept >> > in sync doesn't seem too good either. >> > >> > That's why I'm considering including a tiny file in gx86 (and >> > possibly other repositories) itself. Such a file could have a >> > simple format and specify mappings of 'install-mask names' (similar >> > to USE flag names) to lists of directories and possibly >> > descriptions. >> >> Do something like layman or repoman where it auto-fetches >> periodically. Layman has the advantage of also supporting add-on >> files in addition to the main one. > > I'm not sure if it's a good idea. Layman operations usually involve > network I/O, mine will not. I don't really want users to pay for GPRS > because install-mask does auto-update check.
So offer a 'install-mask update' command. Drop a cronjob in cron.weekly that does the update and GRPS users can just delete / modify the job. -A
> >> I don't want this in my repo. > > By *your* repo you mean dev overlay? Noone forces you to declare > additional paths. > > -- > Best regards, > Michał Górny >