aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
Commit message (Collapse)AuthorAgeFilesLines
* Revive the UserError/UsageError distinctionW. Trevor King2011-05-022-6/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UsageError was removed back in commit bf3d434b244c57556bec979acbc658c30eb58221 Author: W. Trevor King <wking@drexel.edu> Date: Sat Dec 12 00:31:55 2009 -0500 Added libbe.command.base (with Command class)... because the distinction between UsageError and UserError was unclear. I've brought it back to satisfy a request by Christian Heinrich: On Sun, May 01, 2011 at 02:52:13AM +0200, Christian Heinrich wrote: > 3.) Using wrong syntax should receive better help messages. > > Current: > > "be new" -> ERROR: > Missing required argument SUMMARY > > Should be: > > "be new" -> usage: be new [options] SUMMARY > ... He suggested we print the full option list as well, but I've decided to just print the usage summary and remind the user how to get the full help message if they want it.
* Add summary line to the Serve command.W. Trevor King2011-05-011-1/+6
| | | | Thanks to Christian Heinrich for pointing this out.
* "X or ''|e" -> "(X or '')|e" for proper escaping.W. Trevor King2011-04-171-7/+7
|
* Correct <tdata> -> <tbody> typo in `be html` templates.W. Trevor King2011-04-171-2/+2
|
* Ensure comment div ids start with a letter (per validator.w3.org).W. Trevor King2011-04-171-2/+2
|
* Correct <tbody> -> </tbody> typo in `be html` templates.W. Trevor King2011-04-171-1/+1
|
* Rework `be html` to use Jinja2 templates.W. Trevor King2011-04-171-558/+530
|
* Temporarily disable writing in `be new` to avoid repeated updates.W. Trevor King2011-04-161-0/+3
|
* Add --notify to `be serve`.W. Trevor King2011-04-161-3/+51
|
* Add --preserve-uuids to `be import-xml`.W. Trevor King2011-04-161-2/+4
|
* Centralize assigned processing in parse_assigned & add assigned test to New.W. Trevor King2011-04-162-12/+17
|
* Merge remote branch 'cooper/master'W. Trevor King2011-04-161-1/+20
|\
| * Add support for 'none' and '-' with --assigned like in `be assign`Andrew Cooper2011-03-291-1/+6
| |
| * Add options --status and --severity to `be new`Andrew Cooper2011-03-291-0/+14
| |
* | Fix bd->bugdir typo in import_xml.Valtteri Kokkoniemi2011-04-161-1/+1
|/
* Remove commented code from html.pyChris Ball2011-02-221-3/+0
|
* Left aligned the table cellsGianluca Montecchi2011-01-251-4/+4
|
* New html output for html commandGianluca Montecchi2011-01-241-53/+209
|
* Merge commit 'refs/merge-requests/3' of git://gitorious.org/be/beChris Ball2011-01-085-10/+17
|\
| * Respected all sorting criteria, not only the last.Robert Lehmann2010-11-261-1/+1
| |
| * Change status on assignment of open bugs.Robert Lehmann2010-11-261-0/+2
| | | | | | | | | | | | | | After a bug has been assigned from status `open' it is no longer eligible for that status as described: A working bug that has not been assigned to a developer.
| * Safeguard List._sort_bugs from accumulating values in its default parameters.Robert Lehmann2010-11-261-1/+3
| |
| * Use a clean getattr() instead of eval().Robert Lehmann2010-11-261-1/+1
| |
| * Exclude --complete from completion.Robert Lehmann2010-11-261-1/+2
| |
| * Provide context in comments editor.Robert Lehmann2010-11-211-3/+5
| |
| * Fix list --important to actually apply a filter.Robert Lehmann2010-11-141-4/+4
| |
* | Bumped to version 1.0.01.0.0Chris Ball2011-01-0825-25/+31
| |
* | Fix unittest for `be show` after 22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728.W. Trevor King2010-12-061-3/+3
| |
* | Adjust `be show --xml` since changes to version_info after Bzr->Git migration.W. Trevor King2010-12-061-2/+1
|/
* Make dependency tree output respect --show-status/--show-summary flags.W. Trevor King2010-10-281-6/+6
|
* Move Filter, parse_status, and parse_severity from list to depend.W. Trevor King2010-10-282-67/+68
| | | | This breaks an import dependency cycle.
* libbe.command.depend now shares libbe.command.list's status/severity parsing ↵W. Trevor King2010-10-282-38/+35
| | | | for consistency.
* Fixed `list --sort ...` bug.W. Trevor King2010-10-281-1/+3
|
* Add `list --sort time` test reproducing Gianluca's bug.W. Trevor King2010-10-281-0/+1
|
* Ran update_copyright.py.W. Trevor King2010-10-216-4/+6
|
* Default to "unknown" version info if libbe._version is missing.W. Trevor King2010-09-051-2/+1
|
* Fix "no attribute '_get_bugdir'" bug in `be help severity`.Marien Zwart2010-08-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Bug and patch submitted by Marien Zwart. I can't think of any side effect issues this might raise, so I'm committing it ;). Excerpts from Marien's email below. From: Marien Zwart <...> Date: Tue, 10 Aug 2010 17:45:06 +0200 Subject: [Be-devel] "be help severity" fails (traceback) ... In current git (d63ec5fd3eca61ea53d06a96bfb52170111fc25d) "be help severity" produces the following: Traceback (most recent call last): ... AttributeError: 'Severity' object has no attribute '_get_bugdir' ... but I am not sure if this has any unintended side effects, so I'd prefer not to submit this as a merge request (for someone more familiar with the code to fix this instead). ...
* Avoid loading the whole bugdir when calling `be html -e`.W. Trevor King2010-07-141-3/+5
| | | | | This cleans up Mathieu Clabaut's fix to the html_gen definition problems in `be html -e`.
* Merge remote branch 'matclab/master'W. Trevor King2010-07-141-4/+4
|\
| * Exception when doing 'be html -e'Mathieu Clabaut2010-07-121-4/+4
| | | | | | | | 'html_gen' was referenced before assignment.
* | Make Gianluca's bug status display optional for `be depend`.W. Trevor King2010-07-141-14/+22
| | | | | | | | | | | | | | | | You might not want the bug status displayed, e.g. if you were writing a script that parsed the output of `be depend`. The new implementation is better anyway since it avoids redundant display definitions for blocks vs. blocked by.
* | Updated the changes following Chris Rewviewgian2010-07-071-3/+3
| |
* | Added the bug summary to the output of the 'be depend' commandGianluca2010-07-071-2/+2
|/
* Remove `be open` and `be close` (again)W. Trevor King2010-06-262-122/+0
| | | | | | | | | | | This repeats: commit 5e769027075ce0f95d5cf9006d097f7fe7d8b38d Author: W. Trevor King <wking@drexel.edu> Date: Mon Dec 14 01:13:05 2009 -0500 Removed `be open` and `be close`. Alias `be status` instead. ... which somehow was clobbered in a merge.
* UsageError -> UserError in a few libbe.command.* submods.W. Trevor King2010-06-264-9/+9
| | | | | | | | | | | This catches them up with the removal of UsageError in commit bf3d434b244c57556bec979acbc658c30eb58221 Author: W. Trevor King <wking@drexel.edu> Date: Sat Dec 12 00:31:55 2009 -0500 Added libbe.command.base (with Command class) and moved list command to new format. I guess I don't make many mistakes entering those commands ;).
* Use bug.id.user() instead of bug.uuid many places in libbe.command.dependW. Trevor King2010-06-261-27/+27
|
* Fix Tree() calls in libbe.command.dependW. Trevor King2010-06-261-2/+2
|
* `be list` without --extra-strings now lists bugs with extra strings.W. Trevor King2010-06-261-1/+1
| | | | | The previous implementation would not show them unless an explicitly matching regexp was passed in with --extra-strings.
* Reworked `be list --extra-strings REGEXP` logic.W. Trevor King2010-06-251-2/+8
| | | | | | Previous implementation only matched if *every* regexp matched *every* string. Current implementation matches is *any* regexp matches *any* string.
* Added --tags to `be list`.W. Trevor King2010-06-252-17/+61
| | | | | And broke out tagging functions in libbe.command.tag, so they are accessible to other commands.