#652420 aptitude: add/remove multiple user-tags at once

Package:
aptitude
Source:
aptitude
Description:
terminal-based package manager
Submitter:
Date:
2015-11-20 01:45:06 UTC
Severity:
wishlist
#652420#5
Date:
2008-09-10 02:35:59 UTC
From:
To:
Regarding
  %T Tagged 1 No Outputs “*” if the package is tagged, nothing otherwise.^[16]

Mention if we're talking about the (--)add-user-tag tags (sounds like
it) or some other tags.

I can't test to find out as
  ^[16] Currently tagging is not supported; this escape is for future use.

Wait, now it sounds like some other tags, e.g., debtags.

OK, anyway do add a %escape to show if a packages has any add-user-tag
tags. Hmmm, maybe a count of how many too if any...

And maybe an additonal %escape to give all their names...

#652420#10
Date:
2008-09-13 11:55:30 UTC
From:
To:
Also in the docs,
|                         |                    |Select packages that are   |
|?user-tag                |                    |marked with a user-tag     |
|                         |                    |matching the regular       |
|                         |                    |expression user-tag.       |
Say
?user-tag(user-tag)
just like you (almost!, harmonize with the above please) do here:
   ?user-tag(tag)
      This term matches any package that is marked with a user-tag matching the
      regular expression tag.


Also say debtags here,

  ?tag(tag), ~Gtag
      Matches packages whose  Tag field matches the regular expression tag. For
                             ^DEBTAGS
      instance, the pattern ?tag(game::strategy) would match strategy games.

      For more information on tags and debtags, see http://
      debtags.alioth.debian.org.

just like you do here:
|?tag(tag)                |~Gtag               |Select packages that have  |
|                         |                    |the given debtags tag.     |

#652420#15
Date:
2008-09-13 12:03:13 UTC
From:
To:
Also do add commands to:
*Remove all user-tags from <package>s: mytag1 mytag2... all zapped in
one shot without even having to list them one by one on the command line.

And maybe implement:
*Add several user-tags at once to <package>s.

#652420#20
Date:
2008-09-13 12:12:45 UTC
From:
To:
Also we note there is no error checking.

# aptitude remove-user-tag jidanni2 libnet-dns-perl
Writing extended state information... Done
# aptitude remove-user-tag jidanni2 libnet-dns-perl
# aptitude remove-user-tag jidanni2 libnet-dns-perl

The only way to detect if aptitude successfully removed a tag is to
note that it prints a
  Writing extended state information... Done
message. If there is no message that meant something went wrong. But
no different $? is set.

#652420#29
Date:
2015-11-20 01:41:24 UTC
From:
To:
2008-09-13 13:03 jidanni@jidanni.org:
bug report.