Bug#499897: illustration

2008-11-24 Thread Thomas Viehmann
On 2008-11-24 07:29:40.00 Christian Perrier <[EMAIL PROTECTED]> wrote: > I came back on the proposed patch after Joerg revived the discussion > about this bug. > > Quoting Thomas Viehmann ([EMAIL PROTECTED]): > > > + if (_config->FindB("Acquire::Check-Valid-Until", true)) { > > + if (time(

Bug#499897: illustration

2008-11-24 Thread Christian Perrier
I came back on the proposed patch after Joerg revived the discussion about this bug. Quoting Thomas Viehmann ([EMAIL PROTECTED]): > + if (_config->FindB("Acquire::Check-Valid-Until", true)) { > + if (time(NULL) > MetaIndexParser->GetValidUntil()) { > + _error->Warning(string("Rele

Bug#499897: illustration

2008-09-26 Thread Christian Perrier
Quoting Thomas Viehmann ([EMAIL PROTECTED]): > Hi, > > the following is more an illustration of how things could work (or not). > In particular, the questions of defaults / "Valid-Until: eternity" are > not addressed. Of course everybody will notice that this introduces more i18n'ed messages, wh

Bug#499897: illustration

2008-09-25 Thread Thomas Viehmann
Hi, the following is more an illustration of how things could work (or not). In particular, the questions of defaults / "Valid-Until: eternity" are not addressed. Kind regards T. -- Thomas Viehmann, http://thomas.viehmann.net/ diff -Nru apt-0.7.14/apt-pkg/acquire-item.cc apt-0.7.14+/apt-pkg/acq