“guix import cran -a bioconductor FOO” downloads twice

  • Open
  • quality assurance status badge
Details
One participant
  • zimoun
Owner
unassigned
Submitted by
zimoun
Severity
normal
Merged with
Z
Z
zimoun wrote on 27 Oct 2020 14:55
“guix import cran -a bioconductor F OO” downloads twice
(address . bug-guix@gnu.org)
865z6v4vuw.fsf@gmail.com
Dear,

Toggle snippet (11 lines)
$ guix import cran -a bioconductor CATALYST

Starting download of /tmp/guix-file.OPtOW1
From https://bioconductor.org/packages/release/bioc/src/contrib/CATALYST_1.12.2.tar.gz...
…12.2.tar.gz 10.2MiB 567KiB/s 00:18 [##################] 100.0%

Starting download of /tmp/guix-file.V6sC1Z
From https://bioconductor.org/packages/release/bioc/src/contrib/CATALYST_1.12.2.tar.gz...
…12.2.tar.gz 10.2MiB 565KiB/s 00:19 [##################] 100.0%

I have not investigated more, if the issue is from the importer or from
the information provided by Bioconductor.


All the best,
simon
Z
Z
zimoun wrote on 25 Feb 2021 16:28
Re: bug#44256: “guix import cran -a bioconductor FOO” downloads twice
(address . 44256@debbugs.gnu.org)
87sg5kcgkl.fsf@gmail.com
Hi,

On Tue, 27 Oct 2020 at 14:55, zimoun <zimon.toutoune@gmail.com> wrote:

Toggle quote (13 lines)
> $ guix import cran -a bioconductor CATALYST
>
> Starting download of /tmp/guix-file.OPtOW1
>>From https://bioconductor.org/packages/release/bioc/src/contrib/CATALYST_1.12.2.tar.gz...
> …12.2.tar.gz 10.2MiB 567KiB/s 00:18 [##################] 100.0%
>
> Starting download of /tmp/guix-file.V6sC1Z
>>From https://bioconductor.org/packages/release/bioc/src/contrib/CATALYST_1.12.2.tar.gz...
> …12.2.tar.gz 10.2MiB 565KiB/s 00:19 [##################] 100.0%
>
> I have not investigated more, if the issue is from the importer or from
> the information provided by Bioconductor.

It comes from ’cran->guix-package’ in (guix import cran):

Toggle snippet (5 lines)
(let ((description (fetch-description repo package-name)))
(if description
(description->package repo description)

where ’fetch-description’ effectively downloads but then
’description->package’ downloads again:

Toggle snippet (6 lines)
(source (download source-url #:method (cond
(git? 'git)
(hg? 'hg)
(else #f))))

This second download is not necessary. The fix needs some care with the
different repositories.


Cheers,
simon
Z
Z
zimoun wrote on 2 Jul 2021 18:32
control message for bug #48792
(address . control@debbugs.gnu.org)
87h7hcn0by.fsf@gmail.com
merge 48792 44256
quit
?