From: ludo@gnu.org (Ludovic Courtès)
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>, Alex Kost <alezost@gmail.com>
Subject: Re: [PATCH 1/5] import: Add 'elpa' importer
Date: Sat, 27 Jun 2015 12:08:51 +0200 [thread overview]
Message-ID: <871tgx31l8.fsf@gnu.org> (raw)
In-Reply-To: <CAKrPhPNhOFGF3jgMSX1_O_UOMowO9sMr+N+NuUnzJ+hyPfWn7Q@mail.gmail.com> (Federico Beffa's message of "Sat, 27 Jun 2015 10:13:03 +0200")
Federico Beffa <beffa@ieee.org> skribis:
> From 56c460213d76ff2b88fd771b48997c3e03200234 Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Tue, 16 Jun 2015 10:50:06 +0200
> Subject: [PATCH 1/6] import: Add 'elpa' importer.
>
> * guix/import/elpa.scm: New file.
> * guix/scripts/import.scm: Add "elpa" to 'importers'.
> * guix/scripts/import/elpa.scm: New file.
> * Makefile.am (MODULES): Add 'guix/import/elpa.scm' and
> 'guix/scripts/import/elpa.scm'.
> (SCM_TESTS): Add 'tests/elpa.scm'.
> * doc/guix.texi (Invoking guix import): Document it.
> * tests/elpa.scm: New file.
Please add guix/scripts/import/elpa.scm to po/guix/POTFILES.in (sorry,
I had forgotten about it.)
[...]
> +(define* (call-with-downloaded-file url proc
> + #:optional (err-msg "unavailable"))
> + "Fetch URL, store the content in a temporary file and call PROC with that
> +file. Returns the value returned by PROC."
> + (call-with-temporary-output-file
> + (lambda (temp port)
> + (or (and (url-fetch url temp)
> + (call-with-input-file temp proc))
> + (error err-msg url)))))
Please fix the indentation.
Remove the ‘err-msg’ parameter, and change the ‘error’ call to:
(error "download failed" url)
OK to push with these changes.
Thanks!
Ludo’.
prev parent reply other threads:[~2015-06-27 10:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-21 8:28 [PATCH 1/5] import: Add 'elpa' importer Federico Beffa
2015-06-21 20:39 ` Alex Kost
2015-06-24 16:15 ` Federico Beffa
2015-06-24 21:06 ` Ludovic Courtès
2015-06-25 18:33 ` Federico Beffa
2015-06-27 8:13 ` Federico Beffa
2015-06-27 10:08 ` Ludovic Courtès [this message]
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=871tgx31l8.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=alezost@gmail.com \
--cc=beffa@ieee.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.