unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23304: import pypi: Option o keep the downloaded file
@ 2016-04-17  9:49 Hartmut Goebel
       [not found] ` <5714CFC6.8090602@uq.edu.au>
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hartmut Goebel @ 2016-04-17  9:49 UTC (permalink / raw)
  To: 23304

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 1936 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23304: import pypi: Option o keep the downloaded file
       [not found] ` <5714CFC6.8090602@uq.edu.au>
@ 2016-04-18 21:24   ` Hartmut Goebel
  0 siblings, 0 replies; 4+ messages in thread
From: Hartmut Goebel @ 2016-04-18 21:24 UTC (permalink / raw)
  To: 23304

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@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23304: import pypi: Option o keep the downloaded file
  2016-04-17  9:49 bug#23304: import pypi: Option o keep the downloaded file Hartmut Goebel
       [not found] ` <5714CFC6.8090602@uq.edu.au>
@ 2018-12-17  9:45 ` swedebugia
  2019-01-25  5:32 ` swedebugia
  2 siblings, 0 replies; 4+ messages in thread
From: swedebugia @ 2018-12-17  9:45 UTC (permalink / raw)
  To: 23304

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23304: import pypi: Option o keep the downloaded file
  2016-04-17  9:49 bug#23304: import pypi: Option o keep the downloaded file Hartmut Goebel
       [not found] ` <5714CFC6.8090602@uq.edu.au>
  2018-12-17  9:45 ` swedebugia
@ 2019-01-25  5:32 ` swedebugia
  2 siblings, 0 replies; 4+ messages in thread
From: swedebugia @ 2019-01-25  5:32 UTC (permalink / raw)
  To: 23304-done

[-- Attachment #1: Type: text/plain, Size: 61 bytes --]

No reaction, closing.
-- 
Sent from my p≡p for Android.

[-- Attachment #2: Type: text/html, Size: 67 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-25  5:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-17  9:49 bug#23304: import pypi: Option o keep the downloaded file Hartmut Goebel
     [not found] ` <5714CFC6.8090602@uq.edu.au>
2016-04-18 21:24   ` Hartmut Goebel
2018-12-17  9:45 ` swedebugia
2019-01-25  5:32 ` swedebugia

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).