Age | Commit message (Collapse) | Author |
|
We use a wild mixture of C and C++ ways of generating output, so having
a consistent world-view in both styles sounds like a good idea and
should help in preventing regressions.
|
|
C++11 adds the 'override' specifier to mark that a method is overriding
a base class method and error out if not. We hide it in the APT_OVERRIDE
macro to ensure that we keep compiling in pre-c++11 standards.
Reported-By: clang-modernize -add-override -override-macros
Git-Dch: Ignore
|
|
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)
|
|
|
|
|
|
asking for a suitable mirror
|
|
|
|
|
|
- add missing include
* methods/mirror.{cc,h}:
- add SelectNextMirror() and InitMirrors() functions
- read all mirrors into the AllMirrors vector
|
|
- improve the mirror method so that it only updates the mirror list
from the server if we get new indexfiles
- code cleanup
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|