Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * methods/rred.cc: | David Kalnischkies | 2012-03-20 | 1 | -2/+3 |
| | | | | | | | | | | | - 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 | ||||
* | micro-optimize "(performance) Prefer prefix ++/-- operators for ↵ | David Kalnischkies | 2012-03-05 | 1 | -1/+1 |
| | | | | non-primitive types." | ||||
* | use forward declaration in headers if possible instead of includes | David Kalnischkies | 2011-09-19 | 1 | -1/+2 |
| | |||||
* | merge with debian/experimental | David Kalnischkies | 2011-09-13 | 1 | -4/+20 |
|\ | |||||
| * | merged from lp:~mvo/apt/mvo | Michael Vogt | 2011-08-15 | 1 | -1/+17 |
| |\ | |||||
| | * | * methods/mirror.cc: | Michael Vogt | 2011-08-11 | 1 | -1/+17 |
| | | | | | | | | | | | | - include the architecture(s) in the query string as well so that the server can make better decisions | ||||
| * | | follow the recommendation of cppcheck to make some method methods (scnr) | David Kalnischkies | 2011-08-11 | 1 | -1/+1 |
| | | | | | | | | | | | | const and initial mostly Debug member values in the constructors | ||||
| * | | cppcheck complains about some possible speed improvements which could be | David Kalnischkies | 2011-08-11 | 1 | -2/+2 |
| |/ | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types. | ||||
* / | reorder includes: add <config.h> if needed and include it at first | David Kalnischkies | 2011-09-13 | 1 | -1/+3 |
|/ | |||||
* | append the dist (e.g. sid, wheezy) as a query string when | Michael Vogt | 2011-06-07 | 1 | -0/+5 |
| | | | asking for a suitable mirror | ||||
* | * methods/mirror.cc: | Michael Vogt | 2011-06-07 | 1 | -2/+12 |
| | | | | - ignore lines starting with "#" in the mirror file - ignore non http urls in the mirrors | ||||
* | methods/mirror.cc: raise error if the mirror file can not be read | Michael Vogt | 2011-03-24 | 1 | -0/+7 |
| | |||||
* | do not crash if the mirror file fails to download | Michael Vogt | 2011-03-24 | 1 | -2/+5 |
| | |||||
* | merge fix from Matt Zimmerman, many thanks (LP: #741098) | Michael Vogt | 2011-03-24 | 1 | -1/+3 |
| | |||||
* | methods/mirror.cc: randomize only based on hostname | Michael Vogt | 2011-03-14 | 1 | -4/+15 |
| | |||||
* | methods/mirror.cc: init random seed at startup | Michael Vogt | 2011-03-14 | 1 | -1/+3 |
| | |||||
* | randomize mirror list to ensure more even load | Michael Vogt | 2011-03-14 | 1 | -0/+30 |
| | |||||
* | * mirror method: | Michael Vogt | 2011-03-14 | 1 | -0/+4 |
| | | | - when downloading data, show the mirror being used | ||||
* | methods/mirror.cc: improve debug output and fix selecting the next mirror | Michael Vogt | 2011-03-11 | 1 | -4/+9 |
| | |||||
* | fix compiler warning in the new mirror code | David Kalnischkies | 2010-06-09 | 1 | -11/+16 |
| | |||||
* | methods/mirror.cc: debug improvements | Michael Vogt | 2010-06-02 | 1 | -2/+9 |
| | |||||
* | implement Fail-Ignore bool in FetchItem that tells the method that a failure ↵ | Michael Vogt | 2010-06-02 | 1 | -12/+11 |
| | | | | of this item is ok and does not need to be tried on all mirrors | ||||
* | methods/mirror.cc: simplify uri.startswith() | Michael Vogt | 2010-06-02 | 1 | -1/+1 |
| | |||||
* | methods/mirrors.cc: make cycle through the mirrors work properly | Michael Vogt | 2010-06-02 | 1 | -15/+40 |
| | |||||
* | methods/mirror.cc: remove Acquire::Mirror::RefreshInterval (not really useful) | Michael Vogt | 2010-06-02 | 1 | -22/+0 |
| | |||||
* | improve error message if mirror method fails | Michael Vogt | 2010-06-02 | 1 | -6/+8 |
| | |||||
* | methods/mirror.cc: on fail try the next mirror | Michael Vogt | 2010-06-02 | 1 | -1/+11 |
| | |||||
* | * apt-pkg/deb/dpkgpm.cc: | Michael Vogt | 2010-06-02 | 1 | -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 Vogt | 2009-03-19 | 1 | -2/+16 |
| | | | | - when download the mirror file and the server is down, return a propper error message (LP: #278635) | ||||
* | * methods/mirror.{cc,h}: | Michael Vogt | 2007-11-28 | 1 | -59/+93 |
|\ | | | | | - only update mirror list on IndexFile updates | ||||
| * | methods/mirror.{cc,h}: | Michael Vogt | 2007-11-28 | 1 | -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 branch | Michael Vogt | 2007-02-06 | 1 | -1/+1 |
|/ | |||||
* | * apt-pkg/acquire-item.cc: | Michael Vogt | 2007-02-06 | 1 | -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 Vogt | 2007-02-05 | 1 | -3/+6 |
| | | | | | | - use FailReason in pkgAcquire::Item::Failed when available * methods/mirror.cc: - move some debug output into if(Debug) | ||||
* | * get rid of magic mirror | Michael Vogt | 2007-02-05 | 1 | -16/+46 |
| | |||||
* | * use pkgAcqMethod::FailReason() for consistent error reporting | Michael Vogt | 2007-02-05 | 1 | -9/+3 |
| | |||||
* | * commited the latest mirror failure detection code | Michael Vogt | 2007-02-01 | 1 | -41/+4 |
| | |||||
* | make the mirror failures actually produce a error message | Michael Vogt | 2007-01-24 | 1 | -11/+35 |
| | |||||
* | * mirror-failure.py: example mirror failure cgi | Michael Vogt | 2007-01-17 | 1 | -0/+6 |
| | | | | * methods/mirror.cc: prepare for the failure submit | ||||
* | * basic error reporting from apt in place now (ReportMirrorFailures()) | Michael Vogt | 2007-01-17 | 1 | -6/+21 |
| | |||||
* | * methods/mirror.cc: | Michael Vogt | 2007-01-08 | 1 | -5/+9 |
| | | | | - updated the TODO | ||||
* | * implemented proper mirror list cleanup | Michael Vogt | 2007-01-08 | 1 | -18/+21 |
| | |||||
* | * methods/mirror.cc: | Michael Vogt | 2007-01-08 | 1 | -3/+52 |
| | | | | | - implemented simple Clean() implementation based on the time of the last access for a mirror file | ||||
* | * apt-pkg/init.cc: | Michael Vogt | 2007-01-08 | 1 | -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 Vogt | 2006-11-30 | 1 | -2/+6 |
| | | | | - check the complette queue on Fetch() for urls to transform | ||||
* | * more todo items | Michael Vogt | 2006-11-29 | 1 | -2/+3 |
| | |||||
* | * todo added | Michael Vogt | 2006-11-29 | 1 | -0/+8 |
| | |||||
* | * working mirror implementation based on http method | Michael Vogt | 2006-11-29 | 1 | -14/+58 |
| | |||||
* | * prototype of mirror method added | Michael Vogt | 2006-11-29 | 1 | -0/+97 |