Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add extra strings to Bug.string() output. | W. Trevor King | 2011-05-02 | 1 | -0/+2 |
| | |||||
* | Revive the UserError/UsageError distinction | W. Trevor King | 2011-05-02 | 3 | -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 King | 2011-05-01 | 1 | -1/+6 |
| | | | | Thanks to Christian Heinrich for pointing this out. | ||||
* | "X or ''|e" -> "(X or '')|e" for proper escaping. | W. Trevor King | 2011-04-17 | 1 | -7/+7 |
| | |||||
* | Correct <tdata> -> <tbody> typo in `be html` templates. | W. Trevor King | 2011-04-17 | 1 | -2/+2 |
| | |||||
* | Ensure comment div ids start with a letter (per validator.w3.org). | W. Trevor King | 2011-04-17 | 1 | -2/+2 |
| | |||||
* | Correct <tbody> -> </tbody> typo in `be html` templates. | W. Trevor King | 2011-04-17 | 1 | -1/+1 |
| | |||||
* | Rework `be html` to use Jinja2 templates. | W. Trevor King | 2011-04-17 | 1 | -558/+530 |
| | |||||
* | Revert 54801289, which makes it impossible to save new bugs/comments. | W. Trevor King | 2011-04-16 | 2 | -2/+4 |
| | |||||
* | Remove old exception types from libbe.bug and libbe.comment. | W. Trevor King | 2011-04-16 | 2 | -17/+0 |
| | |||||
* | Raise exceptions if bug or comment value files are missing. | W. Trevor King | 2011-04-16 | 2 | -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. | ||||
* | Temporarily disable writing in `be new` to avoid repeated updates. | W. Trevor King | 2011-04-16 | 1 | -0/+3 |
| | |||||
* | Add --notify to `be serve`. | W. Trevor King | 2011-04-16 | 3 | -9/+71 |
| | |||||
* | Fix typo libbe.storage.serve -> libbe.command.serve in libbe.storage.http ↵ | W. Trevor King | 2011-04-16 | 1 | -2/+2 |
| | | | | comments. | ||||
* | Add --preserve-uuids to `be import-xml`. | W. Trevor King | 2011-04-16 | 3 | -7/+18 |
| | |||||
* | Import ElementTree in libbe.util.utility for InvalidXML. | W. Trevor King | 2011-04-16 | 1 | -0/+4 |
| | |||||
* | Centralize assigned processing in parse_assigned & add assigned test to New. | W. Trevor King | 2011-04-16 | 2 | -12/+17 |
| | |||||
* | Merge remote branch 'cooper/master' | W. Trevor King | 2011-04-16 | 1 | -1/+20 |
|\ | |||||
| * | Add support for 'none' and '-' with --assigned like in `be assign` | Andrew Cooper | 2011-03-29 | 1 | -1/+6 |
| | | |||||
| * | Add options --status and --severity to `be new` | Andrew Cooper | 2011-03-29 | 1 | -0/+14 |
| | | |||||
* | | Fix bd->bugdir typo in import_xml. | Valtteri Kokkoniemi | 2011-04-16 | 1 | -1/+1 |
| | | |||||
* | | Fix doctest after Valtteri's import-xml patch. | W. Trevor King | 2011-04-16 | 1 | -1/+1 |
| | | |||||
* | | fixed created tag handling in import-xml | Valtteri Kokkoniemi | 2011-04-16 | 1 | -0/+4 |
| | | |||||
* | | Cleanup libbe.util.subproc.Pipe docstring. | W. Trevor King | 2011-04-15 | 1 | -8/+8 |
| | | |||||
* | | get_fallback_fullname falls back to get_fallback_username if no interesting ↵ | W. Trevor King | 2011-04-14 | 1 | -2/+3 |
| | | | | | | | | fullname is set. | ||||
* | | get_output_encoding falls back to get_encoding if sys.__stdout__ is redirected. | W. Trevor King | 2011-04-14 | 1 | -1/+1 |
| | | |||||
* | | get_fallback_email() now uses the EMAIL environmental variable (if set). | W. Trevor King | 2011-04-14 | 1 | -3/+2 |
| | | | | | | | | | | This patch is based on Julien Muchembled's suggestions, which are in turn based on the related Git code in git.git/ident.c. | ||||
* | | Add libbe.ui.util.user.get_fallback_fullname() and use pwd when possible. | W. Trevor King | 2011-04-14 | 3 | -6/+28 |
| | | | | | | | | This patch is based on Julien Muchembled's pwd suggestions. | ||||
* | | Fix command-line encoding processing. | W. Trevor King | 2011-04-08 | 2 | -15/+36 |
|/ | | | | | | | | | | | | | | | | | | | | | | | String command-line options are converted to unicode using the input encoding. We use the fact that Python sets up the original sys.stdout to determine the terminal encoding. This should fix Anders Sneckenborg's issues with Swedish characters: C:\temp\slask4>be new "Svenska tecken åäö" Created bug with ID 6be/5c3 C:\temp\slask4> C:\temp\slask4> C:\temp\slask4>be list ERROR: 'ascii' codec can't decode byte 0xe5 in position 15: ordinal not in range(128) You should set a locale that supports unicode, e.g. export LANG=en_US.utf8 See http://docs.python.org/library/locale.html for details | ||||
* | Work around bzr filelocking issue on Windows. | W. Trevor King | 2011-02-24 | 2 | -2/+7 |
| | |||||
* | Local imports and better missing-client detection in client-based VCS classes. | W. Trevor King | 2011-02-22 | 4 | -20/+33 |
| | |||||
* | Remove `--complete` from command-line completion unit test. | W. Trevor King | 2011-02-22 | 1 | -1/+0 |
| | | | | | | | | | | This should have been done alongside: commit b64851e3eb706b7b57503a0a605e0984e443747c Author: Robert Lehmann <mail@robertlehmann.de> Date: Fri Nov 26 08:34:35 2010 +0100 Exclude --complete from completion. | ||||
* | Correct version for recent bzrlib fix. | W. Trevor King | 2011-02-22 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | Rather than guessing from the output of `bzr tags`, I actually looked in the realease notes and tracked the removal of run_direct() to 2.2b2, which is confirmed by the r5146 patch itself: bzr.dev $ ./bzr log -p -n 0 -r 5146 | grep -1 deprec + + @deprecated_method(deprecated_in((2, 2, 0))) def run_direct(self, *args, **kwargs): -- + + @deprecated_method(deprecated_in((2, 2, 0))) def run_direct(self, *args, **kwargs): | ||||
* | Don't call cmd.cleanup_now() for recent Bazaar versions. | W. Trevor King | 2011-02-22 | 1 | -9/+18 |
| | | | | | | | | | | | | | | | | | | | Bug reported by Michael Chaffin: > C:\XXX\ZZZ>be init > Traceback (most recent call last): > ... > AttributeError: 'cmd_root' object has no attribute '_operation' Due to changes in bzrlib: revno: 5146 [merge] committer: Canonical.com Patch Queue Manager <pqm@pqm.ubuntu.com> branch nick: +trunk timestamp: Mon 2010-04-12 04:09:46 +0100 So for versions of bzr since then, we don't have to worry about calling cleanup_now() anymore. | ||||
* | Remove commented code from html.py | Chris Ball | 2011-02-22 | 1 | -3/+0 |
| | |||||
* | Left aligned the table cells | Gianluca Montecchi | 2011-01-25 | 1 | -4/+4 |
| | |||||
* | New html output for html command | Gianluca Montecchi | 2011-01-24 | 1 | -53/+209 |
| | |||||
* | Merge commit 'refs/merge-requests/3' of git://gitorious.org/be/be | Chris Ball | 2011-01-08 | 7 | -11/+24 |
|\ | |||||
| * | Respected all sorting criteria, not only the last. | Robert Lehmann | 2010-11-26 | 1 | -1/+1 |
| | | |||||
| * | Change status on assignment of open bugs. | Robert Lehmann | 2010-11-26 | 1 | -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. | ||||
| * | Add `mine' sorting criteria showing bugs assigned to yourself first. | Robert Lehmann | 2010-11-26 | 1 | -0/+6 |
| | | |||||
| * | Safeguard List._sort_bugs from accumulating values in its default parameters. | Robert Lehmann | 2010-11-26 | 1 | -1/+3 |
| | | |||||
| * | Use a clean getattr() instead of eval(). | Robert Lehmann | 2010-11-26 | 1 | -1/+1 |
| | | |||||
| * | Exclude --complete from completion. | Robert Lehmann | 2010-11-26 | 1 | -1/+2 |
| | | |||||
| * | Refrain from committing outstanding changes. | Robert Lehmann | 2010-11-21 | 1 | -1/+1 |
| | | | | | | | | This makes be-commit act more like git-commit. | ||||
| * | Provide context in comments editor. | Robert Lehmann | 2010-11-21 | 1 | -3/+5 |
| | | |||||
| * | Fix list --important to actually apply a filter. | Robert Lehmann | 2010-11-14 | 1 | -4/+4 |
| | | |||||
* | | Bumped to version 1.0.01.0.0 | Chris Ball | 2011-01-08 | 61 | -62/+69 |
| | | |||||
* | | Fix unittest for `be show` after 22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728. | W. Trevor King | 2010-12-06 | 1 | -3/+3 |
| | | |||||
* | | Make libbe.storage.vcs.darcs.Darcs._vcs_listdir() more robust. | W. Trevor King | 2010-12-06 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | The old version returned [] (for Darcs 2.5) on darcs show files --no-files --patch 'Initial commit' .be (called in `be diff` for `test_usage.sh darcs`), because darcs returned the paths prefixed with './' (e.g. `./.be`, not `.be`). By calculating relative paths and using the relative paths to determine which files belong to the directory, we can handle both prefixed and plain paths. |