FS#12538 - Third download method - using a callback
Attached to Project:
Pacman
Opened by Xilon (Xilon) - Monday, 22 December 2008, 16:15 GMT
Last edited by Dan McGee (toofishes) - Thursday, 23 July 2009, 02:40 GMT
Opened by Xilon (Xilon) - Monday, 22 December 2008, 16:15 GMT
Last edited by Dan McGee (toofishes) - Thursday, 23 July 2009, 02:40 GMT
|
Details
I was just reading through the download functions. It
occurred to me that it is possible to remove the
libfetch/libdownload dependency by configuring with
--disable-internal-download. This would be beneficial to
frontends which do not want the extra dependency just for
downloading. Unfortunately the only alternative is to use an
external process to do the downloading instead. Would it be
possible to have a third method, one which simply uses a
callback function to let the front-end handle downloading?
|
This task depends upon
Closed by Dan McGee (toofishes)
Thursday, 23 July 2009, 02:40 GMT
Reason for closing: Implemented
Additional comments about closing: Commit 30c4d53ce5c16cbbb17a88fe1ad14faf53d91999
Thursday, 23 July 2009, 02:40 GMT
Reason for closing: Implemented
Additional comments about closing: Commit 30c4d53ce5c16cbbb17a88fe1ad14faf53d91999
Comment by Xilon (Xilon) - Monday,
22 December 2008, 17:07 GMT
Here's a rough patch that's completely untested (it's late).
Comment by Xavier (shining) -
Wednesday, 22 July 2009, 12:54 GMT
last patch is here :
http://www.archlinux.org/pipermail/pacman-dev/2009-April/008533.html
0001-Add-fetch-callback-to-al...
(3.2 KiB)