[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
210/211: import/cran: download: Accept optional REF argument.
From: |
guix-commits |
Subject: |
210/211: import/cran: download: Accept optional REF argument. |
Date: |
Tue, 20 Sep 2022 06:24:45 -0400 (EDT) |
rekado pushed a commit to branch wip-r
in repository guix.
commit 235c0b317f8f2f50c874ce6e8c64b34317a75402
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Aug 12 18:59:11 2022 +0200
import/cran: download: Accept optional REF argument.
* guix/import/cran.scm (download): Accept REF argument for git downloads.
---
guix/import/cran.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index 4e1ce7c010..69d01b5f7c 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -200,11 +200,11 @@ bioconductor package NAME, or #F if the package is
unknown."
;; Little helper to download URLs only once.
(define download
(memoize
- (lambda* (url #:key method)
+ (lambda* (url #:key method (ref '()))
(with-store store
(cond
((eq? method 'git)
- (latest-repository-commit store url))
+ (latest-repository-commit store url #:ref ref))
((eq? method 'hg)
(call-with-temporary-directory
(lambda (dir)
- 207/211: gnu: r-forcats: Update to 0.5.2., (continued)
- 207/211: gnu: r-forcats: Update to 0.5.2., guix-commits, 2022/09/20
- 201/211: gnu: r-base64: Update to 2.0.1., guix-commits, 2022/09/20
- 87/211: gnu: r-als: Update to 0.0.7., guix-commits, 2022/09/20
- 200/211: gnu: r-tidyr: Update to 1.2.1., guix-commits, 2022/09/20
- 191/211: gnu: r-openssl: Update to 2.0.3., guix-commits, 2022/09/20
- 211/211: import/cran: description->package: Use COND and computed booleans., guix-commits, 2022/09/20
- 192/211: gnu: r-httr: Update to 1.4.4., guix-commits, 2022/09/20
- 198/211: gnu: r-rsqlite: Update to 2.2.17., guix-commits, 2022/09/20
- 197/211: gnu: r-gtable: Update to 0.3.1., guix-commits, 2022/09/20
- 209/211: gnu: r-desctools: Update to 0.99.46., guix-commits, 2022/09/20
- 210/211: import/cran: download: Accept optional REF argument.,
guix-commits <=
- 203/211: gnu: r-statmod: Update to 1.4.37., guix-commits, 2022/09/20
- 193/211: gnu: r-rstudioapi: Update to 0.14., guix-commits, 2022/09/20
- 199/211: gnu: r-viridislite: Update to 0.4.1., guix-commits, 2022/09/20
- 206/211: gnu: r-sn: Update to 2.1.0., guix-commits, 2022/09/20
- 96/211: gnu: r-gamlss-dist: Update to 6.0-5., guix-commits, 2022/09/20
- 188/211: gnu: r-dplyr: Update to 1.0.10., guix-commits, 2022/09/20