From owner-freebsd-hackers@freebsd.org Fri Nov 20 18:17:04 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0935A3453C for ; Fri, 20 Nov 2015 18:17:04 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm29-vm7.bullet.mail.ir2.yahoo.com (nm29-vm7.bullet.mail.ir2.yahoo.com [212.82.97.76]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15A83123E for ; Fri, 20 Nov 2015 18:17:03 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1448043249; bh=8JABXAu/c9q72aXGS/eprCmmGErUd+6WPnRj2Mx0Yfc=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=aj25iMmCPHD7XJOp+ZWPw6Lz8CKprgRIwjREcf3aIYlnPuIMwV6o+8O8ynC8ZcJcpZn842zV/VtFyZr2ihrHY/Pz9dVI0q6n8q2zeUmeodrn4lpkA0YcHWKg4OThxDX7Nn9pO+eXiM8qAvea3lJdPSJoOlO93FHvSjySogBOCEhawxckcYEToWBf4/OcFhEm+YOSXdQVO+/kJWVUrFOA/DDs5YEUNDzvkU18qdW8mQ8pJlSJwyRc0euffJBgxNF3J6eNfSR94FnuEOae/ABbxecrcD0zei+at1ougixrcypeHsKW65X9YK3HfELlZXoXk2oskXN/NURa5TFOjrAXsw== Received: from [212.82.98.54] by nm29.bullet.mail.ir2.yahoo.com with NNFMP; 20 Nov 2015 18:14:09 -0000 Received: from [46.228.39.109] by tm7.bullet.mail.ir2.yahoo.com with NNFMP; 20 Nov 2015 18:14:09 -0000 Received: from [127.0.0.1] by smtp146.mail.ir2.yahoo.com with NNFMP; 20 Nov 2015 18:14:09 -0000 X-Yahoo-Newman-Id: 292418.67073.bm@smtp146.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Sv9ByJoVM1kqKXv54HV0gpdqxPyBSy2CIWIEPQ2Ss0tEtjh SB.g44wVweXyB.yyAMeHTlWBGgxCCv_pXaOTlg18gCbODhqDAuT4lKYZHMOy QphEYV6tC7v3f8toHD7K5Dz0QTov1JyXZqj1ijLVVFwDA5_ND68XQwEbiHpT 6fzW3jdavBq1RlQns348pZH4_f4Uy94kgY4BFSoMwCPfBTQrWyLVA5si29P_ k1VfiD4it7UZ3aIpXV6gxeQ7MufUIRsCpGy4SBrf9daGLnoC21MI9hC1xsqW KLUYhTfbho4D3gC0CCmaOoYVaK7DXCfoZ2wldHD.3XWz7AmGVWerJW32wx1D F2WJQ4W31iWH.9JrseKcMn9BP_ks5tUfwhDGMmAD_DLAqbXk1IPNnwPt0of6 e3wk656zZ0PziezN9bGh.7uUfYuyKILmUgpmMFNU96pD5fq3535Qx0MG0srw mxQsT_GXesb.tAhNAtof4bZWPShF0k8Ln8kTTY68ffVD44jyxoqsXY4pX0C0 5QoFDitN6vHvzonLvVxisVphjOh2NmXKt71eyZIE- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Fri, 20 Nov 2015 19:14:26 +0100 From: Eduardo Morras To: freebsd-hackers@freebsd.org Subject: Re: libUCL / UCL as FreeBSD config question Message-Id: <20151120191426.a720ca4f4e73bd867d535104@yahoo.es> In-Reply-To: <564F6118.5030702@freebsd.org> References: <5B598F72-C5DD-48FD-866D-F90E117D646E@rdsor.ro> <564F6118.5030702@freebsd.org> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 18:17:04 -0000 On Fri, 20 Nov 2015 13:06:16 -0500 Allan Jude wrote: > Although some limitation in libucl mean that, if you have a config > that has comments in it, the comments are lost, as they are not > represented in the in-memory version of the object that then gets > serialized for output. If you treat the config files as a database, > then this is fine, but if the user expects to still hand edit them > with an editor, this is a fairly big POLA violation. POLA as in https://en.wikipedia.org/wiki/Principle_of_least_astonishment or https://en.wikipedia.org/wiki/Principle_of_least_privilege ? > > -- > Allan Jude > --- --- Eduardo Morras