all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: swedebugia <swedebugia@riseup.net>
To: guix-devel <guix-devel@gnu.org>
Subject: Quicklisp importer bug in tarball->extract->parse
Date: Fri, 29 Mar 2019 21:07:39 +0100	[thread overview]
Message-ID: <adba0a22-522b-75b4-4ab5-b6e565b37441@riseup.net> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1878 bytes --]

Hi

I continued working on it and have run into a bug with extracting and
parsing files in the tarball (like the pypi importer does)

This is really putting my lisp skills to the test I feel like i'm in
over my head here. 😛

The idea is to
- first extract information from quicklisp - done
- then extract the tarball - done
- then find the 'name'.asd-file in the extracted directory - fails
- then parse with PEG - todo
- then print the result - todo

Does anyone have a clue what is wrong or how to debug (find-files)?

Here is the code: https://gitlab.com/swedebugia/guix/tree/quicklisp

Here is the output:

Starting download of /tmp/guix-file.Q7fTrf
From https://beta.quicklisp.org/dist/quicklisp.txt...
 quicklisp.txt  408B                  202KiB/s 00:00
[##################] 100.0%

Starting download of /tmp/guix-file.N8gfUL
From http://beta.quicklisp.org/dist/quicklisp/2019-03-07/releases.txt...
 releases.txt  423KiB                 1.1MiB/s 00:00
[##################] 100.0%

Starting download of /tmp/guix-file.B6vRet
From https://beta.quicklisp.org/dist/quicklisp.txt...
 quicklisp.txt  408B                  223KiB/s 00:00
[##################] 100.0%

Starting download of /tmp/guix-file.QA07gb
From http://beta.quicklisp.org/dist/quicklisp/2019-03-07/releases.txt...
 releases.txt  423KiB                 768KiB/s 00:01
[##################] 100.0%

;;; (asd "1am.asd")

Starting download of /tmp/guix-file.4QyAk4
From
http://beta.quicklisp.org/archive/1am/2014-11-06/1am-20141106-git.tgz...
 …06-git.tgz  3KiB                    4.2MiB/s 00:00
[##################] 100.0%

;;; (dirname "1am-20141106-git")

;;; (system-files "1am.asd")

;;; (dir "/tmp/guix-directory.DnfwBX")

;;; (file-name "1am.asd")

;;; (find-files ())
warning: Failed to extract requirements files

-- 
Cheers Swedebugia


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

             reply	other threads:[~2019-03-29 20:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-29 20:07 swedebugia [this message]
2019-04-03  8:46 ` Quicklisp importer bug in tarball->extract->parse Pierre Neidhardt
2019-04-11 14:31   ` Pierre Neidhardt
2019-04-11 15:07     ` Ricardo Wurmus
2019-04-11 15:27       ` Pierre Neidhardt
2019-04-27  6:26     ` swedebugia
2019-04-27  7:15       ` Pierre Neidhardt

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=adba0a22-522b-75b4-4ab5-b6e565b37441@riseup.net \
    --to=swedebugia@riseup.net \
    --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.