summaryrefslogtreecommitdiff
path: root/methods/mirror.cc
AgeCommit message (Collapse)Author
2014-02-22Fix typos in documentation (codespell)Michael Vogt
2014-01-16correct some style/performance/warnings from cppcheckDavid Kalnischkies
The most "visible" change is from utime to utimensat/futimens as the first one isn't part of POSIX anymore. Reported-By: cppcheck Git-Dch: Ignore
2013-06-06Fix double free (closes: #711045)Michael Vogt
* Fix double free (closes: #711045) * Fix crash when the "mirror" method does not find any entry (closes: #699303)
2012-05-14* methods/mirror.cc:Raphael Geissert
- generate an equal sign also for the first arch (Closes: #669142)
2012-03-20* methods/rred.cc:David Kalnischkies
- check return of writev() as gcc recommends * methods/mirror.cc: - check return of chdir() as gcc recommends * apt-pkg/deb/dpkgpm.cc: - check return of write() a gcc recommends * apt-inst/deb/debfile.cc: - check return of chdir() as gcc recommends * apt-inst/deb/dpkgdb.cc: - check return of chdir() as gcc recommends
2012-03-05micro-optimize "(performance) Prefer prefix ++/-- operators for ↵David Kalnischkies
non-primitive types."
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies
2011-09-13merge with debian/experimentalDavid Kalnischkies
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies
2011-08-15merged from lp:~mvo/apt/mvoMichael Vogt
2011-08-11follow the recommendation of cppcheck to make some method methods (scnr)David Kalnischkies
const and initial mostly Debug member values in the constructors
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies
done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
2011-08-11* methods/mirror.cc:Michael Vogt
- include the architecture(s) in the query string as well so that the server can make better decisions
2011-06-07append the dist (e.g. sid, wheezy) as a query string whenMichael Vogt
asking for a suitable mirror
2011-06-07* methods/mirror.cc:Michael Vogt
- ignore lines starting with "#" in the mirror file - ignore non http urls in the mirrors
2011-03-24methods/mirror.cc: raise error if the mirror file can not be readMichael Vogt
2011-03-24do not crash if the mirror file fails to downloadMichael Vogt
2011-03-24merge fix from Matt Zimmerman, many thanks (LP: #741098)Michael Vogt
2011-03-14methods/mirror.cc: randomize only based on hostnameMichael Vogt
2011-03-14methods/mirror.cc: init random seed at startupMichael Vogt
2011-03-14randomize mirror list to ensure more even loadMichael Vogt
2011-03-14* mirror method:Michael Vogt
- when downloading data, show the mirror being used
2011-03-11methods/mirror.cc: improve debug output and fix selecting the next mirrorMichael Vogt
2010-06-09fix compiler warning in the new mirror codeDavid Kalnischkies
2010-06-02methods/mirror.cc: debug improvementsMichael Vogt
2010-06-02implement Fail-Ignore bool in FetchItem that tells the method that a failure ↵Michael Vogt
of this item is ok and does not need to be tried on all mirrors
2010-06-02methods/mirror.cc: simplify uri.startswith()Michael Vogt
2010-06-02methods/mirrors.cc: make cycle through the mirrors work properlyMichael Vogt
2010-06-02methods/mirror.cc: remove Acquire::Mirror::RefreshInterval (not really useful)Michael Vogt
2010-06-02improve error message if mirror method failsMichael Vogt
2010-06-02methods/mirror.cc: on fail try the next mirrorMichael Vogt
2010-06-02* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- add missing include * methods/mirror.{cc,h}: - add SelectNextMirror() and InitMirrors() functions - read all mirrors into the AllMirrors vector
2009-03-19* methods/mirror.cc:Michael Vogt
- when download the mirror file and the server is down, return a propper error message (LP: #278635)
2007-11-28* methods/mirror.{cc,h}:Michael Vogt
- only update mirror list on IndexFile updates
2007-11-28methods/mirror.{cc,h}:Michael Vogt
- improve the mirror method so that it only updates the mirror list from the server if we get new indexfiles - code cleanup
2007-02-06* merged the apt--mirror branchMichael Vogt
2007-02-06* apt-pkg/acquire-item.cc:Michael Vogt
- 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
2007-02-05* apt-pkg/acquire-item.cc:Michael Vogt
- use FailReason in pkgAcquire::Item::Failed when available * methods/mirror.cc: - move some debug output into if(Debug)
2007-02-05* get rid of magic mirrorMichael Vogt
2007-02-05* use pkgAcqMethod::FailReason() for consistent error reportingMichael Vogt
2007-02-01* commited the latest mirror failure detection codeMichael Vogt
2007-01-24make the mirror failures actually produce a error messageMichael Vogt
2007-01-17* mirror-failure.py: example mirror failure cgiMichael Vogt
* methods/mirror.cc: prepare for the failure submit
2007-01-17* basic error reporting from apt in place now (ReportMirrorFailures())Michael Vogt
2007-01-08* methods/mirror.cc:Michael Vogt
- updated the TODO
2007-01-08* implemented proper mirror list cleanupMichael Vogt
2007-01-08* methods/mirror.cc:Michael Vogt
- implemented simple Clean() implementation based on the time of the last access for a mirror file
2007-01-08* apt-pkg/init.cc:Michael Vogt
- 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
2006-11-30* methods/mirror.cc:Michael Vogt
- check the complette queue on Fetch() for urls to transform
2006-11-29* more todo itemsMichael Vogt