From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH] ui: 'package->recutils' serializes the source field. Date: Fri, 12 Aug 2016 11:33:03 +0300 Message-ID: <87lh02gzeo.fsf@gmail.com> References: <87vazcce0a.fsf@gnu.org> <87r39zcfkz.fsf@gnu.org> <871t1zoz98.fsf@gmail.com> <87invbc6hn.fsf@gnu.org> <87ziombyrx.fsf@gnu.org> <87popglv3u.fsf@gnu.org> <87lh04ltg2.fsf@gnu.org> <32ade0cc-b971-a3fa-ea92-9b313955a373@uq.edu.au> <4e35f009-ba71-f430-65e6-e986365b0c77@uq.edu.au> <87twesd9jw.fsf@elephly.net> <87k2fnz7zl.fsf@gmail.com> <87ziojb6kj.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDEz-0008Fr-E0 for guix-devel@gnu.org; Fri, 12 Aug 2016 10:15:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYDEk-000446-1c for guix-devel@gnu.org; Fri, 12 Aug 2016 10:15:18 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:38303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDEj-0003zR-OV for guix-devel@gnu.org; Fri, 12 Aug 2016 10:15:01 -0400 Received: by mail-wm0-x232.google.com with SMTP id o80so36660381wme.1 for ; Fri, 12 Aug 2016 07:14:55 -0700 (PDT) In-Reply-To: <87ziojb6kj.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 11 Aug 2016 18:42:36 +0200") 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: Ricardo Wurmus Cc: guix-devel , David Craven Ricardo Wurmus (2016-08-11 19:42 +0300) wrote: > Alex Kost writes: > >> David Craven (2016-08-10 17:13 +0300) wrote: >> >>>> Even so, if one insisted on using the recutils output in a programmatic >>>> fashion (e.g. in a bash script), it would be best to run =E2=80=9Cguix= build >>>> --source=E2=80=9D on the package names to obtain the actual source tar= balls that >>>> are used by Guix. >>> >>> I don't disagree. Alex what do you think? >> >> Do you mean about your original proposal? I am for it: I don't >> comprehend why the source URL can't be displayed (especially since a >> user can easily find it anyway), but I don't understand FSDG well enough >> to judge, so I prefer not to participate in this discussion. > > I have previously stated that I=E2=80=99m not convinced that we really ne= ed a > serialisation of the =E2=80=9Csource=E2=80=9D field in the user-facing re= cutils output. > The patch was a welcome demonstration of how this feature would look > like. Yes, I agree that it's a good demonstration of using Scheme API to get any package info you need. But many (probably most) people do not know Guile and this Guix package API well enough, and for them it may be much easier to operate on the recutils output of "guix package --show" in their scripts. If I understand correctly, that's why David suggested that patch. P.S. I don't want to raise another wave of messages in this thread :-) If I understand it right, everyone agreed on not merging the patch. --=20 Alex