aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move Bzr.version_cmp to VCS.version_cmp.W. Trevor King2011-09-072-92/+91
| | | | The version comparison code will be useful for all VCSs.
* Merge remote branch 'pschumms/master'W. Trevor King2011-09-071-6/+4
|\
| * Minor fix to doctest for command.base.get_command(); failure introduced by ↵Phil Schumm2011-07-301-0/+1
| | | | | | | | change to command.base.UnknownCommand in commit 0d5c9c68e947617c9d073d5f19351bdd8f3866db
| * Fixed problem with Hg support under version 1.9 ↵Phil Schumm2011-07-281-6/+4
| | | | | | | | (mercurial.dispatch.dispatch() now takes a single request object with option for capturing output stream)
* | Add Jinja to the dependency documentation.W. Trevor King2011-09-071-0/+2
| |
* | Remove redundant re import from previous bzr version_cmp patch.W. Trevor King2011-09-071-1/+0
| |
* | Enhance Bzr.version_cmp to handle non-numeric versionsMichel Alexandre Salim2011-09-071-9/+50
| | | | | | | | | | | | | | | | | | | | | | | | bzr uses non-numeric tags to indicate prereleases; previously, this triggers an exception in be's Bzr module as version comparison is only supported between version strings that only contain numbers and dots. This patch extends version_cmp to support a single non-numeric pre-release string of arbitrary length (e.g. 'a', 'b', 'pre', 'rc'), and extends the docstring tests to cover this extension. Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
* | Add ImportError to UnknownCommand output in get_command doctest.W. Trevor King2011-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | This catches the test result up after: Commit: 0d5c9c68e947617c9d073d5f19351bdd8f3866db Author: W. Trevor King <wking@drexel.edu> Date: Wed May 25 10:30:19 2011 -0400 Attach ImportError message to UnknownCommand to aid debugging.
* | bugseverywhere.org has changed URL handling, so use different URLs for HTTP ↵W. Trevor King2011-07-301-3/+3
|/ | | | testing.
* Raise UserError if summary is not given to `be commit`.W. Trevor King2011-05-251-0/+3
| | | | | | | | | If the user doesn't provide the summary on the command line, through stdin, or through editor_string, raise an error. This will generally happen with $ be commit (user doesn't enter any text in the editory)
* Attach ImportError message to UnknownCommand to aid debugging.W. Trevor King2011-05-251-3/+8
|
* Add 'Power features' page to the docs.W. Trevor King2011-05-252-0/+28
|
* Rework summary handling in `be commit`.W. Trevor King2011-05-251-6/+18
| | | | | | Now you can run `be commit` with no options and have the summary split off the body automatically. This should be more familiar to most VCS users.
* Run update_copyright.py.W. Trevor King2011-05-2570-44/+128
|
* Move Tim Guirgies' help for status/severity overrides to .W. Trevor King2011-05-253-35/+54
|
* Remove "be set" reference in favour of actual helpTim Guirgies2011-05-252-2/+32
| | | | | | | | Because "be set severity blah" does not actually work, referring users there to set custom severity levels is just cruel (I spent a half hour trying to figure out what I was doing wrong). Thus, it is much easier to, at least for now, state in the help message what they must do in order to get custom severities and statuses.
* Teach be status --help to load per tree configTim Guirgies2011-05-251-0/+4
| | | | | | Again, there is discrepancy between severity.py and status.py. I thought this feature was extremely useful in severity.py and it should be put into status.py too.
* Restructure severity help function to match statusTim Guirgies2011-05-251-11/+16
| | | | | | | | | | | | | | | The code structure was vastly different in severity.py to status.py, so I mostly copied the structure from there and adjusted it to suit severity. The structure in status.py looked (to me) cleaner, more organised, and easier to work with. Also, users are now referred by "be severity --help" to "be set --help", in a manner similar to "be status --help". For those that don't know that severity can be adjusted on a per repository basis, this seems extremely helpful. A similar message appears for status, but not here.
* Use open() instead of file() in CachedPathID doctests (2to3 compatability).W. Trevor King2011-05-121-3/+3
|
* Remove form feeds (for compatibility with 2to3).W. Trevor King2011-05-128-10/+10
|
* Convert tabs to spaces in a libbe.bug indention.W. Trevor King2011-05-121-1/+1
|
* Update libbe.util.id other_uuids documentation (may contain uuid).W. Trevor King2011-05-121-4/+4
|
* Mention Stats.print_callees() in doc/hacking.txt.W. Trevor King2011-05-121-0/+4
|
* Mention Stats.print_callers() in doc/hacking.txt.W. Trevor King2011-05-121-3/+7
|
* Make BugDir._uuids_cache a set.W. Trevor King2011-05-121-9/+13
| | | | | | | | | | | | For `be list` on a bugdir with 4096 open bugs, this reduced the cumulative time spend in 8194 calls to BugDir.uuids() from 41 seconds to 33 seconds. Of the 33 cumulative seconds, 24 were spend in uuids() itself (and not in child functions), which is probably from the list comprehension extracting in-memory Bug uuids. With fancier accounting, you could probably trust _uuids_cache to already contain all the in-memory uuids and dispense with the union altogether.
* Cache Bug.time by hand to avoid lots of redundant calls to str_to_time.W. Trevor King2011-05-121-2/+11
|
* Fix links to libbe.util.id from doc/tutorial.txt.W. Trevor King2011-05-111-3/+3
|
* Fix test_log_request (broken by commit 36699d82).W. Trevor King2011-05-111-1/+1
|
* Add extra strings to Bug.string() output.W. Trevor King2011-05-021-0/+2
|
* Revive the UserError/UsageError distinctionW. Trevor King2011-05-023-13/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* `be serve --notify` is a partial solution to /5fb (storage change hooks).W. Trevor King2011-04-162-0/+18
|
* Revert 54801289, which makes it impossible to save new bugs/comments.W. Trevor King2011-04-162-2/+4
|
* Fix /64c by installing with `--user` by default (vs. --prefix=${HOME}).W. Trevor King2011-04-162-4/+3
| | | | | This way users don't need to mess with PYTHONPATH. They'll still need to tweak PATH so they can find the be entry script.
* Remove old exception types from libbe.bug and libbe.comment.W. Trevor King2011-04-162-17/+0
|
* Raise exceptions if bug or comment value files are missing.W. Trevor King2011-04-162-4/+2
| | | | | | | | | This happens most often when a previous crash leaves an empty directory `abc` in .be/.../bugs/abc/ or .be/.../bugs/.../comments/abc/. The new exception ensures the error message is "Bug/Comment X missing value file" which tells you where to look for the repository corruption not "summary is None" which told you nothing.
* Raise an exception for unrecognized errors in send_pgp_mime.W. Trevor King2011-04-161-1/+1
|
* 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-164-9/+72
|
* Fix typo libbe.storage.serve -> libbe.command.serve in libbe.storage.http ↵W. Trevor King2011-04-161-2/+2
| | | | comments.
* Add version releases to NEWS.W. Trevor King2011-04-161-0/+6
|
* Update NEWS, mentioning recent command options for new and import-xml.W. Trevor King2011-04-161-0/+4
|
* Add --preserve-uuids to `be import-xml`.W. Trevor King2011-04-163-7/+18
|
* Import ElementTree in libbe.util.utility for InvalidXML.W. Trevor King2011-04-161-0/+4
|
* Mark /4bc as fixed.W. Trevor King2011-04-161-1/+1
|