GNU bug report logs - #44256
“guix import cran -a bioconductor FOO” downloads twice

Previous Next

Package: guix;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Tue, 27 Oct 2020 13:56:01 UTC

Severity: normal

Merged with 48792

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44256 in the body.
You can then email your comments to 44256 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#44256; Package guix. (Tue, 27 Oct 2020 13:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 27 Oct 2020 13:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: “guix import cran -a bioconductor FOO” downloads twice
Date: Tue, 27 Oct 2020 14:55:03 +0100
Dear,

--8<---------------cut here---------------start------------->8---
$ 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%
--8<---------------cut here---------------end--------------->8---

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


All the best,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#44256; Package guix. (Wed, 03 Mar 2021 13:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 44256 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 44256 <at> debbugs.gnu.org
Subject: Re: bug#44256: “guix import cran -a
 bioconductor FOO” downloads twice
Date: Thu, 25 Feb 2021 16:28:26 +0100
Hi,

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

> $ 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):

--8<---------------cut here---------------start------------->8---
     (let ((description (fetch-description repo package-name)))
       (if description
           (description->package repo description)
--8<---------------cut here---------------end--------------->8---

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

--8<---------------cut here---------------start------------->8---
         (source     (download source-url #:method (cond
                                                    (git? 'git)
                                                    (hg? 'hg)
                                                    (else #f))))
--8<---------------cut here---------------end--------------->8---

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


Cheers,
simon









Merged 44256 48792. Request was from zimoun <zimon.toutoune <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 02 Jul 2021 16:34:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#44256; Package guix. (Fri, 29 Nov 2024 18:36:01 GMT) Full text and rfc822 format available.

Message #13 received at 44256 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 44256 <at> debbugs.gnu.org
Subject: “guix import cran -a bioconductor FOO” downloads twice
Date: Fri, 29 Nov 2024 19:35:25 +0100
Fixed with commit 64d9c7ea3fec163d86dde933471594ef2fe8c356 (on r-team
branch).  This will soon be rebased on top of the master branch and
merged.

-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#44256; Package guix. (Mon, 02 Dec 2024 19:17:01 GMT) Full text and rfc822 format available.

Message #16 received at 44256 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>, 44256 <at> debbugs.gnu.org
Subject: Re: bug#44256: “guix import cran -a
 bioconductor FOO” downloads twice
Date: Mon, 02 Dec 2024 16:02:18 +0100
Hi Ricardo,

On Fri, 29 Nov 2024 at 19:35, Ricardo Wurmus <rekado <at> elephly.net> wrote:
> Fixed with commit 64d9c7ea3fec163d86dde933471594ef2fe8c356 (on r-team
> branch).  This will soon be rebased on top of the master branch and
> merged.

Cool for the fix!  Hum, I do not find this commit.  Do I miss something?

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#44256; Package guix. (Mon, 02 Dec 2024 20:24:02 GMT) Full text and rfc822 format available.

Message #19 received at 44256 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 44256 <at> debbugs.gnu.org
Subject: Re: bug#44256: “guix import cran -a
 bioconductor FOO” downloads twice
Date: Mon, 02 Dec 2024 21:23:34 +0100
Simon Tournier <zimon.toutoune <at> gmail.com> writes:

> Hi Ricardo,
>
> On Fri, 29 Nov 2024 at 19:35, Ricardo Wurmus <rekado <at> elephly.net> wrote:
>> Fixed with commit 64d9c7ea3fec163d86dde933471594ef2fe8c356 (on r-team
>> branch).  This will soon be rebased on top of the master branch and
>> merged.
>
> Cool for the fix!  Hum, I do not find this commit.  Do I miss something?

You didn't miss anything.  The r-team branch keeps getting rebased as
other branches are merged into master, so the commit hash changes.  I'll
try to remember to close this bug once the r-team branch has been
merged.

-- 
Ricardo




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Wed, 04 Dec 2024 11:46:02 GMT) Full text and rfc822 format available.

Notification sent to zimoun <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Wed, 04 Dec 2024 11:46:02 GMT) Full text and rfc822 format available.

Message #24 received at 44256-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 44256-done <at> debbugs.gnu.org
Subject: “guix import cran -a bioconductor FOO” downloads twice
Date: Wed, 04 Dec 2024 12:44:51 +0100
The commit fixing it is f0a93b18b4488c3bb802197aba4a31b28508c902 on the
master branch.

Since this bug was reported, there is a new extraneous download which
does not originate from the importer itself, as discussed here:
https://yhetil.org/guix-devel/87zflkctrz.fsf <at> elephly.net/

It may be worth opening a new bug report about this.

-- 
Ricardo




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Wed, 04 Dec 2024 11:46:03 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Wed, 04 Dec 2024 11:46:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 Jan 2025 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 71 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.