summaryrefslogtreecommitdiffstats
path: root/urpm/mirrors.pm
Commit message (Collapse)AuthorAgeFilesLines
* (_mandriva_mirrorlist) default to mageia product for upgrading from mdvThierry Vignaud2011-09-141-1/+2
| | | | (syncing with currently shipped urpmi)
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-09-131-1/+1
| | | | | | | | | | | | 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 ------------------------------------------------------------------------
* reload mirror list cache if it's in an "old" formatChristophe Fergeau2009-12-081-0/+3
| | | | | | | | old mirror list caches didn't store the time of the product.id file. When such a file is encountered, make sure we invalidate the cache. Otherwise, when upgrading from a distro where the mirror list cache didn't have the product.id mtime to a distro where the mirror list cache would have it, the mirror list cache won't be invalidated
* don't use aria2 to fetch mirrorlist, fixes #53434Christophe Fergeau2009-10-291-1/+1
|
* 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
* default to checking certificates when dowloading dataChristophe Fergeau2009-09-251-1/+1
|
* use https when getting files from api.mandriva.comChristophe Fergeau2009-08-311-2/+2
|
* append a 'reason' field to api.mandriva.com queries when the query isChristophe Fergeau2009-08-181-3/+12
| | | | meant to update the mirror list
* invalidate mirrorlist cache when distro version changesChristophe Fergeau2009-07-241-0/+5
| | | | | | | If mirrors.cache contains mirrors for 2009.1 and product.id changes to have version=2010.0, cache is used and urpmi.addmedia --distrib --mirrorlist will add 2009.1 mirrors. Store mtime of product.id in the mirror cache to properly detect when product.id was modified
* - library:Pascal Rigaux2008-10-141-1/+5
| | | | | o allow mdkapplet-upgrade-helper to force $MIRRORLIST distro version
* 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)