aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Ran update_copyright.pyW. Trevor King2010-06-2227-313/+344
|
* Merge with TrevorChris Ball2010-06-221-1/+8
|\
| * Added -c/--creator to `be new`wking2010-06-221-1/+8
| | | | | | | | Following Gour's suggestion on the mailing list.
* | Merge with Trevor.Chris Ball2010-06-203-251/+6
|/
* Use getreader (not getwriter) for wrapping stdinW. Trevor King2010-05-191-1/+1
|
* Created a bug (wontfix) for Anton Batenev's default-EDITOR comments.W. Trevor King2010-03-191-1/+1
| | | | Also fixed a UserError typo in import_xml.py.
* Fix relative links from bug pages in `be html`.W. Trevor King2010-02-221-3/+3
| | | | | Introduced by bugs/XXX.html -> bugs/XXX/index.html in wking@drexel.edu-20100220181238-j5ecst02y0k9ioo9
* Use truncated_id in `be html` comment <div id="">W. Trevor King2010-02-221-4/+5
|
* Added `be html --min-id-length INT` optionW. Trevor King2010-02-201-2/+8
|
* Merged Gianluca's truncated-IDs in `be html` output patch.W. Trevor King2010-02-201-20/+46
|\ | | | | | | | | Or at least merged the general idea. Changes in the implementation listed in #bea/01e/2f9#.
| * Variable lenght of the file name in the be html command.Gianluca Montecchi2010-02-111-4/+34
| |
* | Merged Gianluca's fix of my version of Eric's patch ;)W. Trevor King2010-02-101-1/+1
|\|
| * Fixed a bug in the be html command.gian2010-02-101-1/+1
| | | | | | | | | | | | File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 371, in _escape return xml.sax.saxutils.escape(char) NameError: global name 'char' is not defined
| * Merged Trevor's treeGianluca Montecchi2010-02-103-251/+6
|/
* Merged Eric Kow's HTML escaping patchW. Trevor King2010-02-091-8/+1
|
* Fixed docstrings so only Sphinx errors are "autosummary" and "missing attribute"W. Trevor King2010-02-071-49/+94
|
* Use numpydoc and generate-libbe-txt.py to autogenerate API documentationW. Trevor King2010-02-062-4/+1
|
* Sort comments in `be html`.W. Trevor King2010-02-021-0/+2
|
* Restore "content_type" kwarg to Comment.new_reply().W. Trevor King2010-02-021-2/+2
| | | | | | | | | | | | | | | | | It had been removed in revno: 473.1.43 committer: W. Trevor King <wking@drexel.edu> branch nick: be.restructure timestamp: Mon 2009-12-14 07:37:51 -0500 message: Transitioned comment to Command format when we pushed unicode encoding/decoding back to the Storage backend. However, with the addition of libbe.util.id.short_to_long_text(), we need it again. Also add a Doctest showing a non-text/* comment, so utilities dealing with them can see what they'll be working with.
* Fix command name output of `be --complete`.W. Trevor King2010-02-012-5/+34
| | | | | | | By adding command_names option to libbe.command.commands. Previous versions of `be --complete` printed "import_xml", not "import-xml". Also fixed libbe.command.base's doctests, so test.py can run them.
* libbe.command.html.HTMLGen._long_to_linked_user() handles failed conversion.W. Trevor King2010-01-301-2/+34
| | | | | | | Before, anything matching libbe.util.id.REGEXP was convert-or-die. Now it's convert-or-no-op. Much safer ;). The new _long_to_linked_user doctest would have failed with the old implementation.
* Fix `be show` handling for no IDsW. Trevor King2010-01-291-1/+1
|
* Oops, fix Comment doctest EDITOR cleanupW. Trevor King2010-01-281-1/+1
|
* Don't accidentally spawn VISUAL in Comment doctests.W. Trevor King2010-01-281-0/+3
|
* `be html` links (<a href="...) #-delimited references in text/* bodies.W. Trevor King2010-01-271-5/+34
|
* Streamlined libbe.command.serve, adding --auth option, #/bea/c1b#, and testing.W. Trevor King2010-01-271-176/+735
|
* Added --ssl to `be serve` using cherrypy.wsgiserver.W. Trevor King2010-01-251-61/+211
|
* Convert libbe.command.serve to WSGI for increased flexibility.W. Trevor King2010-01-251-256/+271
| | | | | | | The Python Web Server Gateway Interface (WSGI) is a simple and universal interface between web servers and web applications or frameworks. See PEP 333 for details. http://www.python.org/dev/peps/pep-0333/
* Fixed List --severity handling, added --importantW. Trevor King2010-01-231-2/+3
|
* Fix vars call for `be target --help`W. Trevor King2010-01-231-1/+1
|