From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: How to get the package metadata as structured data? Date: Wed, 10 Aug 2016 14:14:11 +0200 Message-ID: References: <87a8gss0mc.fsf@gnu.org> <56f534d8cd574be59d39ad3a3ca5a1b6@exchsrv2.sgc.loc> <87y444deyq.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114abe1e4aaf250539b69693 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXSOj-0007Uz-TE for guix-devel@gnu.org; Wed, 10 Aug 2016 08:14:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXSOi-0004nw-Ni for guix-devel@gnu.org; Wed, 10 Aug 2016 08:14:13 -0400 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:36679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXSOi-0004ne-Hl for guix-devel@gnu.org; Wed, 10 Aug 2016 08:14:12 -0400 Received: by mail-io0-x236.google.com with SMTP id b62so39332376iod.3 for ; Wed, 10 Aug 2016 05:14:12 -0700 (PDT) In-Reply-To: <87y444deyq.fsf@elephly.net> 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 --001a114abe1e4aaf250539b69693 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2016-08-10 13:46 GMT+02:00 Ricardo Wurmus : > > Philippe Ombredanne writes: > > > David Craven wrote: > >> I aborted, since I realised that guix package -s doesn't include the > >> source url and hash, which would be important for a testsuite... > > > > IMHO, if the rec data is the only way to get to the packages data, the > > source url would be rather essential to get in. > > The recutils output is not the *only* way to access the package data. > All packages in Guix are just Scheme variables. Package data are > available as S-expressions and can be read by Scheme programs or parsed > by external applications. The recutils output is just an additional > format used when interacting with Guix on the command line. > > (Personally, I=E2=80=99m not enthusiastic about adding a serialised form = of the > source field to the recutils output.) > > ~~ Ricardo > > > Not so long ago, someone posted a script that produced a web page with the results of linting all the packages That's an example One could produce an xml file to be imported in Gephi, just to make another example. Or a SQL text file to be imported in some relational db, or a different format to be imported in some not relational db... --001a114abe1e4aaf250539b69693 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2016-08-10 13:46 GMT+02:00 Ricardo Wurmus <rekado@elephl= y.net>:
--001a114abe1e4aaf250539b69693--