From owner-svn-src-all@FreeBSD.ORG Thu Jul 10 23:53:10 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C59673B5; Thu, 10 Jul 2014 23:53:10 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 900E0245C; Thu, 10 Jul 2014 23:53:09 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hi2so5244037wib.4 for ; Thu, 10 Jul 2014 16:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Wb7R9U9h4KW+CjP1CXzB44E5NwWNBoOO6jrZkI3f8+o=; b=yLEnh8w4LR/0eY2guJ5cufdxRxS0m9cU+bTwdo/Bzt9MqgbXHGkhfjHGCwpg7auPN6 xtpkPH7uRQl8h/x3f3lfjEtWJCGXiJi9hHgthoWzOA6JLSqAnONhb/pPnNCaQNDI5FwB Y+4//osJugbveQv9XU+znHFZElxO6a/bDbWxqb8hnDQMi620j8odXxHJBQDtq7q/fK5i V+EtS/SNnK9dkuPe90xUlNzPxYNqq9E86klh3LBaE2axaX1q96oRt2GwOTvsudzYZE6h 4I7xob9HTJis2L6QWPPVmme/coKE0AIu2YIRdAxCM+8wxumrdavrQn9qvG3Ooy5TKRmC 8Rhg== X-Received: by 10.180.74.11 with SMTP id p11mr211866wiv.68.1405036385507; Thu, 10 Jul 2014 16:53:05 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id e18sm581581wic.0.2014.07.10.16.53.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jul 2014 16:53:04 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 11 Jul 2014 01:53:00 +0200 From: Baptiste Daroussin To: Jordan Hubbard Subject: Re: svn commit: r268491 - head/usr.bin/users Message-ID: <20140710235300.GG93051@ivaldir.etoilebsd.net> References: <20140710152353.GF1812@ptrcrt.ch> <20140710154213.GG1812@ptrcrt.ch> <20140710155342.GB93051@ivaldir.etoilebsd.net> <53BEC65D.10501@freebsd.org> <4B20737F-FB09-47DF-982F-E17F8989B83F@cl.cam.ac.uk> <172E965B-FCFE-4DA8-A845-08AEF931BD3B@me.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9/eUdp+dLtKXvemk" Content-Disposition: inline In-Reply-To: <172E965B-FCFE-4DA8-A845-08AEF931BD3B@me.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Ed Schouten , Adrian Chadd , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , David Chisnall , Nathan Whitehorn , Pietro Cerutti , "svn-src-head@freebsd.org" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 23:53:11 -0000 --9/eUdp+dLtKXvemk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 10, 2014 at 01:26:18PM -0700, Jordan Hubbard wrote: >=20 > On Jul 10, 2014, at 10:20 AM, David Chisnall wrote: >=20 > > This is important in a wider context. For example, in the project to a= dd 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 num= ber, string, date, dictionary, and array types (i.e. the sorts of things th= at you'd want in JSON-like serialisation formats). >=20 > 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 con= figuration data changes. Having a data serialization format would the first= step. >=20 We do have libucl in base for that purpose exactly. regards, Bapt --9/eUdp+dLtKXvemk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlO/J1wACgkQ8kTtMUmk6EyDsgCgiMMVIqMWVOudoUT8C18oz3lY 3iEAoKldTweAxtw+SehKVWKo8nBNabfF =DZhU -----END PGP SIGNATURE----- --9/eUdp+dLtKXvemk--