summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
Commit message (Collapse)AuthorAgeFilesLines
* adapt to aria2c-1.16+ output (mga#16500)Shlomi Fish2016-07-111-3/+24
| | | | | | | | | | | | | | | | aria2c > 1.14 changed the output of the progress download string it's no longer what follows: "[#1 SIZE:176.0KiB/2.5MiB(6%) CN:3 SPD:256.22KiBs ETA:09s]" but here is the new one from aria2c 1.16 and beyond: "[#2c8dae 496KiB/830KiB(59%) CN:1 DL:84KiB ETA:3s]" So the old parser no longer works... The string parser has been rewritten by Shlomi Fish with use of multiline mode and comments for better readability, should aria2c progress download string change again Dug & fixed by Giuseppe Ghibò <ghibomgx@gmail.com> and Shlomi Fish <shlomif@shlomifish.org>
* fix using a proxy without an auth user (mga#11265)Thierry Vignaud2015-08-271-1/+1
|
* download: fix parsing download progress with rsync >= 3.10Olivier Blin2013-10-151-1/+1
| | | | | | | | | | | | | rsync 3.10 now defaults to human readable output, with sizes being printed with a separator between group of 3 digits. This broke our download progress parser. We can fix this by using the --no-human-readable command line option, to get the old rsync progress output format. This option already existed in older rsync versions (tried in Mageia 2), so this change should be safe to include in backports of urpmi to older distributions.
* display exceptions that happened while downloading (mga#9529)Thierry Vignaud2013-03-261-0/+1
|
* only a couple func really are neededThierry Vignaud2013-03-211-1/+1
|
* various optimizations from mdv svnJosé Jorge2012-10-151-13/+11
|
* change deprecated aria2 optionJosé Jorge2012-10-141-1/+1
|
* (_curl_action) kill unused parameter that could never have been usedThierry Vignaud2012-09-081-3/+1
| | | | | | | | | | | | | | | rationale: an array must be the last variable in a prototype bug introcuded in commit r258682 by cfergeau on 2009-07-30: "dudf patch from Olivier Rosello for the Mancoosi project" further not fixed in commit r258683 by cfergeau on 2009-07-30: "slight clean-up in wget downloading handling" dudf support was always broken... interesting enough, this was spot by perl_checker but only when checking all files at once, not when checking urpm/download.pm only
* perl_checker cleanupThierry Vignaud2012-09-081-1/+1
|
* kill unused variablesThierry Vignaud2012-09-081-2/+0
|
* (urpm::download::sync) drop it (it was obsoleted years ago)Thierry Vignaud2012-08-311-15/+0
|
* (progress_text) kill unused parameterThierry Vignaud2012-08-311-2/+2
|
* (do_install_3,sync_logger) make it obvious that parameters do be usedThierry Vignaud2012-08-311-2/+2
|
* (get_proxy_) kill unused parameterThierry Vignaud2012-08-311-2/+2
|
* convert a couple comments to PODThierry Vignaud2012-08-311-6/+26
|
* document some functionsThierry Vignaud2012-08-311-0/+23
|
* split POD documentationThierry Vignaud2012-08-311-8/+10
|
* drop /usr/X11R6/bin from $PATHThierry Vignaud2012-06-081-1/+5
|
* silent perl_checkerThierry Vignaud2012-03-271-27/+27
|
* perl_checker cleanupsThierry Vignaud2012-02-011-2/+2
|
* add perl_checker hintsThierry Vignaud2012-02-011-0/+1
|
* perl_checker cleanupsThierry Vignaud2012-01-061-3/+3
|
* (_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