Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | much nicer userdir() functions: | Pascal Rigaux | 2008-09-04 | 3 | -12/+15 |
| | | | | | | | | | - 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 | 2 | -7/+5 |
| | | | | | userdir() in most cases | ||||
* | - fix proxy parameter for aria2 (thanks to alkh) | Pascal Rigaux | 2008-09-04 | 3 | -2/+9 |
| | |||||
* | - remove rsync mirrors when calling aria2 | Pascal Rigaux | 2008-09-04 | 2 | -1/+6 |
| | |||||
* | 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 |
| | |||||
* | - gurpmi, gurpmi2: | Pascal Rigaux | 2008-09-04 | 3 | -2/+3 |
| | | | | | o silence perl warnings (ie remove "use warnings") | ||||
* | "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 | 3 | -4/+10 |
| | |||||
* | - create urpm::blist_to_filenames() | Pascal Rigaux | 2008-09-03 | 2 | -1/+5 |
| | | | | | - 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 |
| | |||||
* | 6.76.7 | Pascal Rigaux | 2008-09-03 | 2 | -2/+4 |
| | |||||
* | - really call aria2 with --max-tries=1 | Pascal Rigaux | 2008-09-03 | 2 | -2/+4 |
| | | | | | | (it helps a lot when trying to download some files (eg: reconfig.urpmi)) | ||||
* | 6.66.6 | Pascal Rigaux | 2008-09-02 | 2 | -2/+4 |
| | |||||
* | 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 | 2 | -2/+9 |
| | | | | | and use options that makes it work nicely | ||||
* | update | Pascal Rigaux | 2008-09-01 | 1 | -288/+286 |
| | |||||
* | fix | Pascal Rigaux | 2008-09-01 | 1 | -2/+2 |
| | |||||
* | 6.56.5 | Pascal Rigaux | 2008-09-01 | 2 | -2/+3 |
| | |||||
* | - all tools | Pascal Rigaux | 2008-09-01 | 2 | -2/+15 |
| | | | | | o use metalink/aria2 by default (when available) when using a mirrorlist | ||||
* | - urpmi.addmedia | Pascal Rigaux | 2008-09-01 | 2 | -2/+8 |
| | | | | | | o handle $URPMI_ADDMEDIA_REASON (special reason to give to api.mandriva.com/mirrors/... to allow statistics) |