[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get the package metadata as structured data?
From: |
Ricardo Wurmus |
Subject: |
Re: How to get the package metadata as structured data? |
Date: |
Wed, 10 Aug 2016 13:46:05 +0200 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Philippe Ombredanne <address@hidden> writes:
> David Craven <address@hidden> 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’m not enthusiastic about adding a serialised form of the
source field to the recutils output.)
~~ Ricardo
- Re: [PATCH] ui: 'package->recutils' serializes the source field., (continued)
- Re: [PATCH] ui: 'package->recutils' serializes the source field., Thompson, David, 2016/08/10
- Re: [PATCH] ui: 'package->recutils' serializes the source field., Leo Famulari, 2016/08/10
- Re: [PATCH] ui: 'package->recutils' serializes the source field., Mark H Weaver, 2016/08/11
- Re: [PATCH] ui: 'package->recutils' serializes the source field., Mark H Weaver, 2016/08/11
- Re: [PATCH] ui: 'package->recutils' serializes the source field., David Craven, 2016/08/11
- Re: [PATCH] ui: 'package->recutils' serializes the source field., Mark H Weaver, 2016/08/11
- Re: [PATCH] ui: 'package->recutils' serializes the source field., David Craven, 2016/08/11
- Re: How to get the package metadata as structured data?,
Ricardo Wurmus <=
- Re: How to get the package metadata as structured data?, Catonano, 2016/08/10
- Re: How to get the package metadata as structured data?, Ricardo Wurmus, 2016/08/10
- Re: How to get the package metadata as structured data?, Catonano, 2016/08/10