Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] user management mitigation
Date: Fri, 21 Oct 2011 09:09:56
Message-Id: 20111021090817.GA30010@localhost
In Reply to: [gentoo-dev] user management mitigation by Mike Frysinger
1 On Thu, Oct 20, 2011 at 04:47:55PM -0400, Mike Frysinger wrote:
2 > with the previously proposed/accepted GLEP 27 stalled, i'm looking into
3 > mitigating the current suckiness of enew{user,group}/egetent. the first step
4 > is simple: let's split these funcs out of eutils.eclass and into a dedicated
5 > eclass. this makes it trivial for people externally to override the
6 > functionality and hook into whatever craziness they want.
7 >
8 > eutils.eclass will inherit this new eclass directly (for the foreseeable
9 > future), so there's no need for tree-wide update bonanzas.
10
11 Whatever the eclass name, the API it exports should be controlled
12 carefully so that when g27 lands, we can just swap the functionality
13 directly in- just have the eclass watch for a magic value
14
15 Either way, sounds good.
16 ~brian