[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
210/214: import/cran: download: Accept optional REF argument.
From: |
guix-commits |
Subject: |
210/214: import/cran: download: Accept optional REF argument. |
Date: |
Tue, 20 Sep 2022 11:07:38 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 8c620a60367e26b30dae22988e2ddc972b64234d
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)
- 165/214: gnu: r-bbotk: Update to 0.5.4., (continued)
- 165/214: gnu: r-bbotk: Update to 0.5.4., guix-commits, 2022/09/20
- 173/214: gnu: r-paws-common: Update to 0.5.0., guix-commits, 2022/09/20
- 179/214: gnu: r-ggh4x: Update to 0.2.2., guix-commits, 2022/09/20
- 188/214: gnu: r-dplyr: Update to 1.0.10., guix-commits, 2022/09/20
- 40/214: gnu: r-jomo: Update to 2.7-4., guix-commits, 2022/09/20
- 75/214: gnu: r-gitcreds: Update to 0.1.2., guix-commits, 2022/09/20
- 32/214: gnu: r-haven: Update to 2.5.1., guix-commits, 2022/09/20
- 213/214: gnu: python-pyvcf: Use older setuptools., guix-commits, 2022/09/20
- 182/214: gnu: r-nlme: Update to 3.1-159., guix-commits, 2022/09/20
- 183/214: gnu: r-survival: Update to 3.4-0., guix-commits, 2022/09/20
- 210/214: import/cran: download: Accept optional REF argument.,
guix-commits <=
- 195/214: gnu: r-rcpparmadillo: Update to 0.11.2.4.0., guix-commits, 2022/09/20
- 203/214: gnu: r-statmod: Update to 1.4.37., guix-commits, 2022/09/20
- 41/214: gnu: r-scatterplot3d: Update to 0.3-42., guix-commits, 2022/09/20
- 110/214: gnu: r-sctransform: Update to 0.3.4., guix-commits, 2022/09/20
- 128/214: gnu: r-qqconf: Update to 1.3.0., guix-commits, 2022/09/20
- 109/214: gnu: r-lintr: Update to 3.0.1., guix-commits, 2022/09/20
- 108/214: gnu: r-text2vec: Update to 0.6.2., guix-commits, 2022/09/20
- 162/214: gnu: r-lgr: Update to 0.4.4., guix-commits, 2022/09/20
- 167/214: gnu: r-delaporte: Update to 8.0.3., guix-commits, 2022/09/20
- 170/214: gnu: r-rapiserialize: Update to 0.1.2., guix-commits, 2022/09/20