From: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
To: guix-devel@gnu.org
Cc: Alex Sassmannshausen <alex@pompo.co>
Subject: [PATCH] import/cpan: Maybe coerce version to string
Date: Sat, 12 Nov 2016 18:20:04 +0100 [thread overview]
Message-ID: <20161112172005.4445-1-alex@pompo.co> (raw)
Hello,
Sometimes json-fetch returns a number for version in the CPAN importer, when a
string is expected.
This simple patch performs a match on the value returned by json-fetch, to
coerce the number to string if necessary.
WDYT?
Alex
Alex Sassmannshausen (1):
import/cpan: Maybe coerce version to string.
guix/import/cpan.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
2.10.1
next reply other threads:[~2016-11-12 17:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-12 17:20 Alex Sassmannshausen [this message]
2016-11-12 17:20 ` [PATCH] import/cpan: Maybe coerce version to string Alex Sassmannshausen
2016-11-13 12:13 ` Ludovic Courtès
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=20161112172005.4445-1-alex@pompo.co \
--to=alex.sassmannshausen@gmail.com \
--cc=alex@pompo.co \
--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.