summaryrefslogtreecommitdiffstats
path: root/urpm/mirrors.pm
Commit message (Collapse)AuthorAgeFilesLines
* create urpm::mirrors::try_probe() as a alternative solution toPascal Rigaux2008-09-221-0/+21
| | | | | | urpm::mirrors::try() which ensure wrong path given by the user doesn't lead to mirrors being all blacklisted
* fix: use "&" instead of "," to join GET parameters in urlPascal Rigaux2008-09-061-1/+1
|
* create urpm::mirrors::list_urls() and use itPascal Rigaux2008-09-041-6/+19
| | | | | this fixes things like "mirrorlist: http://localmirror/dis/cooker/i586 $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)
* set network_mtime in _pick_one_, it's cleaner (since we don't need to setPascal Rigaux2008-07-091-3/+5
| | | | | cache's network_mtime everytime we use the cache)
* simplifyPascal Rigaux2008-07-081-6/+4
|
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-03-181-12/+36
| | | | | | | o urpmi.addmedia --mirrorlist handles a list of mirrors/mirrorlist: you can specify a mirror to use inside a local network, but it will default to standard mirrors when the local mirror is not available.
* create _expand() out of _list()Pascal Rigaux2008-03-181-6/+11
|
* create _pick_one_Pascal Rigaux2008-03-181-5/+14
| | | | | (needed for next commit)
* create _cache__may_clean_if_outdated() out of _pick_one()Pascal Rigaux2008-03-181-6/+19
|
* - urpmi, urpmi.addmedia, urpmi.update:Pascal Rigaux2008-02-251-2/+7
| | | | | o handle variables $ARCH/$RELEASE in mirrorlist
* - all tools:Pascal Rigaux2008-02-231-0/+212
o handle mirrorlist (need perl-Zone-TimeInfo patched for geolocalisation)