Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix regression introduced in previous commit | Pascal Rigaux | 2008-09-04 | 1 | -2/+3 |
| | | | | | | (it was working in my cases since urpm::ensure_valid_cachedir() was called beforehand) | ||||
* | - library: | Pascal Rigaux | 2008-09-04 | 1 | -1/+1 |
| | | | | | o modify urpm::download::get_content() to work as non-superuser | ||||
* | much nicer userdir() functions: | Pascal Rigaux | 2008-09-04 | 2 | -10/+4 |
| | | | | | | | | | - userdir() does not modify $urpm->{cachedir} anymore, if you must ensure $urpm->{cachedir} to be modified, use ensure_valid_cachedir() - valid_cachedir() gives you a valid cachedir (works for root or simple-user), but does not modify $urpm->{cachedir} | ||||
* | simplify: always create "partial" and "rpms" in "userdir", that way we can use | Pascal Rigaux | 2008-09-04 | 1 | -7/+2 |
| | | | | | userdir() in most cases | ||||
* | - fix proxy parameter for aria2 (thanks to alkh) | Pascal Rigaux | 2008-09-04 | 2 | -2/+8 |
| | |||||
* | - remove rsync mirrors when calling aria2 | Pascal Rigaux | 2008-09-04 | 1 | -1/+5 |
| | |||||
* | re-indent | Pascal Rigaux | 2008-09-04 | 1 | -20/+17 |
| | |||||
* | cleanup | Pascal Rigaux | 2008-09-04 | 1 | -8/+5 |
| | |||||
* | cleanup | Pascal Rigaux | 2008-09-04 | 1 | -4/+7 |
| | |||||
* | cleanup | Pascal Rigaux | 2008-09-04 | 1 | -13/+6 |
| | |||||
* | cleanup | Pascal Rigaux | 2008-09-04 | 1 | -22/+20 |
| | |||||
* | cleanup | Pascal Rigaux | 2008-09-04 | 1 | -2/+1 |
| | |||||
* | create urpm::mirrors::list_urls() and use it | Pascal Rigaux | 2008-09-04 | 2 | -10/+22 |
| | | | | | this fixes things like "mirrorlist: http://localmirror/dis/cooker/i586 $MIRRORLIST" | ||||
* | simplify | Pascal Rigaux | 2008-09-04 | 1 | -2/+2 |
| | |||||
* | simplify | Pascal Rigaux | 2008-09-04 | 1 | -2/+1 |
| | |||||
* | remove one indentation level in generated .metalink | Pascal Rigaux | 2008-09-04 | 1 | -6/+4 |
| | |||||
* | simplify | Pascal Rigaux | 2008-09-04 | 1 | -6/+6 |
| | |||||
* | simplify | Pascal Rigaux | 2008-09-04 | 1 | -7/+8 |
| | |||||
* | simplify | Pascal Rigaux | 2008-09-04 | 1 | -3/+4 |
| | |||||
* | create _create_one_metalink_line() out of _create_metalink_() | Pascal Rigaux | 2008-09-04 | 1 | -18/+24 |
| | |||||
* | "nicer" debug/log message | Pascal Rigaux | 2008-09-03 | 1 | -1/+1 |
| | |||||
* | if we use metalink, don't try various mirrors, aria2 will take care of ↵ | Pascal Rigaux | 2008-09-03 | 1 | -2/+10 |
| | | | | everything | ||||
* | use sync_rel() instead of sync_url() | Pascal Rigaux | 2008-09-03 | 1 | -5/+5 |
| | | | | | (this requires changing _new_distribconf_and_download parameters) | ||||
* | don't deconstruct $files in _create_metalink_(), use $rel_files instead | Pascal Rigaux | 2008-09-03 | 1 | -9/+11 |
| | |||||
* | inline _sync_raw() | Pascal Rigaux | 2008-09-03 | 1 | -14/+9 |
| | |||||
* | ensure _sync_raw() is only called through sync_rel() | Pascal Rigaux | 2008-09-03 | 1 | -3/+2 |
| | |||||
* | be more tolerant in deprecated urpm::download::sync() | Pascal Rigaux | 2008-09-03 | 1 | -2/+1 |
| | | | | | (since it's easy to be so) | ||||
* | simplify _sync_webfetch_raw() (we know all files to download have the same ↵ | Pascal Rigaux | 2008-09-03 | 1 | -23/+12 |
| | | | | protocol (ftp, ssh...)) | ||||
* | ensure _sync_raw() is never called with undefined $medium | Pascal Rigaux | 2008-09-03 | 1 | -2/+8 |
| | |||||
* | don't call sync() anymore | Pascal Rigaux | 2008-09-03 | 1 | -2/+2 |
| | |||||
* | deprecate urpm::download::sync() in favor of sync_url() and sync_rel() | Pascal Rigaux | 2008-09-03 | 1 | -0/+7 |
| | |||||
* | move %all_options computation in _all_options() | Pascal Rigaux | 2008-09-03 | 1 | -12/+18 |
| | |||||
* | modify _probe_with_try_list() to be able to use sync_rel() | Pascal Rigaux | 2008-09-03 | 1 | -5/+6 |
| | |||||
* | simplify (as suggested by perl_checker) | Pascal Rigaux | 2008-09-03 | 1 | -3/+2 |
| | |||||
* | create urpm::download::sync_url() and use it | Pascal Rigaux | 2008-09-03 | 2 | -3/+9 |
| | |||||
* | - create urpm::blist_to_filenames() | Pascal Rigaux | 2008-09-03 | 1 | -1/+1 |
| | | | | | - use it and sync_rel() | ||||
* | use urpm::download::sync_rel() | Pascal Rigaux | 2008-09-03 | 1 | -2/+2 |
| | |||||
* | - fix _synthesis_dir() (from previous commit) | Pascal Rigaux | 2008-09-03 | 1 | -8/+14 |
| | | | | | | - create _url_with_synthesis_rel() out of _url_with_synthesis() and use it - use sync_rel() | ||||
* | - create _synthesis_dir_rel() out of _synthesis_dir() | Pascal Rigaux | 2008-09-03 | 1 | -5/+11 |
| | | | | | - fix typo in previous commit | ||||
* | create urpm::download::sync_rel() and use it | Pascal Rigaux | 2008-09-03 | 2 | -3/+10 |
| | |||||
* | - really call aria2 with --max-tries=1 | Pascal Rigaux | 2008-09-03 | 1 | -2/+1 |
| | | | | | | (it helps a lot when trying to download some files (eg: reconfig.urpmi)) | ||||
* | use /root/.aria2-adaptive-stats when launched as root | Pascal Rigaux | 2008-09-02 | 1 | -1/+1 |
| | |||||
* | only use the 8 best mirrors, then we let aria2 choose | Pascal Rigaux | 2008-09-02 | 1 | -1/+9 |
| | |||||
* | - call aria2 with brand-new --uri-selector=adaptive | Pascal Rigaux | 2008-09-02 | 1 | -2/+7 |
| | | | | | and use options that makes it work nicely | ||||
* | - all tools | Pascal Rigaux | 2008-09-01 | 1 | -2/+13 |
| | | | | | o use metalink/aria2 by default (when available) when using a mirrorlist | ||||
* | - urpmi.addmedia | Pascal Rigaux | 2008-09-01 | 1 | -2/+5 |
| | | | | | | o handle $URPMI_ADDMEDIA_REASON (special reason to give to api.mandriva.com/mirrors/... to allow statistics) | ||||
* | fix --limit-rate with aria2 | Pascal Rigaux | 2008-09-01 | 1 | -1/+1 |
| | |||||
* | help perl_checker | Pascal Rigaux | 2008-09-01 | 1 | -0/+1 |
| | |||||
* | instead of passing around $options->{media} with medium name, pass directly ↵ | Pascal Rigaux | 2008-09-01 | 1 | -15/+9 |
| | | | | $medium | ||||
* | cleanup | Pascal Rigaux | 2008-09-01 | 1 | -1/+2 |
| |