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

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> goebel-consult.de>

Date: Sun, 17 Apr 2016 16:42:02 UTC

Severity: wishlist

Done: swedebugia <swedebugia <at> riseup.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 23304 in the body.
You can then email your comments to 23304 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#23304; Package guix. (Sun, 17 Apr 2016 16:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hartmut Goebel <h.goebel <at> goebel-consult.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 17 Apr 2016 16:42:02 GMT) Full text and rfc822 format available.

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

From: Hartmut Goebel <h.goebel <at> goebel-consult.de>
To: bug-guix <at> gnu.org
Subject: import pypi: Option o keep the downloaded file
Date: Sun, 17 Apr 2016 11:49:33 +0200
[Message part 1 (text/plain, inline)]
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=DESTDIR`, 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.

-- 
Schönen Gruß
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-glosse

[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#23304; Package guix. (Mon, 18 Apr 2016 21:25:02 GMT) Full text and rfc822 format available.

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

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 23304 <at> debbugs.gnu.org
Subject: Re: bug#23304: import pypi: Option o keep the downloaded file
Date: Mon, 18 Apr 2016 23:24:24 +0200
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.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |






Severity set to 'wishlist' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 11 Jan 2017 22:31:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#23304; Package guix. (Mon, 17 Dec 2018 09:46:01 GMT) Full text and rfc822 format available.

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

From: swedebugia <at> riseup.net
To: 23304 <at> debbugs.gnu.org
Subject: import pypi: Option o keep the downloaded file
Date: Mon, 17 Dec 2018 01:45:36 -0800
Hi

Is this really needed? I look at the webpages when importing stuff.

For npm Julien and I created a special tool to do the job of fetching
the dependencies. 

You could easily roll-your-own and change (call-with-temporary-output...
-> (call-with-output-file ...)

As it is only Hartmut who asked for this during 2 years of everyone
using the importer I vote for closing this as "won't fix".

-- 
Cheers 
Swedebugia




Reply sent to swedebugia <swedebugia <at> riseup.net>:
You have taken responsibility. (Fri, 25 Jan 2019 05:33:02 GMT) Full text and rfc822 format available.

Notification sent to Hartmut Goebel <h.goebel <at> goebel-consult.de>:
bug acknowledged by developer. (Fri, 25 Jan 2019 05:33:02 GMT) Full text and rfc822 format available.

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

From: swedebugia <swedebugia <at> riseup.net>
To: 23304-done <at> debbugs.gnu.org
Subject: import pypi: Option o keep the downloaded file
Date: Fri, 25 Jan 2019 06:32:21 +0100
[Message part 1 (text/plain, inline)]
No reaction, closing.
-- 
Sent from my p≡p for Android.
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Feb 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 57 days ago.

Previous Next


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