GNU bug report logs - #23304
import pypi: Option o keep the downloaded file

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; Severity: wishlist; Reported by: Hartmut Goebel <h.goebel@HIDDEN>; dated Sun, 17 Apr 2016 16:42:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 23304) by debbugs.gnu.org; 18 Apr 2016 21:24:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 18 17:24:30 2016
Received: from localhost ([127.0.0.1]:39713 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1asGek-0001Wg-2N
	for submit <at> debbugs.gnu.org; Mon, 18 Apr 2016 17:24:30 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:40689)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.goebel@HIDDEN>) id 1asGej-0001WY-7q
 for 23304 <at> debbugs.gnu.org; Mon, 18 Apr 2016 17:24:29 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3qph3v00dTz3hlKH;
 Mon, 18 Apr 2016 23:24:26 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3qph3t5wh4zvh2h;
 Mon, 18 Apr 2016 23:24:26 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id 2B9Dp75u1i0Y; Mon, 18 Apr 2016 23:24:25 +0200 (CEST)
Received: from hermia.goebel-consult.de
 (ppp-188-174-151-28.dynamic.mnet-online.de [188.174.151.28])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPS;
 Mon, 18 Apr 2016 23:24:25 +0200 (CEST)
Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de
 [192.168.110.7])
 by hermia.goebel-consult.de (Postfix) with ESMTP id D3DFD6010E;
 Mon, 18 Apr 2016 23:24:24 +0200 (CEST)
Subject: Re: bug#23304: import pypi: Option o keep the downloaded file
To: 23304 <at> debbugs.gnu.org
References: <57135C2D.9010107@HIDDEN> <5714CFC6.8090602@HIDDEN>
From: Hartmut Goebel <h.goebel@HIDDEN>
X-Enigmail-Draft-Status: N1110
Organization: crazy-compilers.com
Message-ID: <57155088.9040404@HIDDEN>
Date: Mon, 18 Apr 2016 23:24:24 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <5714CFC6.8090602@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 23304
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: -0.7 (/)

Am 18.04.2016 um 14:15 schrieb Ben Woodcroft:
> Are you suggesting something apart from what 'build --source' does e.g.=


Some kind of :-)

1) From a usability point of view, this should be part of "guix import"
since this is what the user does and where she is looking for help.

2) "guix build --source" returns a derivation, whereas "guix import"
ought to return the original, unchanged source. (One could argue that on
"import", the derivation is the unchanged source depending on nothing)

3) Of course one could use the output of "guix import", pass it to "guix
build --source" and get the original source. But
a) this would download the source twice
b) would intermix phases: the package definition is in early draft, but
"build" should return the source. This does not match.

4) In any case, "guix import" should display the name of the downloaded
archive.

--=20
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@HIDDEN               |
| www.crazy-compilers.com | compilers which you thought are impossible |






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

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


Received: (at submit) by debbugs.gnu.org; 17 Apr 2016 16:41:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 17 12:41:03 2016
Received: from localhost ([127.0.0.1]:38592 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1arpkt-000278-9S
	for submit <at> debbugs.gnu.org; Sun, 17 Apr 2016 12:41:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43687)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.goebel@HIDDEN>) id 1arjKv-0007Wh-Hd
 for submit <at> debbugs.gnu.org; Sun, 17 Apr 2016 05:49:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <h.goebel@HIDDEN>) id 1arjKp-0001Ic-DQ
 for submit <at> debbugs.gnu.org; Sun, 17 Apr 2016 05:49:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:47815)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <h.goebel@HIDDEN>) id 1arjKp-0001IY-9x
 for submit <at> debbugs.gnu.org; Sun, 17 Apr 2016 05:49:43 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34658)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <h.goebel@HIDDEN>) id 1arjKo-0000WZ-72
 for bug-guix@HIDDEN; Sun, 17 Apr 2016 05:49:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <h.goebel@HIDDEN>) id 1arjKl-0001IF-0n
 for bug-guix@HIDDEN; Sun, 17 Apr 2016 05:49:42 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:58526)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <h.goebel@HIDDEN>) id 1arjKk-0001Hv-MS
 for bug-guix@HIDDEN; Sun, 17 Apr 2016 05:49:38 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3qnmhc6PDQz3hjQm
 for <bug-guix@HIDDEN>; Sun, 17 Apr 2016 11:49:36 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3qnmhc4nvLzvdWQ
 for <bug-guix@HIDDEN>; Sun, 17 Apr 2016 11:49:36 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024) with ESMTP id wVve-aXU82tj for <bug-guix@HIDDEN>;
 Sun, 17 Apr 2016 11:49:34 +0200 (CEST)
Received: from hermia.goebel-consult.de
 (ppp-188-174-144-124.dynamic.mnet-online.de [188.174.144.124])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPS
 for <bug-guix@HIDDEN>; Sun, 17 Apr 2016 11:49:34 +0200 (CEST)
Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de
 [192.168.110.7])
 by hermia.goebel-consult.de (Postfix) with ESMTP id C691D6001C
 for <bug-guix@HIDDEN>; Sun, 17 Apr 2016 11:49:33 +0200 (CEST)
To: bug-guix@HIDDEN
From: Hartmut Goebel <h.goebel@HIDDEN>
Subject: import pypi: Option o keep the downloaded file
X-Enigmail-Draft-Status: N1110
Organization: Goebel Consult
Message-ID: <57135C2D.9010107@HIDDEN>
Date: Sun, 17 Apr 2016 11:49:33 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.7.2
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="------------090708010801050103040809"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 17 Apr 2016 12:41:02 -0400
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: -5.0 (-----)

This is a multi-part message in MIME format.
--------------090708010801050103040809
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

when importing packages from pypi I often need to look at the source.
Either for checking the license, getting a better description, find out
how tests are run or which build system to use.

For this I'd appreciate an option to keep the downloaded archive (or
even better keep the unpacked archive) for easy access. This option
could be called `-K, --keep-downloads=3DDESTDIR`, where DESTDIR is the
destination directory where to download (or unpack) the archive.

Maybe this option should be available for all `imports` as it may be
useful there, too.

--=20
Sch=C3=B6nen Gru=C3=9F
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog: http://www.goebel-consult.de/blog/ehrlichkeit-made-in-germany
Kolumne: http://www.cissp-gefluester.de/2012-02-bring-your-own-life-gloss=
e


--------------090708010801050103040809
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    when importing packages from pypi I often need to look at the
    source. Either for checking the license, getting a better
    description, find out how tests are run or which build system to
    use.<br>
    <br>
    For this I'd appreciate an option to keep the downloaded archive (or
    even better keep the unpacked archive) for easy access. This option
    could be called `-K, --keep-downloads=DESTDIR`, where DESTDIR is the
    destination directory where to download (or unpack) the archive.<br>
    <br>
    Maybe this option should be available for all `imports` as it may be
    useful there, too.<br>
    <br>
    <div class="moz-signature">-- <br>
      <span style="color:black">
        Schönen Gruß <br>
        Hartmut Goebel <br>
      </span>
      <span style="font-size:smaller">Dipl.-Informatiker (univ), CISSP,
        CSSLP, ISO 27001 Lead Implementer</span><br>
      <span style="font-size:smaller">Information Security Management,
        Security Governance, Secure Software Development</span>
      <p style="color:black" lang="de">
        Goebel Consult, Landshut <br>
        <a style="color:black" href="http://www.goebel-consult.de">http://www.goebel-consult.de</a>
      </p>
      <p style="color:grey;font-size:smaller">
        Blog:
        <a style="color:grey !important;text-decoration:none !important"
href="http://www.goebel-consult.de/blog/ehrlichkeit-made-in-germany">http://www.goebel-consult.de/blog/ehrlichkeit-made-in-germany</a>
        <br>
        Kolumne:
        <a style="color:grey !important;text-decoration:none !important"
href="http://www.cissp-gefluester.de/2012-02-bring-your-own-life-glosse">http://www.cissp-gefluester.de/2012-02-bring-your-own-life-glosse</a>
      </p>
    </div>
  </body>
</html>

--------------090708010801050103040809--




Acknowledgement sent to Hartmut Goebel <h.goebel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#23304; 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: Wed, 11 Jan 2017 22:45:01 UTC

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