summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
Commit message (Collapse)AuthorAgeFilesLines
* (_sync_webfetch_raw) use rsync to download from rsync-mirrors (Alexander ↵Thierry Vignaud2011-10-071-2/+2
| | | | | | | | | | | Barakin, mga#2518) due to options->{metalink} test, we were selecting curl/aria2/... before checking for rsync protocol tested by setting 'choosen' in /var/cache/urpmi/mirrors.cache to any mirror available on rsync, for examle: rsync://ftp-stud.hs-esslingen.de/Mageia/distrib/cauldron/x86_64
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-09-131-2/+2
| | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r1928 | dmorgan | 2011-09-13 21:44:28 +0100 (Tue, 13 Sep 2011) | 1 line Import urpmi ------------------------------------------------------------------------
* update copyright noticesPer Øyvind Karlsen2010-11-211-1/+1
|
* - fix warning about "unitialized variable"Michael Scherer2010-07-301-1/+1
|
* update copyrightThierry Vignaud2009-11-241-1/+1
|
* don't use aria2 to fetch mirrorlist, fixes #53434Christophe Fergeau2009-10-291-4/+12
|
* make sure we don't use aria2 to fetch mirrorlistsChristophe Fergeau2009-10-211-1/+1
| | | | | | aria2 downloader currently doesn't work when we append a reason string to the api.mandriva.com URL, lamely fix that by making sure it's not used when grabbing a mirrorlist
* fix parsing of "download complete" messages from aria2Christophe Fergeau2009-10-051-1/+1
| | | | Fixes bug #53749
* forgot quotesChristophe Fergeau2009-09-251-1/+1
|
* disable certificate checks on media with the right optionChristophe Fergeau2009-09-251-0/+1
|
* default to checking certificates when dowloading dataChristophe Fergeau2009-09-251-3/+3
|
* make certificate check for aria2 behave the same as for the other downloadersChristophe Fergeau2009-09-241-0/+1
|
* download: allow callee of get_content to pass downloader optionsChristophe Fergeau2009-08-311-2/+2
|
* download: add an option to be strict about SSL certificate checksChristophe Fergeau2009-08-311-2/+2
|
* slight clean-up in wget downloading handlingChristophe Fergeau2009-07-301-7/+8
|
* dudf patch from Olivier Rosello for the Mancoosi projectChristophe Fergeau2009-07-301-5/+12
|
* - adjust parsing of aria2 output for aria2 1.4, fixes bug #51354Christophe Fergeau2009-06-041-1/+2
|
* fix aria2 proxy parametersAurélien Lefebvre2009-05-111-4/+5
|
* (sync_curl) minor warning fixThierry Vignaud2009-04-291-1/+1
| | | | | | | (Argument "7845k" isn't numeric in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.10.0/urpm/download.pm line 502, <$curl> chunk 396 (#3))
* - 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
|