[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: import: cran: Avoid HTTP redirect.
From: |
Ludovic Courtès |
Subject: |
08/08: import: cran: Avoid HTTP redirect. |
Date: |
Wed, 21 Oct 2015 12:45:35 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 053cfdb3d6a692e32e504f6993ef3e54bc68e754
Author: Ludovic Courtès <address@hidden>
Date: Wed Oct 21 14:40:39 2015 +0200
import: cran: Avoid HTTP redirect.
* guix/import/cran.scm (cran-fetch): Add trailing slash in URL to avoid
HTTP redirect.
---
guix/import/cran.scm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index 218d557..1491ca1 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -93,7 +93,7 @@ first cell of a table row is considered a label cell."
"Return an sxml representation of the CRAN page for the R package NAME,
or #f on failure. NAME is case-sensitive."
;; This API always returns the latest release of the module.
- (let ((cran-url (string-append %cran-url name)))
+ (let ((cran-url (string-append %cran-url name "/")))
(false-if-exception
(xml->sxml (http-fetch cran-url)
#:trim-whitespace? #t
- branch master updated (45e1096 -> 053cfdb), Ludovic Courtès, 2015/10/21
- 01/08: http-client: '%http-cache-ttl' is really a parameter., Ludovic Courtès, 2015/10/21
- 03/08: import: elpa: Use 'http-fetch/cached' to retrieve the archive., Ludovic Courtès, 2015/10/21
- 08/08: import: cran: Avoid HTTP redirect.,
Ludovic Courtès <=
- 05/08: refresh: Add '--type' option., Ludovic Courtès, 2015/10/21
- 06/08: refresh: Remove exception catch-all., Ludovic Courtès, 2015/10/21
- 02/08: gnu-maintenance: Generalize, leading to (guix upstream)., Ludovic Courtès, 2015/10/21
- 04/08: import: elpa: Add updater., Ludovic Courtès, 2015/10/21
- 07/08: import: cran: Add updater., Ludovic Courtès, 2015/10/21