summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
Commit message (Collapse)AuthorAgeFilesLines
* (available_ftp_http_downloaders) Set wget as default downloader (mga#24362)Nicolas Lécureuil2023-06-171-1/+1
|
* Force timestamping=off when using wget to avoid conflict with --force-clobberMartin Whitaker2023-01-281-0/+1
| | | | | As seen on discuss@ml.mageia.org, if the user has set timestamping=on in /etc/wgetrc, wget fails due to conflicting options.
* Fix curl options to allow it to follow HTTP redirections (mga#31339)Martin Whitaker2023-01-211-6/+1
| | | | | | | 'curl -h' no longer outputs the full list of options, so the test for whether '--location-trusted' is supported always failed. As that option was added to curl in 2003, we can reasonably assume it is available.
* Prefer wget to curl as the default downloader (mga#24362)Martin Whitaker2023-01-211-1/+1
|
* Simplify: those are from the same scopeThierry Vignaud2022-12-101-3/+3
|
* library: fix download with curl 7.86+ when the URL has a query part (mga#31047)Martin Whitaker2022-11-051-2/+11
| | | | | curl 7.86 changed the -O option to remove any trailing query part from the output file name. So if we have a query part, use the -o option instead.
* Make it work with no feature qw(indirect) (aka perl7)Thierry Vignaud2020-06-251-1/+1
|
* bump copyrightThierry Vignaud2020-01-171-1/+1
|
* Ensure downloaded files are world-readable (mga#24636)Martin Whitaker2019-06-221-0/+7
| | | | | mgaapplet and urpm* commands run as a normal user need to be able to read the downloaded synthesis and info files.
* Update Mageia copyright statementsRémi Verschelde2017-04-261-0/+2
|
* 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>
* drop useless __END__Thierry Vignaud2015-10-091-1/+0
|
* help perl_checkerThierry Vignaud2015-09-041-0/+3
|
* perl_checker cleanupThierry Vignaud2015-09-041-1/+1
|
* help perl_checkerThierry Vignaud2015-09-041-1/+1
|
* fix Term::ReadKey warnings when redirectedThierry Vignaud2015-09-031-2/+4
|
* drop very old CVS/SVN $Id tagsThierry Vignaud2015-09-021-1/+0
|
* fix using a proxy without an auth user (mga#11265)Thierry Vignaud2015-08-261-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
|