be.git
13 years agoAdd 'Power features' page to the docs.
W. Trevor King [Wed, 25 May 2011 12:54:53 +0000 (08:54 -0400)]
Add 'Power features' page to the docs.

13 years agoRework summary handling in `be commit`.
W. Trevor King [Wed, 25 May 2011 12:37:03 +0000 (08:37 -0400)]
Rework summary handling in `be commit`.

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.

13 years agoRun update_copyright.py.
W. Trevor King [Wed, 25 May 2011 10:52:09 +0000 (06:52 -0400)]
Run update_copyright.py.

13 years agoMove Tim Guirgies' help for status/severity overrides to .
W. Trevor King [Wed, 25 May 2011 10:46:26 +0000 (06:46 -0400)]
Move Tim Guirgies' help for status/severity overrides to .

13 years agoRemove "be set" reference in favour of actual help
Tim Guirgies [Tue, 24 May 2011 16:15:13 +0000 (02:15 +1000)]
Remove "be set" reference in favour of actual help

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.

13 years agoTeach be status --help to load per tree config
Tim Guirgies [Tue, 24 May 2011 16:15:12 +0000 (02:15 +1000)]
Teach be status --help to load per tree config

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.

13 years agoRestructure severity help function to match status
Tim Guirgies [Tue, 24 May 2011 16:15:11 +0000 (02:15 +1000)]
Restructure severity help function to match status

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.

13 years agoUse open() instead of file() in CachedPathID doctests (2to3 compatability).
W. Trevor King [Thu, 12 May 2011 20:21:09 +0000 (16:21 -0400)]
Use open() instead of file() in CachedPathID doctests (2to3 compatability).

13 years agoRemove form feeds (for compatibility with 2to3).
W. Trevor King [Thu, 12 May 2011 20:19:41 +0000 (16:19 -0400)]
Remove form feeds (for compatibility with 2to3).

13 years agoConvert tabs to spaces in a libbe.bug indention.
W. Trevor King [Thu, 12 May 2011 18:36:34 +0000 (14:36 -0400)]
Convert tabs to spaces in a libbe.bug indention.

13 years agoUpdate libbe.util.id other_uuids documentation (may contain uuid).
W. Trevor King [Thu, 12 May 2011 17:22:55 +0000 (13:22 -0400)]
Update libbe.util.id other_uuids documentation (may contain uuid).

13 years agoMention Stats.print_callees() in doc/hacking.txt.
W. Trevor King [Thu, 12 May 2011 13:44:55 +0000 (09:44 -0400)]
Mention Stats.print_callees() in doc/hacking.txt.

13 years agoMention Stats.print_callers() in doc/hacking.txt.
W. Trevor King [Thu, 12 May 2011 13:40:23 +0000 (09:40 -0400)]
Mention Stats.print_callers() in doc/hacking.txt.

13 years agoMake BugDir._uuids_cache a set.
W. Trevor King [Thu, 12 May 2011 13:23:14 +0000 (09:23 -0400)]
Make BugDir._uuids_cache a set.

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.

13 years agoCache Bug.time by hand to avoid lots of redundant calls to str_to_time.
W. Trevor King [Thu, 12 May 2011 12:41:25 +0000 (08:41 -0400)]
Cache Bug.time by hand to avoid lots of redundant calls to str_to_time.

13 years agoFix links to libbe.util.id from doc/tutorial.txt.
W. Trevor King [Wed, 11 May 2011 21:57:24 +0000 (17:57 -0400)]
Fix links to libbe.util.id from doc/tutorial.txt.

13 years agoFix test_log_request (broken by commit 36699d82).
W. Trevor King [Wed, 11 May 2011 17:24:50 +0000 (13:24 -0400)]
Fix test_log_request (broken by commit 36699d82).

13 years agoAdd extra strings to Bug.string() output.
W. Trevor King [Mon, 2 May 2011 22:09:58 +0000 (18:09 -0400)]
Add extra strings to Bug.string() output.

13 years agoRevive the UserError/UsageError distinction
W. Trevor King [Mon, 2 May 2011 21:48:18 +0000 (17:48 -0400)]
Revive the UserError/UsageError distinction

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.

13 years agoAdd summary line to the Serve command.
W. Trevor King [Mon, 2 May 2011 02:02:57 +0000 (22:02 -0400)]
Add summary line to the Serve command.

Thanks to Christian Heinrich for pointing this out.

13 years ago"X or ''|e" -> "(X or '')|e" for proper escaping.
W. Trevor King [Sun, 17 Apr 2011 07:17:00 +0000 (03:17 -0400)]
"X or ''|e" -> "(X or '')|e" for proper escaping.

13 years agoCorrect <tdata> -> <tbody> typo in `be html` templates.
W. Trevor King [Sun, 17 Apr 2011 06:49:21 +0000 (02:49 -0400)]
Correct <tdata> -> <tbody> typo in `be html` templates.

13 years agoEnsure comment div ids start with a letter (per validator.w3.org).
W. Trevor King [Sun, 17 Apr 2011 06:47:43 +0000 (02:47 -0400)]
Ensure comment div ids start with a letter (per validator.w3.org).

13 years agoCorrect <tbody> -> </tbody> typo in `be html` templates.
W. Trevor King [Sun, 17 Apr 2011 06:46:25 +0000 (02:46 -0400)]
Correct <tbody> -> </tbody> typo in `be html` templates.

13 years agoRework `be html` to use Jinja2 templates.
W. Trevor King [Sun, 17 Apr 2011 06:41:07 +0000 (02:41 -0400)]
Rework `be html` to use Jinja2 templates.

13 years ago`be serve --notify` is a partial solution to /5fb (storage change hooks).
W. Trevor King [Sun, 17 Apr 2011 02:06:48 +0000 (22:06 -0400)]
`be serve --notify` is a partial solution to /5fb (storage change hooks).

13 years agoRevert 54801289, which makes it impossible to save new bugs/comments.
W. Trevor King [Sun, 17 Apr 2011 02:02:38 +0000 (22:02 -0400)]
Revert 54801289, which makes it impossible to save new bugs/comments.

13 years agoFix /64c by installing with `--user` by default (vs. --prefix=${HOME}).
W. Trevor King [Sun, 17 Apr 2011 01:26:02 +0000 (21:26 -0400)]
Fix /64c by installing with `--user` by default (vs. --prefix=${HOME}).

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.

13 years agoRemove old exception types from libbe.bug and libbe.comment.
W. Trevor King [Sun, 17 Apr 2011 01:24:18 +0000 (21:24 -0400)]
Remove old exception types from libbe.bug and libbe.comment.

13 years agoRaise exceptions if bug or comment value files are missing.
W. Trevor King [Sun, 17 Apr 2011 01:01:53 +0000 (21:01 -0400)]
Raise exceptions if bug or comment value files are missing.

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.

13 years agoRaise an exception for unrecognized errors in send_pgp_mime.
W. Trevor King [Sat, 16 Apr 2011 23:27:50 +0000 (19:27 -0400)]
Raise an exception for unrecognized errors in send_pgp_mime.

13 years agoTemporarily disable writing in `be new` to avoid repeated updates.
W. Trevor King [Sat, 16 Apr 2011 21:20:29 +0000 (17:20 -0400)]
Temporarily disable writing in `be new` to avoid repeated updates.

13 years agoAdd --notify to `be serve`.
W. Trevor King [Sat, 16 Apr 2011 21:08:35 +0000 (17:08 -0400)]
Add --notify to `be serve`.

13 years agoFix typo libbe.storage.serve -> libbe.command.serve in libbe.storage.http comments.
W. Trevor King [Sat, 16 Apr 2011 19:53:41 +0000 (15:53 -0400)]
Fix typo libbe.storage.serve -> libbe.command.serve in libbe.storage.http comments.

13 years agoAdd version releases to NEWS.
W. Trevor King [Sat, 16 Apr 2011 19:27:49 +0000 (15:27 -0400)]
Add version releases to NEWS.

13 years agoUpdate NEWS, mentioning recent command options for new and import-xml.
W. Trevor King [Sat, 16 Apr 2011 19:25:41 +0000 (15:25 -0400)]
Update NEWS, mentioning recent command options for new and import-xml.

13 years agoAdd --preserve-uuids to `be import-xml`.
W. Trevor King [Sat, 16 Apr 2011 19:19:31 +0000 (15:19 -0400)]
Add --preserve-uuids to `be import-xml`.

13 years agoImport ElementTree in libbe.util.utility for InvalidXML.
W. Trevor King [Sat, 16 Apr 2011 19:17:33 +0000 (15:17 -0400)]
Import ElementTree in libbe.util.utility for InvalidXML.

13 years agoMark /4bc as fixed.
W. Trevor King [Sat, 16 Apr 2011 18:05:48 +0000 (14:05 -0400)]
Mark /4bc as fixed.

13 years agoImport bea/5a1 from http://bugs.bugseverywhere.org/ as bea/4bc.
W. Trevor King [Sat, 16 Apr 2011 18:04:50 +0000 (14:04 -0400)]
Import bea/5a1 from bugs.bugseverywhere.org/ as bea/4bc.

13 years agoImport /bea/c3f from http://bugs.bugseverywhere.org/ as /bea/64c.
W. Trevor King [Sat, 16 Apr 2011 17:59:37 +0000 (13:59 -0400)]
Import /bea/c3f from bugs.bugseverywhere.org/ as /bea/64c.

13 years agoMark /35a as fixed.
W. Trevor King [Sat, 16 Apr 2011 17:56:43 +0000 (13:56 -0400)]
Mark /35a as fixed.

13 years agoImport /bea/b39 from http://bugs.bugseverywhere.org/ as /bea/35a.
W. Trevor King [Sat, 16 Apr 2011 17:55:09 +0000 (13:55 -0400)]
Import /bea/b39 from bugs.bugseverywhere.org/ as /bea/35a.

13 years agoCentralize assigned processing in parse_assigned & add assigned test to New.
W. Trevor King [Sat, 16 Apr 2011 17:37:17 +0000 (13:37 -0400)]
Centralize assigned processing in parse_assigned & add assigned test to New.

13 years agoMerge remote branch 'cooper/master'
W. Trevor King [Sat, 16 Apr 2011 17:26:04 +0000 (13:26 -0400)]
Merge remote branch 'cooper/master'

13 years agoFix bd->bugdir typo in import_xml.
Valtteri Kokkoniemi [Sat, 16 Apr 2011 17:20:00 +0000 (13:20 -0400)]
Fix bd->bugdir typo in import_xml.

13 years agoFix doctest after Valtteri's import-xml patch.
W. Trevor King [Sat, 16 Apr 2011 17:17:45 +0000 (13:17 -0400)]
Fix doctest after Valtteri's import-xml patch.

13 years agofixed created tag handling in import-xml
Valtteri Kokkoniemi [Sat, 16 Apr 2011 17:16:10 +0000 (13:16 -0400)]
fixed created tag handling in import-xml

13 years agoCleanup libbe.util.subproc.Pipe docstring.
W. Trevor King [Fri, 15 Apr 2011 23:07:14 +0000 (19:07 -0400)]
Cleanup libbe.util.subproc.Pipe docstring.

13 years agoget_fallback_fullname falls back to get_fallback_username if no interesting fullname...
W. Trevor King [Fri, 15 Apr 2011 00:53:04 +0000 (20:53 -0400)]
get_fallback_fullname falls back to get_fallback_username if no interesting fullname is set.

13 years agoget_output_encoding falls back to get_encoding if sys.__stdout__ is redirected.
W. Trevor King [Fri, 15 Apr 2011 00:47:27 +0000 (20:47 -0400)]
get_output_encoding falls back to get_encoding if sys.__stdout__ is redirected.

13 years agoget_fallback_email() now uses the EMAIL environmental variable (if set).
W. Trevor King [Fri, 15 Apr 2011 00:44:02 +0000 (20:44 -0400)]
get_fallback_email() now uses the EMAIL environmental variable (if set).

This patch is based on Julien Muchembled's suggestions, which are in
turn based on the related Git code in git.git/ident.c.

13 years agoAdd libbe.ui.util.user.get_fallback_fullname() and use pwd when possible.
W. Trevor King [Thu, 14 Apr 2011 18:13:36 +0000 (14:13 -0400)]
Add libbe.ui.util.user.get_fallback_fullname() and use pwd when possible.

This patch is based on Julien Muchembled's pwd suggestions.

13 years agoFix command-line encoding processing.
W. Trevor King [Fri, 8 Apr 2011 18:21:45 +0000 (14:21 -0400)]
Fix command-line encoding processing.

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

13 years agoAdd support for 'none' and '-' with --assigned like in `be assign`
Andrew Cooper [Tue, 29 Mar 2011 18:52:52 +0000 (13:52 -0500)]
Add support for 'none' and '-' with --assigned like in `be assign`

13 years agoAdd options --status and --severity to `be new`
Andrew Cooper [Tue, 29 Mar 2011 18:52:25 +0000 (13:52 -0500)]
Add options --status and --severity to `be new`

13 years agoClosed /773 (1.0) since we've made a 1.0.0 release.
W. Trevor King [Sun, 6 Mar 2011 01:26:02 +0000 (20:26 -0500)]
Closed /773 (1.0) since we've made a 1.0.0 release.

13 years agoWork around bzr filelocking issue on Windows.
W. Trevor King [Thu, 24 Feb 2011 22:34:40 +0000 (17:34 -0500)]
Work around bzr filelocking issue on Windows.

13 years agoFix `IDs` and `Mercurial guide` links in docs.
W. Trevor King [Thu, 24 Feb 2011 02:56:59 +0000 (21:56 -0500)]
Fix `IDs` and `Mercurial guide` links in docs.

13 years agoLocal imports and better missing-client detection in client-based VCS classes.
W. Trevor King [Wed, 23 Feb 2011 02:02:11 +0000 (21:02 -0500)]
Local imports and better missing-client detection in client-based VCS classes.

13 years agoRemove `--complete` from command-line completion unit test.
W. Trevor King [Wed, 23 Feb 2011 01:59:53 +0000 (20:59 -0500)]
Remove `--complete` from command-line completion unit test.

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.

13 years agoCorrect version for recent bzrlib fix.
W. Trevor King [Tue, 22 Feb 2011 23:54:57 +0000 (18:54 -0500)]
Correct version for recent bzrlib fix.

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):

13 years agoDon't call cmd.cleanup_now() for recent Bazaar versions.
W. Trevor King [Tue, 22 Feb 2011 20:38:03 +0000 (15:38 -0500)]
Don't call cmd.cleanup_now() for recent Bazaar versions.

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.

13 years agoRemove commented code from html.py
Chris Ball [Tue, 22 Feb 2011 15:07:02 +0000 (10:07 -0500)]
Remove commented code from html.py

13 years agoMerge commit 'refs/merge-requests/4' of git://gitorious.org/be/be
Chris Ball [Tue, 22 Feb 2011 15:06:10 +0000 (10:06 -0500)]
Merge commit 'refs/merge-requests/4' of git://gitorious.org/be/be

13 years agoLeft aligned the table cells
Gianluca Montecchi [Mon, 24 Jan 2011 23:07:12 +0000 (00:07 +0100)]
Left aligned the table cells

13 years agoNew html output for html command
Gianluca Montecchi [Mon, 24 Jan 2011 21:47:32 +0000 (22:47 +0100)]
New html output for html command

13 years agoNumpydoc is distributed in Gentoo's science overlay.
W. Trevor King [Tue, 11 Jan 2011 03:43:50 +0000 (22:43 -0500)]
Numpydoc is distributed in Gentoo's science overlay.

13 years agoUpdate link to Numpy docstring guidelines.
W. Trevor King [Tue, 11 Jan 2011 03:35:23 +0000 (22:35 -0500)]
Update link to Numpy docstring guidelines.

13 years agoUse Docutils' rst2doc instead of DocBook XML to generate man page.
W. Trevor King [Tue, 11 Jan 2011 03:30:11 +0000 (22:30 -0500)]
Use Docutils' rst2doc instead of DocBook XML to generate man page.

13 years agoMerge commit 'refs/merge-requests/3' of git://gitorious.org/be/be
Chris Ball [Sun, 9 Jan 2011 01:54:44 +0000 (20:54 -0500)]
Merge commit 'refs/merge-requests/3' of git://gitorious.org/be/be

13 years agoBumped to version 1.0.0 1.0.0
Chris Ball [Sun, 9 Jan 2011 01:40:32 +0000 (20:40 -0500)]
Bumped to version 1.0.0

13 years agoMerge branch 'master' of http://www.physics.drexel.edu/~wking/code/git/be
Chris Ball [Sun, 9 Jan 2011 01:39:48 +0000 (20:39 -0500)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be

13 years agoFix unittest for `be show` after 22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728.
W. Trevor King [Mon, 6 Dec 2010 15:54:07 +0000 (10:54 -0500)]
Fix unittest for `be show` after 22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728.

13 years agoMake libbe.storage.vcs.darcs.Darcs._vcs_listdir() more robust.
W. Trevor King [Mon, 6 Dec 2010 15:43:49 +0000 (10:43 -0500)]
Make libbe.storage.vcs.darcs.Darcs._vcs_listdir() more robust.

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.

13 years agoRun cmd.cleanup_now() after executing bzr commands.
W. Trevor King [Mon, 6 Dec 2010 15:12:57 +0000 (10:12 -0500)]
Run cmd.cleanup_now() after executing bzr commands.

Otherwise
  be remove ...

blocks if it needs to remove multiple files, since
bzrlib.builtins.cmd_remove needs write locks, and the second remove
will try to aquire the lock that the first aquire hadn't released.  If
we force the release, the lock will be available for the second (and
later) removal.

It's not a problem to call cleanup_now() too often, because calling it
clears the cleanup command stack, so I just added explicit cleanups
after every bzr .run() call.

13 years agoAdjust `be show --xml` since changes to version_info after Bzr->Git migration.
W. Trevor King [Mon, 6 Dec 2010 13:54:25 +0000 (08:54 -0500)]
Adjust `be show --xml` since changes to version_info after Bzr->Git migration.

13 years agoUpdate release.py to generate .be/id-cache and remove update_copyright.py.
W. Trevor King [Mon, 6 Dec 2010 13:28:02 +0000 (08:28 -0500)]
Update release.py to generate .be/id-cache and remove update_copyright.py.

The log output from generating .be/id-cache might confuse new BE
users, so we should distribute the bug repo with a pre-built cache.

update_copyright.py isn't much use without the Git repo from which it
extracts authorship info, so we'll have a cleaner release tarball
without it.

13 years agoCleanup linking from doc/tutorial.txt to email and HTTP docs.
W. Trevor King [Mon, 6 Dec 2010 12:51:07 +0000 (07:51 -0500)]
Cleanup linking from doc/tutorial.txt to email and HTTP docs.

13 years agoRespected all sorting criteria, not only the last.
Robert Lehmann [Fri, 26 Nov 2010 11:56:43 +0000 (12:56 +0100)]
Respected all sorting criteria, not only the last.

13 years agoChange status on assignment of open bugs.
Robert Lehmann [Fri, 26 Nov 2010 08:49:46 +0000 (09:49 +0100)]
Change status on assignment of open bugs.

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.

13 years agoAdd `mine' sorting criteria showing bugs assigned to yourself first.
Robert Lehmann [Fri, 26 Nov 2010 08:48:43 +0000 (09:48 +0100)]
Add `mine' sorting criteria showing bugs assigned to yourself first.

13 years agoSafeguard List._sort_bugs from accumulating values in its default parameters.
Robert Lehmann [Fri, 26 Nov 2010 08:47:46 +0000 (09:47 +0100)]
Safeguard List._sort_bugs from accumulating values in its default parameters.

13 years agoUse a clean getattr() instead of eval().
Robert Lehmann [Fri, 26 Nov 2010 08:46:52 +0000 (09:46 +0100)]
Use a clean getattr() instead of eval().

13 years agoAllow multiple words to be completed at once, eg. for assignees.
Robert Lehmann [Fri, 26 Nov 2010 07:35:13 +0000 (08:35 +0100)]
Allow multiple words to be completed at once, eg. for assignees.

13 years agoExclude --complete from completion.
Robert Lehmann [Fri, 26 Nov 2010 07:34:35 +0000 (08:34 +0100)]
Exclude --complete from completion.

13 years agoRefrain from committing outstanding changes.
Robert Lehmann [Sun, 21 Nov 2010 19:01:24 +0000 (20:01 +0100)]
Refrain from committing outstanding changes.

This makes be-commit act more like git-commit.

13 years agoProvide context in comments editor.
Robert Lehmann [Sun, 21 Nov 2010 18:59:53 +0000 (19:59 +0100)]
Provide context in comments editor.

13 years agoFix list --important to actually apply a filter.
Robert Lehmann [Sun, 14 Nov 2010 20:45:26 +0000 (21:45 +0100)]
Fix list --important to actually apply a filter.

13 years agoClarify that bugs cannot contain multi-line descriptions
Dieter Plaetinck [Sun, 31 Oct 2010 08:45:45 +0000 (09:45 +0100)]
Clarify that bugs cannot contain multi-line descriptions

13 years agoMerge branch 'master' of http://www.physics.drexel.edu/~wking/code/git/be
Chris Ball [Sun, 31 Oct 2010 10:30:26 +0000 (06:30 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be

13 years agoAdd missing bugs & values from my copy of the old CFBE Mercurial repo.
W. Trevor King [Sat, 30 Oct 2010 13:54:29 +0000 (09:54 -0400)]
Add missing bugs & values from my copy of the old CFBE Mercurial repo.

Missing bugs
============

/bea/e23 (alpha) is equivalent to /9f9/d08 (in the Mercurial repo).
Similarly, /bea/76a (beta) is equivalent to /9f9/eb9.  This is because
the Git and Mercurial repos made the 1.2->1.3 directory format upgrade
independently, and the 1.2 -> 1.3 upgrade converts target strings into
target bugs.

Mercurial:
  changeset:   62:ef4f395dc0ce
  user:        W. Trevor King <wking@drexel.edu>
  date:        Sun Dec 06 02:15:16 2009 -0500
  summary:     Upgraded BE repository to Bugs Everywhere Directory v1.3

  [add .be/bugs/d08caa3b-08ca-429b-98e7-ab5da5226c92/values,
   upgrade Bugs Everywhere Tree 1 0 -> Bugs Everywhere Directory v1.3
   ...]

Git:
  commit 35c49dae09078efb1bbab9d5af4096d35c68adbf
  Author: wking <wking@thialfi>
  Date:   Tue Jun 22 14:15:47 2010 -0400

    Upgraded interfaces/web/.be to Bugs Everywhere Directory v1.4
    ...

  [add interfaces/web/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e23d7982-7e32-4c78-b62e-83ecc42b4cd7/values
   upgrade Bugs Everywhere Tree 1 0 -> Bugs Everywhere Directory v1.4
   ...]

Missing comments
================

Basic comment life cycle
------------------------

  commit 79ce26825a5a19678e0a26c5a5d78965732d24d3
  Author: wking <wking@thialfi>
  Date:   Tue Jun 22 14:22:36 2010 -0400

    Moved CFBE bugs from interfaces/web/.be into .be/

  [move interfaces/web/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/comments/aea21508-69c2-4d6b-ada1-4fbadac14c56/body
     to                .be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/comments/aea21508-69c2-4d6b-ada1-4fbadac14c56/body
   ...]

  commit 35c49dae09078efb1bbab9d5af4096d35c68adbf
  Author: wking <wking@thialfi>
  Date:   Tue Jun 22 14:15:47 2010 -0400

    Upgraded interfaces/web/.be to Bugs Everywhere Directory v1.4
    ...

  [move interfaces/web/.be/                                     bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/comments/aea21508-69c2-4d6b-ada1-4fbadac14c56/body
     to interfaces/web/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/comments/aea21508-69c2-4d6b-ada1-4fbadac14c56/body
   ...]

  commit e9a713798fa7679fa4be6ccba40f77e3fdf3b538
  Author: Chris Ball <cjb@t60>
  Date:   Sun Jun 20 19:27:36 2010 -0400

    Remove the .be/ copy from inside cfbe dir

  [remove interfaces/web/.be/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/comments/aea21508-69c2-4d6b-ada1-4fbadac14c56/body
   ...]

  commit 46953e63dd929637f67a4d10065a3f28c403dbdf
  Author: Steve Losh <steve@stevelosh.com>
  Date:   Sat Jan 31 02:24:31 2009 -0500

    Implemented the single bug view.

  [add .be/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/comments/aea21508-69c2-4d6b-ada1-4fbadac14c56/body
   ...]

Lost when
---------

The comments do not seem to have survived the
2eab4691ff80455cd0ca25b2c58fb3acb1dcbdeb merge:

  $ git show --pretty=raw 2eab4691ff80455cd0ca25b2c58fb3acb1dcbdeb
  commit 2eab4691ff80455cd0ca25b2c58fb3acb1dcbdeb
  tree b97ffb0ad8cdfeecc2182fe830e452fabda6eb1a
  parent 39d9e788f7133a959f7594d7c8eb7985c4e6f847
  parent 4592e1ae1165f74aba16cd76dc2f19197b81465a
  author W. Trevor King <wking@drexel.edu> 1277430423 -0400
  committer W. Trevor King <wking@drexel.edu> 1277430423 -0400

    Merge CFBE bugs into the main BE bug repo

  $ git diff 4592e1ae1165f74aba16cd76dc2f19197b81465a..39d9e788f7133a959f7594d7c8eb7985c4e6f847 | grep -A 1 '^diff.*body'
  ...
  diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/comments/aea21508-69c2-4d6b-ada1-4fbadac14c56/body b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/comments/aea21508-69c2-4d6b-ada1-4fbadac14c56/body
  deleted file mode 100644
...

13 years agoAdd .be/id-cache to .gitignore.
W. Trevor King [Sat, 30 Oct 2010 13:10:51 +0000 (09:10 -0400)]
Add .be/id-cache to .gitignore.

13 years agoRestore comment body for /bea/866/738 (lost on the CFBE merge?).
W. Trevor King [Sat, 30 Oct 2010 12:23:26 +0000 (08:23 -0400)]
Restore comment body for /bea/866/738 (lost on the CFBE merge?).

13 years agoMake dependency tree output respect --show-status/--show-summary flags.
W. Trevor King [Thu, 28 Oct 2010 23:01:42 +0000 (19:01 -0400)]
Make dependency tree output respect --show-status/--show-summary flags.

13 years agoMove Filter, parse_status, and parse_severity from list to depend.
W. Trevor King [Thu, 28 Oct 2010 22:55:41 +0000 (18:55 -0400)]
Move Filter, parse_status, and parse_severity from list to depend.

This breaks an import dependency cycle.

13 years agolibbe.command.depend now shares libbe.command.list's status/severity parsing for...
W. Trevor King [Thu, 28 Oct 2010 19:31:44 +0000 (15:31 -0400)]
libbe.command.depend now shares libbe.command.list's status/severity parsing for consistency.

13 years agoFixed `list --sort ...` bug.
W. Trevor King [Thu, 28 Oct 2010 17:29:16 +0000 (13:29 -0400)]
Fixed `list --sort ...` bug.

13 years agoAdd `list --sort time` test reproducing Gianluca's bug.
W. Trevor King [Thu, 28 Oct 2010 17:27:43 +0000 (13:27 -0400)]
Add `list --sort time` test reproducing Gianluca's bug.

13 years ago'be vXXX' -> 'be XXX' in Sphinx-generated docs to avoid git-hash confusion.
W. Trevor King [Fri, 22 Oct 2010 18:49:59 +0000 (14:49 -0400)]
'be vXXX' -> 'be XXX' in Sphinx-generated docs to avoid git-hash confusion.