summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
Commit message (Collapse)AuthorAgeFilesLines
* - urpmi, gurpmiPascal Rigaux2008-10-231-4/+12
| | | | | o retry once on aria2 versioned-file download failure
* - urpmi, gurpmiPascal Rigaux2008-10-211-3/+12
| | | | | o allow "retry" on aria2 download failure
* fix previous commit: we must not generated a 'start' event when we are donePascal Rigaux2008-10-211-1/+1
| | | | | with the list of files to download
* modify sync_aria2():Pascal Rigaux2008-10-211-18/+18
| | | | | | | | | | - prototype change: use $medium and $rel_files - remove from $rel_files things successfully downloaded (needed for next commit) - create a .metalink file even if we don't use mirrorlist (it reduces potential duplication in next commits) - don't pass specific mirrorlist aria2 options when not using mirrorlist
* create _parse_aria2_output() out of sync_aria2()Pascal Rigaux2008-10-211-4/+11
|
* create _error_msg() out of _error()Pascal Rigaux2008-10-211-2/+7
|
* extract error from aria2 log instead of giving it rawPascal Rigaux2008-10-161-2/+2
|
* use aria2 even if nearest mirror is rsyncPascal Rigaux2008-10-141-1/+1
|
* - gurpmi:Pascal Rigaux2008-10-071-6/+9
| | | | | | | o overall progress-bar, display the download speed, nicer looking - urpm::download::progress_text() is created out of urpm::download::sync_logger
* - aria2:Pascal Rigaux2008-09-231-0/+1
| | | | | o use --ftp-pasv (as suggested by aria2 developer)
* increase connect-timeout for aria2Pascal Rigaux2008-09-231-2/+2
|
* - use "versioned" media_info filesPascal Rigaux2008-09-231-1/+1
| | | | | | | | | | (needed for aria2 to handle mirrors not having some media_info/*) it fixes: - downloading parts of media_info file from different mirrors and failing to obtain a valid result - checking md5sum of media_info files
* help debugging aria2Pascal Rigaux2008-09-231-6/+6
|
* {allow_metalink} was used unitialised, so now always using use_metalink() andPascal Rigaux2008-09-231-4/+7
| | | | | doing the memoizing inside use_metalink()
* create sync_rel_one() and use itPascal Rigaux2008-09-231-3/+8
|
* - sync_*(): return the downloaded filePascal Rigaux2008-09-231-20/+18
| | | | | | - sync_rel: handle "preclean", and do cleanup things after failed download - simplify some mess using the returned value
* - normalize synthesis downloading: rename it in cachedir asap just like any ↵Pascal Rigaux2008-09-231-0/+15
| | | | | | | other media_info files - create urpm::download::sync_rel_to()
* move {allow_metalink} from $urpm to $medium, and take into account user'sPascal Rigaux2008-09-221-1/+8
| | | | | requested downloader before choosing wether we will retry or rely on aria2
* warn only once "not using metalink since ..."Pascal Rigaux2008-09-221-4/+4
|
* create preferred_downloader() out of _sync_webfetch_raw()Pascal Rigaux2008-09-221-28/+35
|
* - Add some options to aria2 downloaderAurélien Lefebvre2008-09-181-2/+4
| | | | | - Reduce from 16 to 8 servers for each file in metalink
* - fix locale problem with aria2Aurélien Lefebvre2008-09-101-0/+1
|
* - library:Pascal Rigaux2008-09-091-1/+2
| | | | | o fix urpm::download::sync() return value (used by rpmdrake) (#43639)
* simplifyPascal Rigaux2008-09-051-1/+1
|
* simplifyPascal Rigaux2008-09-051-2/+1
|
* fix previous commit: do not display wrong log messagePascal Rigaux2008-09-051-1/+1
|
* - fix handling --downloader when using mirrorlist (it was forcing aria2)Pascal Rigaux2008-09-051-7/+12
|
* - fix display of downloaded urls with aria2 and metalinksPascal Rigaux2008-09-051-15/+15
|
* fix regression introduced in previous commitPascal Rigaux2008-09-041-2/+3
| | | | | | (it was working in my cases since urpm::ensure_valid_cachedir() was called beforehand)
* - library:Pascal Rigaux2008-09-041-1/+1
| | | | | o modify urpm::download::get_content() to work as non-superuser
* - fix proxy parameter for aria2 (thanks to alkh)Pascal Rigaux2008-09-041-1/+7
|
* - remove rsync mirrors when calling aria2Pascal Rigaux2008-09-041-1/+5
|
* re-indentPascal Rigaux2008-09-041-20/+17
|
* cleanupPascal Rigaux2008-09-041-8/+5
|
* cleanupPascal Rigaux2008-09-041-4/+7
|
* cleanupPascal Rigaux2008-09-041-13/+6
|
* cleanupPascal Rigaux2008-09-041-22/+20
|
* cleanupPascal Rigaux2008-09-041-2/+1
|
* create urpm::mirrors::list_urls() and use itPascal Rigaux2008-09-041-4/+3
| | | | | this fixes things like "mirrorlist: http://localmirror/dis/cooker/i586 $MIRRORLIST"
* simplifyPascal Rigaux2008-09-041-2/+2
|
* simplifyPascal Rigaux2008-09-041-2/+1
|
* remove one indentation level in generated .metalinkPascal Rigaux2008-09-041-6/+4
|
* simplifyPascal Rigaux2008-09-041-6/+6
|
* simplifyPascal Rigaux2008-09-041-7/+8
|
* simplifyPascal Rigaux2008-09-041-3/+4
|
* create _create_one_metalink_line() out of _create_metalink_()Pascal Rigaux2008-09-041-18/+24
|
* "nicer" debug/log messagePascal Rigaux2008-09-031-1/+1
|
* don't deconstruct $files in _create_metalink_(), use $rel_files insteadPascal Rigaux2008-09-031-9/+11
|
* inline _sync_raw()Pascal Rigaux2008-09-031-14/+9
|
* ensure _sync_raw() is only called through sync_rel()Pascal Rigaux2008-09-031-3/+2
|