On Sat, Aug 10, 2019 at 10:51:52PM +0200, Michał Górny wrote: > On Sat, 2019-08-10 at 15:49 -0500, William Hubbs wrote: > > On Tue, Aug 06, 2019 at 11:29:50PM +0200, Michał Górny wrote: > > > Hi, > > > > > > Some time ago William asked me to move UID/GID assignments from wiki [1] > > > to something more accessible. I've finally gotten around to draft > > > something, and I'd like to hear your comments about it. The idea is to > > > keep a whitespace-separated record format file in api.gentoo.org repo. > > > > > > This is mostly inspired by Fedora's format, specifically the ability to > > > specify both UID and GID for matching user/group on the same line. > > > I've also decided not to attempt to specify disjoint Linux and FreeBSD > > > users/groups on a single line. Instead, they are specified separately > > > and defined by providers (as suggested by Ulrich). > > > > > > Sample, along with big comment explaining the file format, below. > > > > I'm not sure how I feel about whitespace delimiters for this. withno > > further specification, it would make these two lines completely valid: > > > > root 0 0 baselayout > > bin 1 1 > > baselayout some notes here > > > > I propose using a colon like we do in /etc/passwd: > > > > root:0:0:baselayout: > > bin:1:1:baselayout:some notes go here > > > > Thoughts? > > > > Worksforme. Do we allow extra whitespace in fields where it doesn't > matter for alignment?
I'm not sure I follow your question. I think alignment doesn't matter at all since things on api.gentoo.org are meant to be "data files for automated processing and external services". So, whether fields have spaces in them is more about whether it makes sense for the field to have spaces. Thinking about it that way, the only field that should have spaces in it is the notes field. William
signature.asc
Description: Digital signature
