Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cleanup headers and especially #includes everywhere | David Kalnischkies | 2014-03-13 | 1 | -5/+5 |
| | | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use) | ||||
* | warning: unused parameter ‘foo’ [-Wunused-parameter] | David Kalnischkies | 2014-03-13 | 1 | -1/+1 |
| | | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore | ||||
* | warning: extra ‘;’ [-Wpedantic] | David Kalnischkies | 2014-03-13 | 1 | -14/+14 |
| | | | | | Git-Dch: Ignore Reported-By: gcc -Wpedantic | ||||
* | Fix typos in documentation (codespell) | Michael Vogt | 2014-02-22 | 1 | -3/+3 |
| | |||||
* | correct some style/performance/warnings from cppcheck | David Kalnischkies | 2014-01-16 | 1 | -4/+4 |
| | | | | | | | | 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 | ||||
* | Fix double free (closes: #711045) | Michael Vogt | 2013-06-06 | 1 | -0/+3 |
| | | | | | | | * Fix double free (closes: #711045) * Fix crash when the "mirror" method does not find any entry (closes: #699303) | ||||
* | * methods/mirror.cc: | Raphael Geissert | 2012-05-14 | 1 | -1/+1 |
| | | | | - generate an equal sign also for the first arch (Closes: #669142) | ||||
* | * 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 |