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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: zimoun <zimon.toutoune@HIDDEN>; merged with #48792; dated Tue, 27 Oct 2020 13:56:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 44256 48792. Request was from zimoun <zimon.toutoune@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 44256 <at> debbugs.gnu.org:


Received: (at 44256) by debbugs.gnu.org; 3 Mar 2021 13:30:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 03 08:30:21 2021
Received: from localhost ([127.0.0.1]:55383 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lHRa1-0001uX-9Q
	for submit <at> debbugs.gnu.org; Wed, 03 Mar 2021 08:30:21 -0500
Received: from mail-wr1-f48.google.com ([209.85.221.48]:41100)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1lHRZs-0001t9-FZ
 for 44256 <at> debbugs.gnu.org; Wed, 03 Mar 2021 08:30:13 -0500
Received: by mail-wr1-f48.google.com with SMTP id f12so19883497wrx.8
 for <44256 <at> debbugs.gnu.org>; Wed, 03 Mar 2021 05:30:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:references:date:in-reply-to:message-id:user-agent
 :mime-version:content-transfer-encoding;
 bh=GMz/w3uJ5+8UnNcCmk8+FAlAie3rHHCl68T1dukkQbU=;
 b=Ym5iyA5PLUDSxoAuiu60oIDCOVTuCBi93Uy/mCVLGz3NGXRWWveCQ+86UxxT8iFYaU
 8pZtpZz0HrCOoPrxD3naCuXYyZgkdpAzlqlgZTCUihCt1HnYWqd3PVYPx+HQ5wFdAxSO
 7FbSsO0yV3R3WmdeyX5YhwaqsahN/IJDKK7PjygwitOtr5GtqCiTiVcmFcdeSv6WcH7v
 KB0nI3n29h1D31bo7y5PKqWkQFYw7+gHmWFM5phxK4SHCegSOZtxBujktxZAphpijQhA
 ij4yxBbjabbOY8BLoI0ZWs69QriHcup+8/KhFz5f5Lp78ImoNCKSRFl3z6NoT9glss4f
 dy4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=GMz/w3uJ5+8UnNcCmk8+FAlAie3rHHCl68T1dukkQbU=;
 b=VYnxDGNF6GoB9VivSSMHn5uTr6rau5V7FGQ43RJBKREryVFPU4q23NpgQbOyzOtOMF
 tBG38Cq+a9Px1Ahjqc22ZMCYQUt47ffsmWtJ1sPHS2oB+/Lrom7cmHYhU07NLXK2Uf70
 29tB5HrCK0gPwdRiAOqNU4W24BqwpeQ/2BN+/CbdfzfgfocHfyoHESglpchFLZxPnwDE
 g3+tpVuTva9jolNW7JWZIrY1jlsPDRhBcTEnZf5kdKbB08bul6tKLr+AMK97+iZ3Ye28
 Wcq0BlDIVvsXXKzViotzRUOdAC0SfX9WUXvMjiUC7Gq68XdanDGc6IbEW93XQbLbdVjS
 Bghw==
X-Gm-Message-State: AOAM533tM8gpZ2CMY9Ivc8+XcTPqUrrQSoVbjn9/q2t+n71eSRI9lHe7
 9hSiU1rUTSNNIscGoezhsYW2c5dnrtk=
X-Google-Smtp-Source: ABdhPJxUcUVARQ1mtGEe78OMZChRVI/dxszTnpFAaU35NhppgRMc3kDeTYROdkcv2YDAz+jjXs3mvQ==
X-Received: by 2002:adf:ef4c:: with SMTP id c12mr27739809wrp.112.1614778206902; 
 Wed, 03 Mar 2021 05:30:06 -0800 (PST)
Received: from pfiuh02 ([193.48.40.241])
 by smtp.gmail.com with ESMTPSA id v13sm6834214wrt.45.2021.03.03.05.30.06
 for <44256 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 03 Mar 2021 05:30:06 -0800 (PST)
From: zimoun <zimon.toutoune@HIDDEN>
To: 44256 <at> debbugs.gnu.org
Subject: Re: bug#44256: =?utf-8?Q?=E2=80=9Cguix?= import cran -a
 bioconductor =?utf-8?Q?FOO=E2=80=9D?= downloads twice
References: <865z6v4vuw.fsf@HIDDEN>
Date: Thu, 25 Feb 2021 16:28:26 +0100
In-Reply-To: <865z6v4vuw.fsf@HIDDEN> (zimoun's message of "Tue, 27 Oct 2020
 14:55:03 +0100")
Message-ID: <87sg5kcgkl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 2.1 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, On Tue, 27 Oct 2020 at 14:55, zimoun 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.g [...] 
 
 Content analysis details:   (2.1 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.1 DATE_IN_PAST_96_XX     Date: is 96 hours or more before Received:
                             date
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (zimon.toutoune[at]gmail.com)
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.221.48 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [209.85.221.48 listed in wl.mailspike.net]
X-Debbugs-Envelope-To: 44256
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, On Tue, 27 Oct 2020 at 14:55, zimoun 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.g [...] 
 
 Content analysis details:   (1.1 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [209.85.221.48 listed in wl.mailspike.net]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.221.48 listed in list.dnswl.org]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.1 DATE_IN_PAST_96_XX     Date: is 96 hours or more before Received:
                             date
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (zimon.toutoune[at]gmail.com)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Hi,

On Tue, 27 Oct 2020 at 14:55, zimoun <zimon.toutoune@HIDDEN> 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...
>  =E2=80=A612.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...
>  =E2=80=A612.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 =E2=80=99cran->guix-package=E2=80=99 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 =E2=80=99fetch-description=E2=80=99 effectively downloads but then
=E2=80=99description->package=E2=80=99 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









Information forwarded to bug-guix@HIDDEN:
bug#44256; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Oct 2020 13:55:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 27 09:55:13 2020
Received: from localhost ([127.0.0.1]:43664 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kXPRR-0002on-4x
	for submit <at> debbugs.gnu.org; Tue, 27 Oct 2020 09:55:13 -0400
Received: from lists.gnu.org ([209.51.188.17]:34420)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1kXPRP-0002nq-9P
 for submit <at> debbugs.gnu.org; Tue, 27 Oct 2020 09:55:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35130)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1kXPRO-0001rV-V7
 for bug-guix@HIDDEN; Tue, 27 Oct 2020 09:55:10 -0400
Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:34535)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1kXPRN-0003vu-1O
 for bug-guix@HIDDEN; Tue, 27 Oct 2020 09:55:10 -0400
Received: by mail-wr1-x432.google.com with SMTP id i1so2051521wro.1
 for <bug-guix@HIDDEN>; Tue, 27 Oct 2020 06:55:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=V/nqdddIq1c9et+i0x7FC/xmESppElgg5ypqW+S9d6k=;
 b=FT26X3bNpg6OWsvP3ucCj7NrsjIbxSpdwvNWF7UcC/fT3n0/rmZHyWszriMd3l5Z4N
 SlgF0/z+aypiMl+Mc5dbPP4QVcbZXU5RKIiEnlXPsRQizZl/08jgZ1OlAtn9Mm1sWw5y
 WqiP2jJzgXkGpPShRGqGowNAQdYwH4DTcuYBwHjX0WvLM0vE9wyBd9oy6aLCrcMawar6
 0qEnPna/N3V1pzqfaQZXBTPCWfoK9vnWXmFdIfkvNKB26Y3k4A2xu5RD/huOLyNdi0bK
 IMxmErwhEkYvS7fjxavpq4OqvkWMYscHNSOcwyjKThkvW1Ti5msjDGFV4uQ9YcJisIsa
 RLIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=V/nqdddIq1c9et+i0x7FC/xmESppElgg5ypqW+S9d6k=;
 b=FYKJK649ByT9KsJFTRYr0GWqQU22OmoDr1iecfJ+JfBtGao0RGbBTV/Gq5KFYbyjHG
 5Ul6ssuH62EOp2YLrdjQrGV7iFcm3l1FNQp5Qcw3VoM0jDOC9xJskNWghx1yaJycKiGX
 xtEHa8fVgfD2KdXSmJis48MO2ApKP7uNluNuRmoTRqTbV4Lh+wbd/IOf17lSQoWlQdpi
 e+DtYXgjSGQM/X2i1jw2ejsbWCfxsNWEE7jW78YUx1AI0B4KsjdS+ZujIxeXr2spRzao
 wh67jXFGfiIJwlkMJa3XYyjj0N8Qw+V5Qff4+xJemkZwaBk3XXIDR2xYMaQjzGbl9o6A
 zUTA==
X-Gm-Message-State: AOAM530CiVCnbDMliG8X8RK6KGbpMVNe1J+JheW7TgYjjZwr//gL3q3n
 75vxli1UFPEVrL+xzcpEPs8uH7ENLFg=
X-Google-Smtp-Source: ABdhPJxN+s665/2Mu4OA7hoswBmzYiAr7U8ksTanyAk6REus+mek4kWh+u5ZqwZRDDpPamY7rL9uag==
X-Received: by 2002:adf:d841:: with SMTP id k1mr3029127wrl.227.1603806905770; 
 Tue, 27 Oct 2020 06:55:05 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id v6sm1901948wmj.6.2020.10.27.06.55.04
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 27 Oct 2020 06:55:05 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?Q?=E2=80=9Cguix?= import cran -a bioconductor =?utf-8?Q?F?=
 =?utf-8?Q?OO=E2=80=9D?= downloads twice
Date: Tue, 27 Oct 2020 14:55:03 +0100
Message-ID: <865z6v4vuw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::432;
 envelope-from=zimon.toutoune@HIDDEN; helo=mail-wr1-x432.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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...
 =E2=80=A612.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...
 =E2=80=A612.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




Acknowledgement sent to zimoun <zimon.toutoune@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#44256; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 2 Jul 2021 16:45:01 UTC

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