summaryrefslogtreecommitdiffstats
path: root/urpm
Commit message (Collapse)AuthorAgeFilesLines
* 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
* much nicer userdir() functions:Pascal Rigaux2008-09-042-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 usePascal Rigaux2008-09-041-7/+2
| | | | | userdir() in most cases
* - fix proxy parameter for aria2 (thanks to alkh)Pascal Rigaux2008-09-042-2/+8
|
* - remove rsync mirrors when calling aria2Pascal Rigaux2008-09-041-1/+5
|
* re-indentPascal Rigaux2008-09-041-20/+17
|
* cleanupPascal Rigaux2008-09-041-8/+5
|
* cleanupPascal Rigaux2008-09-041-4/+7
|
* cleanupPascal Rigaux2008-09-041-13/+6
|
* cleanupPascal Rigaux2008-09-041-22/+20
|
* cleanupPascal Rigaux2008-09-041-2/+1
|
* create urpm::mirrors::list_urls() and use itPascal Rigaux2008-09-042-10/+22
| | | | | this fixes things like "mirrorlist: http://localmirror/dis/cooker/i586 $MIRRORLIST"
* simplifyPascal Rigaux2008-09-041-2/+2
|
* simplifyPascal Rigaux2008-09-041-2/+1
|
* remove one indentation level in generated .metalinkPascal Rigaux2008-09-041-6/+4
|
* simplifyPascal Rigaux2008-09-041-6/+6
|
* simplifyPascal Rigaux2008-09-041-7/+8
|
* simplifyPascal Rigaux2008-09-041-3/+4
|
* create _create_one_metalink_line() out of _create_metalink_()Pascal Rigaux2008-09-041-18/+24
|
* "nicer" debug/log messagePascal Rigaux2008-09-031-1/+1
|
* if we use metalink, don't try various mirrors, aria2 will take care of ↵Pascal Rigaux2008-09-031-2/+10
| | | | everything
* use sync_rel() instead of sync_url()Pascal Rigaux2008-09-031-5/+5
| | | | | (this requires changing _new_distribconf_and_download parameters)
* don't deconstruct $files in _create_metalink_(), use $rel_files insteadPascal Rigaux2008-09-031-9/+11
|
* inline _sync_raw()Pascal Rigaux2008-09-031-14/+9
|
* ensure _sync_raw() is only called through sync_rel()Pascal Rigaux2008-09-031-3/+2
|
* be more tolerant in deprecated urpm::download::sync()Pascal Rigaux2008-09-031-2/+1
| | | | | (since it's easy to be so)
* simplify _sync_webfetch_raw() (we know all files to download have the same ↵Pascal Rigaux2008-09-031-23/+12
| | | | protocol (ftp, ssh...))
* ensure _sync_raw() is never called with undefined $mediumPascal Rigaux2008-09-031-2/+8
|
* don't call sync() anymorePascal Rigaux2008-09-031-2/+2
|
* deprecate urpm::download::sync() in favor of sync_url() and sync_rel()Pascal Rigaux2008-09-031-0/+7
|
* move %all_options computation in _all_options()Pascal Rigaux2008-09-031-12/+18
|
* modify _probe_with_try_list() to be able to use sync_rel()Pascal Rigaux2008-09-031-5/+6
|
* simplify (as suggested by perl_checker)Pascal Rigaux2008-09-031-3/+2
|
* create urpm::download::sync_url() and use itPascal Rigaux2008-09-032-3/+9
|
* - create urpm::blist_to_filenames()Pascal Rigaux2008-09-031-1/+1
| | | | | - use it and sync_rel()
* use urpm::download::sync_rel()Pascal Rigaux2008-09-031-2/+2
|
* - fix _synthesis_dir() (from previous commit)Pascal Rigaux2008-09-031-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 Rigaux2008-09-031-5/+11
| | | | | - fix typo in previous commit
* create urpm::download::sync_rel() and use itPascal Rigaux2008-09-032-3/+10
|
* - really call aria2 with --max-tries=1Pascal Rigaux2008-09-031-2/+1
| | | | | | (it helps a lot when trying to download some files (eg: reconfig.urpmi))
* use /root/.aria2-adaptive-stats when launched as rootPascal Rigaux2008-09-021-1/+1
|
* only use the 8 best mirrors, then we let aria2 choosePascal Rigaux2008-09-021-1/+9
|
* - call aria2 with brand-new --uri-selector=adaptivePascal Rigaux2008-09-021-2/+7
| | | | | and use options that makes it work nicely
* - all toolsPascal Rigaux2008-09-011-2/+13
| | | | | o use metalink/aria2 by default (when available) when using a mirrorlist
* - urpmi.addmediaPascal Rigaux2008-09-011-2/+5
| | | | | | o handle $URPMI_ADDMEDIA_REASON (special reason to give to api.mandriva.com/mirrors/... to allow statistics)
* fix --limit-rate with aria2Pascal Rigaux2008-09-011-1/+1
|
* help perl_checkerPascal Rigaux2008-09-011-0/+1
|
* instead of passing around $options->{media} with medium name, pass directly ↵Pascal Rigaux2008-09-011-15/+9
| | | | $medium
* cleanupPascal Rigaux2008-09-011-1/+2
|