| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Previously, HTTP servers were preferred over everything, meaning that
HTTPS servers were never used. Now, HTTPS servers have an edge over
other protocols, but if another server is much closer geographically
than others, it will still be used. If so, HTTP (and FTPS) will have an
edge over FTP and RSYNC.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Sort http mirrors to the beginning of the mirror list. This avoids an
rsync mirror being selected as the mirror sometimes, which causes the
preferred aria2 downloader from not being used.
This also has the effect that in practice aria2 will only be given http
mirrors. If this causes issues, the sorting code can be changed to
reverse sort with the presence of "rsync://" instead.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(syncing with currently shipped urpmi)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
------------------------------------------------------------------------
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
meant to update the mirror list
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
o allow mdkapplet-upgrade-helper to force $MIRRORLIST distro version
|
|
|
|
|
|
| |
urpm::mirrors::try() which ensure wrong path given by the user doesn't lead to
mirrors being all blacklisted
|
| |
|
|
|
|
|
| |
this fixes things like "mirrorlist: http://localmirror/dis/cooker/i586 $MIRRORLIST"
|
|
|
|
|
|
| |
o handle $URPMI_ADDMEDIA_REASON
(special reason to give to api.mandriva.com/mirrors/... to allow statistics)
|
|
|
|
|
| |
cache's network_mtime everytime we use the cache)
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
(needed for next commit)
|
| |
|
|
|
|
|
| |
o handle variables $ARCH/$RELEASE in mirrorlist
|
|
o handle mirrorlist
(need perl-Zone-TimeInfo patched for geolocalisation)
|