From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: How to get the package metadata as structured data? Date: Fri, 5 Aug 2016 12:17:42 +0200 Message-ID: References: <87a8gss0mc.fsf@gnu.org> <56f534d8cd574be59d39ad3a3ca5a1b6@exchsrv2.sgc.loc> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVcCL-00065U-1D for guix-devel@gnu.org; Fri, 05 Aug 2016 06:17:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVcCH-0006tV-Ea for guix-devel@gnu.org; Fri, 05 Aug 2016 06:17:48 -0400 Received: from mail-yb0-x233.google.com ([2607:f8b0:4002:c09::233]:34616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVcCG-0006t8-7D for guix-devel@gnu.org; Fri, 05 Aug 2016 06:17:45 -0400 Received: by mail-yb0-x233.google.com with SMTP id x196so13289517ybe.1 for ; Fri, 05 Aug 2016 03:17:43 -0700 (PDT) In-Reply-To: <56f534d8cd574be59d39ad3a3ca5a1b6@exchsrv2.sgc.loc> 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: "Cook, Malcolm" Cc: guix-devel 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