FS#7271 - [patch] option for avoiding caching netfiles
Attached to Project:
Pacman
Opened by gyo (gyo) - Friday, 25 May 2007, 16:48 GMT
Last edited by Dan McGee (toofishes) - Saturday, 14 July 2007, 22:01 GMT
Opened by gyo (gyo) - Friday, 25 May 2007, 16:48 GMT
Last edited by Dan McGee (toofishes) - Saturday, 14 July 2007, 22:01 GMT
|
Details
Here is a patch in order add an option to makepkg for
avoiding caching network files that are defined into the
source=() directive.
There is a command line option and a makepkg.conf directive for this: - command line option : -H - makepkg.conf directive : NOCACHE=1 By default, caching is enable (i.e. NOCACHE=0) |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 14 July 2007, 22:01 GMT
Reason for closing: Implemented
Additional comments about closing: implemented in GIT, although slightly different than the title inplies. see comments for details.
Saturday, 14 July 2007, 22:01 GMT
Reason for closing: Implemented
Additional comments about closing: implemented in GIT, although slightly different than the title inplies. see comments for details.
makepkg_cache.patch
I think this is already handled as well as it could be with a combo of setting SRCDEST and using makepkg -C
Moreover, this patch is small and it's a KISS peace of code that doesn't deeply modify makepkg.
I just don't see this being something that is needed by a large number of users- disk space is cheap, and deleting one tarball doesn't do a whole lot, even if it is 100MB (which means it will be way bigger when extracted).
download sources to SCRDEST, then extract to src/ (without copying)