2016-08-10 14:52 GMT+02:00 Ricardo Wurmus :
>
> Catonano writes:
>
> > 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,
Catonano writes:
> 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 th
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 g
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 e
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.
--
Cordially
Phili
guix package prints its output in rec format. You can use recutils to process
the output.
Am 5. August 2016 13:04:49 MESZ, schrieb David Craven :
>I aborted, since I realised that guix package -s doesn't include the
>source url and hash, which would be important for a testsuite...
>
>Some interes
I aborted, since I realised that guix package -s doesn't include the
source url and hash, which would be important for a testsuite...
Some interesting measurements:
guix package --list-available | grep -o --regex "^[a-zA-Z0-9-]*" | wc -l
3797
cat guix-metadata.txt | grep --regex "^name: .*$" | wc
This should works, but it's pretty slow...
guix package --list-available | grep -o --regex "^[a-zA-Z0-9-]*" |
xargs -n1 guix package -s 1> guix-metadata.txt
time sh -c "guix package -s guix &> /dev/null"
sh -c "guix package -s guix &> /dev/null" 2.42s user 0.07s system
113% cpu 2.203 total
ounces+mec=stowers@gnu.org]
> On Behalf Of Ludovic Courtès
> Sent: Thursday, August 04, 2016 4:09 PM
> To: Philippe Ombredanne ; David Craven
>
> Cc: guix-devel
> Subject: Re: How to get the package metadata as structured data?
>
> Hi!
>
> David C
Hi!
David Craven skribis:
> All package metadata can be accessed easily through scheme. There is
> no way to export this data currently, although it probably wouldn't be
> too hard to implement.
One way is:
guix package -s .
which returns a recutils database¹, which is essentially plain tex
Hi Philippe,
Thank you for your interest in guix =)
All package metadata can be accessed easily through scheme. There is
no way to export this data currently, although it probably wouldn't be
too hard to implement.
The approach I was planning on taking is the following:
Take a package, remove al
11 matches
Mail list logo