aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/subscribe.py
Commit message (Collapse)AuthorAgeFilesLines
* be --dir DIR COMMAND now roots the bugdir in DIR without changing directories.W. Trevor King2009-12-071-2/+4
| | | | | | | | | | | | | | | | | Previously, for the directory structure A |-- X `-- Y You could do something like A$ be --dir X diff --dir ../Y Now it's A$ be --dir X diff --dir Y The --root option to `be init` has been removed as redundant. Replace calls like be init --root DIR with be --dir DIR init
* More 'DIR'->diff.BUGDIR_ID updatesW. Trevor King2009-12-051-6/+6
|
* Added subscriptions option to diff.Diff.report_tree().W. Trevor King2009-12-051-2/+3
| | | | | | Also added diff.BUGDIR_ID to avoid lots of magic 'DIR' definitions, and added diff.Subscription class to make the old (id, type) tuples a bit more elegant.
* Moved subscription types from becommands/subscribe.py to libbe/diff.py.W. Trevor King2009-12-051-69/+36
|
* Added restrict_file_access to becommands' execute() args.W. Trevor King2009-11-211-1/+1
| | | | | | | + associated adjustments in other files. See cmdutil.restrict_file_access.__doc__ for an explanation of the security hole this closes.
* 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