aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/cmdutil.py
Commit message (Collapse)AuthorAgeFilesLines
* Added 'remove' command to remove bugs. Use __desc__ for command help.W. Trevor King2008-11-161-30/+14
| | | | | | | | | | | Using the __desc__ reduces documentation duplication. It's also better than using __doc__, because __doc__ could (should?) be more than one-line long, and we just want a short description to jog our memories in the complete command list. Also moved unique_name from cmdutil.py to names.py to avoid the bug->cmdutil->bugdir->bug cyclic include.
* Moved libbe.cmdutil.bug_summary() to libbe.bug.Bug.string().W. Trevor King2008-11-151-23/+0
| | | | This seems like a natual place for a function that only operates on Bugs.
* becommands/show.py gives more specific bug information.W. Trevor King2008-11-151-13/+19
|
* Split Bug and Comment class out to bug.py from bugdir.pyW. Trevor King2008-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | Comment should probably have it's own file too... I also tried to clean up the interface for setting status and severity. Both attributes involve selecting strings from predefined lists. The lists of valid strings (and descriptions of each string) are now defined in bug.py. The bug.py lists are then used to generate appropriate help strings in becommands/status.py and severity.py. This should make it easier to keep the help strings in synch with the validation information. The original status strings weren't documented, and I didn't know what they all ment, so I elimanted some of them. 'in-progress' and 'disabled' are no longer with us. Of course, it would be simple to add them back in if people don't agree with me on that. Due to the loss of 'disabled' I had to change the status of two bugs (11e and 597) to 'closed'. I removed becommands/inprogress.py as well. It's functionality was replaced by the more general status.py command, which mimics the severity.py command.
* Added caveat about using short bug names to unique_name().W. Trevor King2008-11-141-0/+4
|
* Cleaned up and docstringed libbe.cmdutil.unique_name().W. Trevor King2008-11-141-3/+6
| | | | | Now the first bug will have a 3 char short name (used to be one char, with the second bug having a 3 char name).
* Merge both linesAaron Bentley2006-04-041-0/+48
|\
| * Added reply handling to commentsAaron Bentley2006-04-031-0/+48
| |
* | Refactored the command listingAaron Bentley2006-04-011-0/+9
|/
* Auto-decode user input to unicodeAaron Bentley2006-01-261-1/+3
|
* got tests passingAaron Bentley2005-12-211-3/+0
|
* Forced be to show minimum 3 digits, because 3 is common.Aaron Bentley2005-05-171-0/+2
|
* Added appropriate copyright notices, GPLed.Aaron Bentley2005-05-161-0/+16
|
* Changed layout of the displaying bugs (list and show commands)Oleg Romanyshyn2005-04-221-2/+5
|
* Moved FileString and get_file() into utility.pyAaron Bentley2005-03-231-0/+6
|
* Pulled in Fai's optparserAaron Bentley2005-03-221-1/+30
|
* Stopped showing targets under target-specific headingsAaron Bentley2005-03-211-2/+2
|
* Fixed test cases so they're not machine-specificAaron Bentley2005-03-201-2/+2
|
* Used cmdutil tree_root wrapper to avoid tracebacks on wrong treeAaron Bentley2005-03-181-0/+23
|
* Organized list by who the bugs are assigned toAaron Bentley2005-03-181-0/+9
|
* Corrected capitalization of targetAaron Bentley2005-03-181-1/+1
|
* Added "assign" commandAaron Bentley2005-03-181-3/+7
|
* Added unit testing frameworkAaron Bentley2005-03-111-0/+19
|
* Added exceptions for missing commands, handled -, plugin command execAaron Bentley2005-03-111-3/+10
|
* Implemented plugin system for viewing commandsAaron Bentley2005-03-111-0/+9
|
* Added severity commandAaron Bentley2005-03-111-1/+12
|
* Removed friendly bug nameAaron Bentley2005-03-111-7/+1
|
* Tweaked summary messageAaron Bentley2005-03-101-1/+1
|
* Tweaked summary displayAaron Bentley2005-03-101-2/+2
|
* Implemented show commandAaron Bentley2005-03-091-0/+11
|
* added bugs, Switched to using uuid prefixes to ensure uniquenessAaron Bentley2005-03-091-3/+16
|
* Added ability to create, close, open bugsAaron Bentley2005-03-091-0/+16
|
* Moved code into bugdir, handled unknown commandsAaron Bentley2005-03-091-70/+3
|
* Added basic bug-listing functionalityAaron Bentley2005-03-091-0/+73