[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#743358: marked as done (say that gencaches might also do nothing)



Your message dated Mon, 21 Apr 2014 13:09:52 +0200
with message-id <20140421110952.GB5414@crossbow>
and subject line Re: Bug#743358: say that gencaches might also do nothing
has caused the Debian Bug report #743358,
regarding say that gencaches might also do nothing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
743358: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743358
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.0
Severity: wishlist
File: /usr/share/man/man8/apt-cache.8.gz

Please change
       gencaches
           gencaches creates APT's package cache. This is done implicitly by
           all commands needing this cache if it is missing or outdated.
to say
       gencaches
           gencaches creates APT's package cache if it is missing or
           outdated, else it does nothing. This is done implicitly by
           all commands needing this cache.

(if indeed it is talking about /var/cache/apt/*.bin ?!)

--- End Message ---
--- Begin Message ---
Hi,

On Wed, Apr 02, 2014 at 07:55:21AM +0800, 積丹尼 Dan Jacobson wrote:
> Please change
>        gencaches
>            gencaches creates APT's package cache. This is done implicitly by
>            all commands needing this cache if it is missing or outdated.
> to say
>        gencaches
>            gencaches creates APT's package cache if it is missing or
>            outdated, else it does nothing. This is done implicitly by
>            all commands needing this cache.

Why? The command does as advertised. Running it will result in the
existence of up-to-date cache(s). If it is a hard building process,
involves time travel or is accomplished by doing nothing¹ isn't really
important, is it?

I would call it natural that a command is lazy by default…


¹ which isn't true. Verifying correctness is work, too, it is just
quicker than building a cache. So this would need to be worded like:

gencaches creates APT's package cache if it doesn't exist or if it
exists checks if it is still valid and if not recreates it.
This is done implicitly by all commands needing this cache.

I don't see the point in saying it that way either, especially as nobody
has defined what "still valid" means in this context, so off I go
writing a paragraph about gencaches behavior with dubious benefits…
Doesn't feel right, hence closing.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: