svn commit: r268491 - head/usr.bin/users

Baptiste Daroussin bapt at freebsd.org
Thu Jul 10 23:53:11 UTC 2014


On Thu, Jul 10, 2014 at 01:26:18PM -0700, Jordan Hubbard wrote:
> 
> On Jul 10, 2014, at 10:20 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote:
> 
> > This is important in a wider context.  For example, in the project to add machine-readable output to core utilities, we'd like to be able to parse these into the same machine-readable format.  Apple has the CoreFoundation library for this, which provides a load of stuff, but most importantly number, string, date, dictionary, and array types (i.e. the sorts of things that you'd want in JSON-like serialisation formats).
> 
> Just as important as CoreFoundation are APIs like CFPreferences.  I find it frankly horrifying that in the year 2014, anyone who writes a new daemon or system service will have to invent their own ad-hoc configuration file format in /etc (because, you know, there really aren't enough of them there now) as well as their own out-of-band mechanism for detecting when the configuration data changes. Having a data serialization format would the first step.
> 
We do have libucl in base for that purpose exactly.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20140711/f8a30570/attachment.sig>


More information about the svn-src-all mailing list