aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/subscribe.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed invalid TAG error in becommands.subscribe.get_subscribers()W. Trevor King2009-09-261-0/+2
| | | | | Check that the string has the right tag before attempting to parse it :p.
* Added -a and -l options to be subscribe.W. Trevor King2009-09-261-11/+29
| | | | | It's useful to have some way to see the current subscription status from the command line ;).
* Improved unittest cleanup by adding BugDir.cleanup().W. Trevor King2009-07-311-2/+4
| | | | | | | | Also simple_bug_dir -> SimpleBugDir class, which allows me to add utility.Dir cleanup to SimpleBugDir.cleanup(). Still having a bit of trouble with the becommand.new tests due to bugdir loading though...
* Added Tree types and get_bugdir_subscribers to becommands/subscribe.py.W. Trevor King2009-07-231-83/+214
| | | | | | | | | | | | | | The Tree subclass SubscriptionType may be a few more lines to setup, but they should be really easy to extend and will automatically keep the longhelp and type handling in sync. An example extension for bugdir types would be all -> assigned -> <user> to subscribe only to bugs being assigned to the specified user. You'd have to loosen the currently strict InvalidType checking to make that work, but the current type-tree handling would be up to the task. Also a bit of reorganizing to hide the private functions.
* Added becommands/subscribe.py to manage subscription list.W. Trevor King2009-07-221-0/+237