tags 487458 + help confirmed
thanks

On Sun, Jun 22, 2008 at 06:57:58AM +0800, [EMAIL PROTECTED] wrote:
> Instead of doing e.g.,
> ---- unexplained: var ----
>         /var/lib/mediawiki-1.12.0
>         /var/lib/mediawiki-1.12.0/.htaccess
>       (hundreds follow.)
> 
> Optionally do like diff -r, and just say
> ---- unexplained: var ----
>         /var/lib/mediawiki-1.12.0/
> Or
>         /var/lib/mediawiki-1.12.0/: 324 files in 39 directories

I agree this would be a nice feature, as cruft's reports can easily get
unreadable because of their size.

However cruft does not have a notion of "tree", it just processes lists
of filenames. Consequently, making it recognize whether a whole subtree
is implicated, would be rather difficult. I'm not saying "impossible",
because both lists of implicated and existing files are available.
However my algorithmic skills are not good enough to attempt writing an
efficient implementation myself. I will happily accept patches, though.

In the meantime, you can have a look at #291823 and its blocker bug, for
a crude UI to cruft reports.

regards,

Marcin
-- 
Marcin Owsiany <[EMAIL PROTECTED]>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to