summaryrefslogtreecommitdiff
path: root/methods/mirror.cc
Commit message (Collapse)AuthorAgeFilesLines
* methods/mirror.cc: raise error if the mirror file can not be readMichael Vogt2011-03-241-0/+7
|
* do not crash if the mirror file fails to downloadMichael Vogt2011-03-241-2/+5
|
* merge fix from Matt Zimmerman, many thanks (LP: #741098)Michael Vogt2011-03-241-1/+3
|
* methods/mirror.cc: randomize only based on hostnameMichael Vogt2011-03-141-4/+15
|
* methods/mirror.cc: init random seed at startupMichael Vogt2011-03-141-1/+3
|
* randomize mirror list to ensure more even loadMichael Vogt2011-03-141-0/+30
|
* * mirror method:Michael Vogt2011-03-141-0/+4
| | | - when downloading data, show the mirror being used
* methods/mirror.cc: improve debug output and fix selecting the next mirrorMichael Vogt2011-03-111-4/+9
|
* fix compiler warning in the new mirror codeDavid Kalnischkies2010-06-091-11/+16
|
* methods/mirror.cc: debug improvementsMichael Vogt2010-06-021-2/+9
|
* implement Fail-Ignore bool in FetchItem that tells the method that a failure ↵Michael Vogt2010-06-021-12/+11
| | | | of this item is ok and does not need to be tried on all mirrors
* methods/mirror.cc: simplify uri.startswith()Michael Vogt2010-06-021-1/+1
|
* methods/mirrors.cc: make cycle through the mirrors work properlyMichael Vogt2010-06-021-15/+40
|
* methods/mirror.cc: remove Acquire::Mirror::RefreshInterval (not really useful)Michael Vogt2010-06-021-22/+0
|
* improve error message if mirror method failsMichael Vogt2010-06-021-6/+8
|
* methods/mirror.cc: on fail try the next mirrorMichael Vogt2010-06-021-1/+11
|
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-06-021-7/+23
| | | | | | | - add missing include * methods/mirror.{cc,h}: - add SelectNextMirror() and InitMirrors() functions - read all mirrors into the AllMirrors vector
* * methods/mirror.cc:Michael Vogt2009-03-191-2/+16
| | | | - when download the mirror file and the server is down, return a propper error message (LP: #278635)
* * methods/mirror.{cc,h}:Michael Vogt2007-11-281-59/+93
|\ | | | | - only update mirror list on IndexFile updates
| * methods/mirror.{cc,h}:Michael Vogt2007-11-281-59/+93
| | | | | | | | | | | | - improve the mirror method so that it only updates the mirror list from the server if we get new indexfiles - code cleanup
* | * merged the apt--mirror branchMichael Vogt2007-02-061-1/+1
|/
* * apt-pkg/acquire-item.cc:Michael Vogt2007-02-061-0/+1
| | | | | | | | | | | | - default to "/usr/lib/apt/apt-report-mirror-failure" * cmdline/apt-report-mirror-failure: - no default comit url for now * debian/rules: - move apt-report-mirror-failure into /usr/lib/apt * doc/examples/configure-index: - more documentation * methods/mirror.cc: - updated TODO
* * apt-pkg/acquire-item.cc:Michael Vogt2007-02-051-3/+6
| | | | | | - use FailReason in pkgAcquire::Item::Failed when available * methods/mirror.cc: - move some debug output into if(Debug)
* * get rid of magic mirrorMichael Vogt2007-02-051-16/+46
|
* * use pkgAcqMethod::FailReason() for consistent error reportingMichael Vogt2007-02-051-9/+3
|
* * commited the latest mirror failure detection codeMichael Vogt2007-02-011-41/+4
|
* make the mirror failures actually produce a error messageMichael Vogt2007-01-241-11/+35
|
* * mirror-failure.py: example mirror failure cgiMichael Vogt2007-01-171-0/+6
| | | | * methods/mirror.cc: prepare for the failure submit
* * basic error reporting from apt in place now (ReportMirrorFailures())Michael Vogt2007-01-171-6/+21
|
* * methods/mirror.cc:Michael Vogt2007-01-081-5/+9
| | | | - updated the TODO
* * implemented proper mirror list cleanupMichael Vogt2007-01-081-18/+21
|
* * methods/mirror.cc:Michael Vogt2007-01-081-3/+52
| | | | | - implemented simple Clean() implementation based on the time of the last access for a mirror file
* * apt-pkg/init.cc:Michael Vogt2007-01-081-10/+46
| | | | | | | | | - added Dir::State::Mirrors * doc/examples/configure-index: - added Acquire::mirror::RefreshInterval * methods/mirror.{cc,h}: - download the mirror file into Dir::State::Mirrors - added RefreshInterval option to not ask for the mirror file too often
* * methods/mirror.cc:Michael Vogt2006-11-301-2/+6
| | | | - check the complette queue on Fetch() for urls to transform
* * more todo itemsMichael Vogt2006-11-291-2/+3
|
* * todo addedMichael Vogt2006-11-291-0/+8
|
* * working mirror implementation based on http methodMichael Vogt2006-11-291-14/+58
|
* * prototype of mirror method addedMichael Vogt2006-11-291-0/+97