-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all,
As some of you may know, I spent this past summer working on an implementation of GLEP 27[1]. While my scripts aren't quite ready for production use yet, I wanna get the ball rolling by asking devs who maintain packages that use the current enewuser() and enewgroup() functions from eutils.eclass to document their desired account settings in one central location. I have a list of all packages in the tree that currently use either of those functions[2]. If you maintain one of these packages, I'd especially appreciate your feedback. The proposed storage format[3] is what my scripts (creandus, formerly known as dynusers) currently use. To me, the format seems simple and sane enough, but I would definitely appreciate any and all feedback on it, since it's much easier for me to change it now than to change it later. Summarized, the format is: For each profile dir (e.g. profiles/base, profiles/default-linux, etc), a new subdirectory, called accounts is created as necessary. Inside that is a file called defaults, containing default uid/gid ranges, shells, etc for the given profile. Also, there are two directories, user/ and group/, which contain files named after the users and groups to be added. Those files contain more specific uid/gid info, etc. All the files are handled like other files in cascading profiles. Each line in the file is either a shell-style comment, or of the form: "key: value". The keys are: uid, shell, home, groups, comment, and gid. The main point of this thread is to get lots of feedback and, hopefully, acceptance of this proposed format. As this is basically what is already outlined in GLEP 27, I don't think a new GLEP is in order, but if others do, I'll draft one. The main webpage for my Summer of Code project[4] has links to more information about the project in general, and there are some posts on my blog[5] regarding it. [1] http://www.gentoo.org/proj/en/glep/glep-0027.html [2] http://dev.gentoo.org/~pioto/creandus/enewusergroup-pkgnames.txt [3] http://dev.gentoo.org/~pioto/creandus/doc/datafiles.html [4] http://soc.pioto.org/ [5] http://blog.pioto.org/category/dynusers/ - -- Mike Kelly -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFIdHzokMzJ47YCzoRAoBYAJ0drAJrxAMx3p9g5jrnTwQu9mePaQCggV6Y SpIBoDGFUJ6J0xBNdWANqtc= =2P1l -----END PGP SIGNATURE----- -- [email protected] mailing list
