[Aptitude-devel] Bug#498442: say if %T refers to add-user-tag tags or make such an %escape
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Mon Nov 23 21:06:14 UTC 2015
Control: tags -1 + pending - wontfix
2015-11-20 01:09 To 積丹尼 Dan Jacobson:
>Now another note for maintainers... Bug #665824 also requested
>something like this, I'm not going to merge because it contains
>unrelated stuff and it does not add clarity, but the tl;dr version is:
>>- get a command to search packages and see their tags :
>>$ aptitude search em
>>i emacs test,foo
>>i emfoo bar
>>i barem other-tag
>Which would be already possible if there was a %escape listing all
>tags for a package, the same that this bug is about.
I decided to re-use the %T ("tagged") also for user-tags, so if a
package is tagged and has user tags, it will show (with -F '%p %T#'):
pkg-awesome * tag-1, tag-2, tag-3
Except that "tagged" (an a-la-mutt feature, I guess) was never
implemented, so the "*" will never be there.
Perhaps "tagged" should be removed altogether, but in the meantime I
feel that it's more important to use a field for something which is
actually implemented (and which doesn't have any other way to show
user-tags of the packages) rather than reserving one of these scarce
escapes for an unimplemented feature.
So implemented now, and marked as +pending.
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel