From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Re: Help with sxml simple parser for the quicklisp importer Date: Wed, 23 Jan 2019 22:21:42 +0100 Message-ID: <961a50e7-b048-87d9-0881-e97ed1683dc1@riseup.net> References: <1b161633-c285-1401-d771-c965dae58149@riseup.net> <874l9z78sc.fsf@elephly.net> <87womv5psn.fsf@elephly.net> <42ab2c44-3e2f-d2ba-17de-3f73f78b148b@riseup.net> <87tvhz5nsz.fsf@elephly.net> <87zhrrqjyy.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmPy2-00051g-8l for guix-devel@gnu.org; Wed, 23 Jan 2019 16:21:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmPy0-00015J-PE for guix-devel@gnu.org; Wed, 23 Jan 2019 16:21:50 -0500 Received: from mx1.riseup.net ([198.252.153.129]:53488) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gmPy0-00014k-J8 for guix-devel@gnu.org; Wed, 23 Jan 2019 16:21:48 -0500 In-Reply-To: <87zhrrqjyy.fsf@ambrevar.xyz> Content-Language: en-US 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: Pierre Neidhardt , Ricardo Wurmus Cc: guix-devel On 2019-01-23 19:58, Pierre Neidhardt wrote: > > I'm not sure you need to extract Quickdocs data at all. What Quickdocs does is > all automated I believe, so you could probably do the same it's already doing: > extract the metadata from the project themselves. > > Most of the data is contained in the .asd files. I think looking at Quickdocs > code could be most informative, especially considering it's written in Common > Lisp ;) > You are right. And Ricardo. Quickdocs seems like a dirty hack. The information we want is in the tgz that we download so I just found out that we can do the same as with the pypi importer and extract it from there :) The .asd files seem uniformly formatted. -- Cheers Swedebugia