all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: "Cook, Malcolm" <MEC@stowers.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: How to get the package metadata as structured data?
Date: Fri, 5 Aug 2016 13:04:49 +0200	[thread overview]
Message-ID: <CAL1_immcnhHTXdOo=-=3koAvSk=ZytEd7hSE1wEHEW1he5B=yg@mail.gmail.com> (raw)
In-Reply-To: <CAL1_imnqg+8tn=_ht9-NcTBhOCaQvbAzPFQXJobX-=9LDJF5RQ@mail.gmail.com>

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 -l
13949

looks like we have many package variants?

and an example of what guix package -s guix exports

guix package -s guix
name: guix
version: 0.10.0
outputs: out
systems: x86_64-linux i686-linux armhf-linux mips64el-linux
dependencies: bzip2-1.0.6 emacs-magit-popup-2.7.0 emacs-minimal-24.5
geiser-0.8.1
+ gnutls-3.5.2 guile-2.0.11 guile-json-0.5.0 gzip-1.8 libgcrypt-1.7.0
pkg-config-0.29
+ sqlite-3.12.2 zlib-1.2.8
location: gnu/packages/package-management.scm:71:2
homepage: http://www.gnu.org/software/guix
license: GPL 3+
synopsis: Functional package manager for installed software packages
and versions
description: GNU Guix is a functional package manager for the GNU
system, and is also
+ a distribution thereof.  It includes a virtual machine image.
Besides the usual
+ package management features, it also supports transactional upgrades
and roll-backs,
+ per-user profiles, and much more.  It is based on the Nix package manager.

name: guix
version: 0.10.0-1.97c8
outputs: out
systems: x86_64-linux i686-linux armhf-linux mips64el-linux
dependencies: autoconf-wrapper-2.69 automake-1.15 bzip2-1.0.6
emacs-magit-popup-2.7.0
+ emacs-minimal-24.5 geiser-0.8.1 gettext-0.19.8 gnutls-3.5.2 graphviz-2.38.0
+ guile-2.0.11 guile-json-0.5.0 gzip-1.8 help2man-1.47.4 libgcrypt-1.7.0
+ pkg-config-0.29 sqlite-3.12.2 texinfo-6.1 zlib-1.2.8
location: gnu/packages/package-management.scm:216:4
homepage: http://www.gnu.org/software/guix
license: GPL 3+
synopsis: Functional package manager for installed software packages
and versions
description: GNU Guix is a functional package manager for the GNU
system, and is also
+ a distribution thereof.  It includes a virtual machine image.
Besides the usual
+ package management features, it also supports transactional upgrades
and roll-backs,
+ per-user profiles, and much more.  It is based on the Nix package manager.

  reply	other threads:[~2016-08-05 11:04 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 20:49 How to get the package metadata as structured data? David Craven
2016-08-04 21:08 ` Ludovic Courtès
2016-08-04 22:03   ` Cook, Malcolm
2016-08-05 10:17     ` David Craven
2016-08-05 11:04       ` David Craven [this message]
2016-08-05 12:40         ` Aljosha Papsch
2016-08-05 14:50         ` Philippe Ombredanne
2016-08-05 14:58           ` [PATCH] ui: 'package->recutils' serializes the source field David Craven
2016-08-06 12:35             ` Alex Kost
2016-08-06 12:46               ` David Craven
2016-08-06 15:00               ` Mathieu Lirzin
2016-08-07 10:26                 ` David Craven
2016-08-07 11:15                   ` Mathieu Lirzin
2016-08-07 11:19                     ` David Craven
2016-08-07 12:12                       ` David Craven
2016-08-07 13:27                       ` Mathieu Lirzin
2016-08-07 21:33                         ` David Craven
2016-08-08  0:15                           ` Mathieu Lirzin
2016-08-08 11:20                             ` David Craven
2016-08-08 17:53                               ` Mathieu Lirzin
2016-08-08 18:12                                 ` David Craven
2016-08-08 19:07                                 ` Alex Kost
2016-08-08 21:09                                   ` Mathieu Lirzin
2016-08-08 22:58                                     ` David Craven
2016-08-08 23:56                                       ` Mathieu Lirzin
2016-08-09  0:18                                         ` David Craven
2016-08-10 10:12                                           ` David Craven
2016-08-10 11:30                                             ` Mathieu Lirzin
2016-08-10 11:38                                               ` David Craven
2016-08-10 11:46                                                 ` David Craven
2016-08-10 12:06                                                 ` Mathieu Lirzin
2016-08-10 12:15                                                   ` Ben Woodcroft
2016-08-10 12:27                                                     ` David Craven
2016-08-10 12:53                                                       ` Ben Woodcroft
2016-08-10 13:23                                                         ` David Craven
2016-08-10 13:42                                                         ` Ricardo Wurmus
2016-08-10 14:13                                                           ` David Craven
2016-08-11 14:38                                                             ` Alex Kost
2016-08-11 16:19                                                               ` David Craven
2016-08-11 18:15                                                                 ` Ricardo Wurmus
2016-08-12  8:22                                                                 ` Alex Kost
2016-08-11 16:42                                                               ` Ricardo Wurmus
2016-08-12  8:33                                                                 ` Alex Kost
2016-08-12  8:41                                                                   ` Ricardo Wurmus
2016-08-12 10:05                                                                     ` David Craven
2016-08-13  7:46                                                                       ` Alex Kost
2016-08-13 13:00                                                                         ` David Craven
2016-08-13 13:18                                                                           ` Leo Famulari
2016-08-14 16:00                                                                             ` Alex Kost
2016-08-10 14:25                                                           ` Thompson, David
2016-08-10 17:56                                                     ` Leo Famulari
2016-08-11 10:15                             ` Mark H Weaver
2016-08-11 10:21                               ` Mark H Weaver
2016-08-11 11:06                                 ` David Craven
2016-08-11 11:41                                   ` Mark H Weaver
2016-08-11 11:46                                   ` David Craven
2016-08-10 11:46           ` How to get the package metadata as structured data? Ricardo Wurmus
2016-08-10 12:14             ` Catonano
2016-08-10 12:52               ` Ricardo Wurmus
2016-08-10 23:40                 ` Catonano
  -- strict thread matches above, loose matches on Subject: below --
2016-08-04 18:37 Philippe Ombredanne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAL1_immcnhHTXdOo=-=3koAvSk=ZytEd7hSE1wEHEW1he5B=yg@mail.gmail.com' \
    --to=david@craven.ch \
    --cc=MEC@stowers.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.