From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Profiles/manifests-related command line interface enhancements Date: Sat, 09 Nov 2019 18:59:49 +0100 Message-ID: <878sop6icq.fsf@gnu.org> References: <87mudrxvs8.fsf@ambrevar.xyz> <87mudd59ho.fsf@gnu.org> <877e4glyc3.fsf@ambrevar.xyz> <87v9rxx8ri.fsf@gnu.org> <87d0e4oy51.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36183) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTV1d-0006jc-Ij for guix-devel@gnu.org; Sat, 09 Nov 2019 12:59:55 -0500 In-Reply-To: (Konrad Hinsen's message of "Thu, 07 Nov 2019 12:14:15 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Konrad Hinsen Cc: guix-devel@gnu.org Hi Konrad, Konrad Hinsen skribis: > The bigger issue is config.scm - again unrestricted Guile code, like > manifests. That's not good for publishing because we shouldn't encourage > anyone to run unrestricted code from untrusted sources. It=E2=80=99s a conscious design choice to have configuration as code everyw= here. The alternative is to define DSLs embedded in XML/JSON/YAML, and we know what this often leads to: feature creep, half-baked semi-general-purpose languages. Of course, using a general-purpose language upfront also comes at a price, as you note. But I think that what it has to offer to users outweighs the costs, and that=E2=80=99s a lesson learned from Emacs. Just = to say I=E2=80=99m not willing to replace =E2=80=98config.scm=E2=80=99 with = =E2=80=98config.yaml=E2=80=99, if that=E2=80=99s what you had in mind. :-) So I think we should address the use cases we=E2=80=99ve been discussing wi= thout compromising on this fundamental choice that gives users all the power, flexibility, and transparency of a consistent and extensible system. And I=E2=80=99m sure there are ways to achieve that! Thanks, Ludo=E2=80=99.