On Sat, Aug 10, 2019 at 1:49 PM William Hubbs <willi...@gentoo.org> 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
That's true, but I think with editor settings embedded in the file and visual pattern of vertical alignment we shouldn't expect a bunch of problems. Michał's original proposal is very readable. Just because it's a "data file" I don't think we should go out of our way to limit readability.