I sent the following to SpanKY a while back as my thoughts on how to move GLEP 27 away from xml (which the portage devs would really rather avoid). It has his tentative approval, so now I'd like to get some general comments. GLEP 27 is a really good idea, and it would be nice to have it implemented.
-g2boojum- ----- Forwarded message from Grant Goodyear <[EMAIL PROTECTED]> ----- From: Grant Goodyear <[EMAIL PROTECTED]> Date: Fri, 7 Jan 2005 23:37:03 -0600 To: [EMAIL PROTECTED] User-Agent: Mutt/1.5.6i Subject: glep 27 thoughts I've been thinking a bit about how to make uid/gid handling work w/o needing xml. It seems like it ought to be simple enough to replace the xml files with simple plain-text files which look like the following: # cat groups/dovecot gid = 97 # cat users/dovecot uid = 97 shell = /bin/false home = /dev/null groups = dovecot, foo, bar gecos = Added by portage for dovecot # (normally autogenerated) Essentially, these files would just contain the same information as what one would use w/ groupadd and useradd, but w/ more readable syntax. I'm also thinking that instead of putting these files in portage/profiles/accounts, perhaps we should permit an "accounts" directory in each stage of a cascading profile, thus moving the platform logic (linux vs hurd vs *bsd vs whatever) from the user and group files (which, in the original glep, would list info for all supported platforms) to the cascading profiles (default-linux, default-bsd/fbsd, etcetera). Any of this make sense? -g2boojum- -- Grant Goodyear Gentoo Developer [EMAIL PROTECTED] http://www.gentoo.org/~g2boojum GPG Fingerprint: D706 9802 1663 DEF5 81B0 9573 A6DC 7152 E0F6 5B76 ----- End forwarded message ----- -- Grant Goodyear Gentoo Developer [EMAIL PROTECTED] http://www.gentoo.org/~g2boojum GPG Fingerprint: D706 9802 1663 DEF5 81B0 9573 A6DC 7152 E0F6 5B76
pgpHy8v05Nuug.pgp
Description: PGP signature