From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: bug#23304: import pypi: Option o keep the downloaded file Date: Mon, 18 Apr 2016 23:24:24 +0200 Message-ID: <57155088.9040404@crazy-compilers.com> References: <57135C2D.9010107@goebel-consult.de> <5714CFC6.8090602@uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asGfL-00030K-Gk for bug-guix@gnu.org; Mon, 18 Apr 2016 17:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asGfG-0006MI-I0 for bug-guix@gnu.org; Mon, 18 Apr 2016 17:25:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asGfG-0006ME-F1 for bug-guix@gnu.org; Mon, 18 Apr 2016 17:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1asGfG-0001XS-8G for bug-guix@gnu.org; Mon, 18 Apr 2016 17:25:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <5714CFC6.8090602@uq.edu.au> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 23304@debbugs.gnu.org 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@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |