be.git
13 years agoBumped to version 1.0.1 1.0.1
Chris Ball [Sat, 5 Mar 2011 17:32:46 +0000 (12:32 -0500)]
Bumped to version 1.0.1

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 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 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 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.

13 years agoTell Makefile how to generate HTML versions of man pages.
W. Trevor King [Fri, 22 Oct 2010 14:33:08 +0000 (10:33 -0400)]
Tell Makefile how to generate HTML versions of man pages.

13 years agoDocument command line overrides for built documentation.
W. Trevor King [Fri, 22 Oct 2010 14:18:11 +0000 (10:18 -0400)]
Document command line overrides for built documentation.

13 years agoAllow command line overrides for built documentation.
W. Trevor King [Fri, 22 Oct 2010 14:06:03 +0000 (10:06 -0400)]
Allow command line overrides for built documentation.

For example, to install without documentation, use:
  $ make DOC= install
which overrides Makefile's default DOC definition, setting it to the
empty string.

13 years agoMerge branch 'master' of http://www.physics.drexel.edu/~wking/code/git/be
Chris Ball [Fri, 22 Oct 2010 03:04:52 +0000 (23:04 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be

13 years agoSimpler undo message in release.py's help.
W. Trevor King [Thu, 21 Oct 2010 12:18:48 +0000 (08:18 -0400)]
Simpler undo message in release.py's help.

13 years agorelease.set_vcs_name() now adjusts any vcs settings in the exported .be/.
W. Trevor King [Thu, 21 Oct 2010 12:15:42 +0000 (08:15 -0400)]
release.set_vcs_name() now adjusts any vcs settings in the exported .be/.

Also call remove_makefile_libbe_version_dependencies() on the exported
Makefile.

13 years agoEnsure target_dir has trailing separator in release.export().
W. Trevor King [Thu, 21 Oct 2010 12:04:02 +0000 (08:04 -0400)]
Ensure target_dir has trailing separator in release.export().

13 years agoRename tag -> _tag in release.py to avoid collision with tag() function.
W. Trevor King [Thu, 21 Oct 2010 12:00:24 +0000 (08:00 -0400)]
Rename tag -> _tag in release.py to avoid collision with tag() function.

13 years agoAdd `-a` option to `git commit` call in release.py.
W. Trevor King [Thu, 21 Oct 2010 11:57:43 +0000 (07:57 -0400)]
Add `-a` option to `git commit` call in release.py.

13 years agoUse invoke() instead of Pipe() to run single commands in release.py.
W. Trevor King [Thu, 21 Oct 2010 11:51:00 +0000 (07:51 -0400)]
Use invoke() instead of Pipe() to run single commands in release.py.

13 years agoUpdating copyright info in release.py can take a while. Let the user know.
W. Trevor King [Thu, 21 Oct 2010 11:44:03 +0000 (07:44 -0400)]
Updating copyright info in release.py can take a while.  Let the user know.

13 years agoRan update_copyright.py.
W. Trevor King [Thu, 21 Oct 2010 11:39:22 +0000 (07:39 -0400)]
Ran update_copyright.py.

13 years agoUpdate ALIASES in update_copyright.py.
W. Trevor King [Thu, 21 Oct 2010 11:37:01 +0000 (07:37 -0400)]
Update ALIASES in update_copyright.py.

New 'gian <gian@grys.it>' for Gianluca and fix 'Marian' -> 'Marien' typo.

13 years agoSimpler (and faster) ChangeLog format in release.py.
W. Trevor King [Thu, 21 Oct 2010 11:33:03 +0000 (07:33 -0400)]
Simpler (and faster) ChangeLog format in release.py.

13 years agoUpdate release.py for use with git-versioned BE.
W. Trevor King [Thu, 21 Oct 2010 11:29:06 +0000 (07:29 -0400)]
Update release.py for use with git-versioned BE.

13 years agoMerge branch 'master' of http://www.physics.drexel.edu/~wking/code/git/be
Chris Ball [Mon, 18 Oct 2010 22:53:08 +0000 (18:53 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be

Conflicts:
interfaces/web/web.py

13 years agoPoint out that official packages may not be up to date.
W. Trevor King [Tue, 12 Oct 2010 19:25:45 +0000 (15:25 -0400)]
Point out that official packages may not be up to date.

13 years agoAdd manpage/DocBook section to doc/doc.txt.
W. Trevor King [Wed, 29 Sep 2010 01:31:21 +0000 (21:31 -0400)]
Add manpage/DocBook section to doc/doc.txt.

13 years agoAdd dependency section to doc/install.txt.
W. Trevor King [Wed, 29 Sep 2010 01:30:57 +0000 (21:30 -0400)]
Add dependency section to doc/install.txt.

13 years agoWrap `rm` in the RM variable in doc/Makefile.
W. Trevor King [Wed, 29 Sep 2010 01:29:34 +0000 (21:29 -0400)]
Wrap `rm` in the RM variable in doc/Makefile.

This is more consistent with the example set by the root Makefile.

13 years agoConverted man page source to DocBook V5.0.
W. Trevor King [Wed, 29 Sep 2010 01:25:43 +0000 (21:25 -0400)]
Converted man page source to DocBook V5.0.

This has the dual benefits of keeping up with the current DocBook
standard as well as removing the dependency on SGML parsers like
docbook-to-man and docbook2man which may not be available on all
systems.  An XSLT processor and the DocBook style sheets are easier
dependencies to satisfy.

13 years agocfbe: API: fix editing a bug's target
Chris Ball [Mon, 6 Sep 2010 23:04:19 +0000 (19:04 -0400)]
cfbe: API: fix editing a bug's target

13 years agocfbe: Remove "target" column from default bug list
Chris Ball [Mon, 6 Sep 2010 22:39:35 +0000 (18:39 -0400)]
cfbe: Remove "target" column from default bug list

As discussed at:
   http://void.printf.net/pipermail/be-devel/2010-September/000626.html

13 years agocfbe: Fix assigned-to-None search
Chris Ball [Mon, 6 Sep 2010 22:35:19 +0000 (18:35 -0400)]
cfbe: Fix assigned-to-None search

13 years agocfbe: typo: Unschdeuled -> Unscheduled
Chris Ball [Mon, 6 Sep 2010 22:26:59 +0000 (18:26 -0400)]
cfbe: typo: Unschdeuled -> Unscheduled

13 years agocfbe: API: implement search-by-target
Chris Ball [Mon, 6 Sep 2010 22:14:04 +0000 (18:14 -0400)]
cfbe: API: implement search-by-target

13 years agocfbe: API: fix editing a bug's target
Chris Ball [Mon, 6 Sep 2010 23:04:19 +0000 (19:04 -0400)]
cfbe: API: fix editing a bug's target

13 years agocfbe: Remove "target" column from default bug list
Chris Ball [Mon, 6 Sep 2010 22:39:35 +0000 (18:39 -0400)]
cfbe: Remove "target" column from default bug list

As discussed at:
   http://void.printf.net/pipermail/be-devel/2010-September/000626.html

13 years agocfbe: Fix assigned-to-None search
Chris Ball [Mon, 6 Sep 2010 22:35:19 +0000 (18:35 -0400)]
cfbe: Fix assigned-to-None search

13 years agocfbe: typo: Unschdeuled -> Unscheduled
Chris Ball [Mon, 6 Sep 2010 22:26:59 +0000 (18:26 -0400)]
cfbe: typo: Unschdeuled -> Unscheduled

13 years agocfbe: API: implement search-by-target
Chris Ball [Mon, 6 Sep 2010 22:14:04 +0000 (18:14 -0400)]
cfbe: API: implement search-by-target

13 years agocfbe: API: bug.comment.From -> bug.comment.author
Chris Ball [Mon, 6 Sep 2010 19:54:10 +0000 (15:54 -0400)]
cfbe: API: bug.comment.From -> bug.comment.author

13 years agoStrip all whitespace from right side of the VCS storage version string.
W. Trevor King [Mon, 6 Sep 2010 01:22:37 +0000 (21:22 -0400)]
Strip all whitespace from right side of the VCS storage version string.

The old method failed with Windows-style \r\n endlines, etc.

13 years agoDefault to "unknown" version info if libbe._version is missing.
W. Trevor King [Mon, 6 Sep 2010 01:20:46 +0000 (21:20 -0400)]
Default to "unknown" version info if libbe._version is missing.

13 years agoRemove useless children[i] from libbe.storage.vcs.base.VCS._children().
W. Trevor King [Sun, 5 Sep 2010 22:23:02 +0000 (18:23 -0400)]
Remove useless children[i] from libbe.storage.vcs.base.VCS._children().

13 years agoDon't assume len(os.path.sep) == 1 in libbe.storage.vcs.base.
W. Trevor King [Sun, 5 Sep 2010 22:14:18 +0000 (18:14 -0400)]
Don't assume len(os.path.sep) == 1 in libbe.storage.vcs.base.

13 years agoMade Marien's gentoo address an update_copyright.ALIAS for his recent gmail address.
W. Trevor King [Tue, 10 Aug 2010 18:13:27 +0000 (14:13 -0400)]
Made Marien's gentoo address an update_copyright.ALIAS for his recent gmail address.

13 years agoFix "no attribute '_get_bugdir'" bug in `be help severity`.
Marien Zwart [Tue, 10 Aug 2010 18:04:41 +0000 (14:04 -0400)]
Fix "no attribute '_get_bugdir'" bug in `be help severity`.

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

13 years agoDemoted #bea/7cb42a60# (be list --this-version) to wishlist
W. Trevor King [Thu, 15 Jul 2010 12:10:12 +0000 (08:10 -0400)]
Demoted #bea/7cb42a60# (be list --this-version) to wishlist

13 years agoFixed #bea/0a2# : Humanize empty result pages.
W. Trevor King [Thu, 15 Jul 2010 11:30:44 +0000 (07:30 -0400)]
Fixed #bea/0a2# : Humanize empty result pages.

Added a special template for empty bug lists:
  interfaces/web/templates/empty-list.html

13 years agoTagged recently fixed #bea/206# as a CFBE-related bug.
W. Trevor King [Thu, 15 Jul 2010 10:56:13 +0000 (06:56 -0400)]
Tagged recently fixed #bea/206# as a CFBE-related bug.

13 years agoFixed #bea/206d9b07# : 'BugDir' object has no attribute 'bug_shortname' (cfbe)
W. Trevor King [Thu, 15 Jul 2010 10:38:56 +0000 (06:38 -0400)]
Fixed #bea/206d9b07# : 'BugDir' object has no attribute 'bug_shortname' (cfbe)

Tested with a single bug attribute change and comment addition.

13 years agoAvoid loading the whole bugdir when calling `be html -e`.
W. Trevor King [Wed, 14 Jul 2010 23:36:25 +0000 (19:36 -0400)]
Avoid loading the whole bugdir when calling `be html -e`.

This cleans up Mathieu Clabaut's fix to the html_gen definition
problems in `be html -e`.

13 years agoMerge remote branch 'matclab/master'
W. Trevor King [Wed, 14 Jul 2010 23:31:15 +0000 (19:31 -0400)]
Merge remote branch 'matclab/master'

13 years agoMake Gianluca's bug status display optional for `be depend`.
W. Trevor King [Wed, 14 Jul 2010 23:24:12 +0000 (19:24 -0400)]
Make Gianluca's bug status display optional for `be depend`.

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.

13 years agoException when doing 'be html -e'
Mathieu Clabaut [Mon, 12 Jul 2010 14:32:01 +0000 (16:32 +0200)]
Exception when doing 'be html -e'

'html_gen' was referenced before assignment.

13 years agoAdd cfbe bug /206 from Gour
Chris Ball [Sun, 11 Jul 2010 18:01:37 +0000 (14:01 -0400)]
Add cfbe bug /206 from Gour

13 years agoUpdated the changes following Chris Rewview
gian [Wed, 7 Jul 2010 07:03:18 +0000 (09:03 +0200)]
Updated the changes following Chris Rewview

13 years agoAdded the bug summary to the output of the 'be depend' command
Gianluca [Tue, 6 Jul 2010 22:24:20 +0000 (00:24 +0200)]
Added the bug summary to the output of the 'be depend' command

13 years agoFixed mnt -> mtn typos in doc/spam.txt
Thomas Keller [Sun, 27 Jun 2010 23:42:36 +0000 (19:42 -0400)]
Fixed mnt -> mtn typos in doc/spam.txt

13 years agoAh, restored altered dirname code to Monotone's root method.
W. Trevor King [Sun, 27 Jun 2010 14:47:11 +0000 (10:47 -0400)]
Ah, restored altered dirname code to Monotone's root method.

The previous implementation used
  cwd=path
which would fail for non-directory paths.

The implementation before that was missing the not from
  if not os.path.isdir(path):
      dirname = os.path.dirname(path)
which meant it found the dirname when it didn't need to, and not when
it did ;).

13 years agoFixed Monotone driver rooting for interface versions >= 8.0.
W. Trevor King [Sun, 27 Jun 2010 13:21:31 +0000 (09:21 -0400)]
Fixed Monotone driver rooting for interface versions >= 8.0.

I'm not sure where the dirname manipulation came from, but it
was screwing things up ;).

Also some argument order and indentation cleanups.

13 years agoUse _invoke_client (vs. old _u_invoke_client) for Monotone get_workspace_root.
W. Trevor King [Sat, 26 Jun 2010 20:26:50 +0000 (16:26 -0400)]
Use _invoke_client (vs. old _u_invoke_client) for Monotone get_workspace_root.

This fixes Chris'

======================================================================
ERROR: Adding entries with the same ID should not increase the number
of children.
----------------------------------------------------------------------
Traceback (most recent call last):
  ...
CommandError: Command failed (1):
      mtn: misuse: workspace required but not found

while executing
      ['mtn', 'automate', 'get_workspace_root']

13 years agoAdded CFBE invocation notes to doc/http.txt.
W. Trevor King [Sat, 26 Jun 2010 19:39:52 +0000 (15:39 -0400)]
Added CFBE invocation notes to doc/http.txt.

This closes #bea/c72# and its dependent tag #bea/e23#.

13 years agoMoved doc/html.txt -> doc/http.txt.
W. Trevor King [Sat, 26 Jun 2010 19:32:20 +0000 (15:32 -0400)]
Moved doc/html.txt -> doc/http.txt.

`be html` is an HTML interface, but only CFBE (and `be serve`) use
HTTP.

13 years agoUpdated docs b/c of new Monotone backend
W. Trevor King [Sat, 26 Jun 2010 19:21:46 +0000 (15:21 -0400)]
Updated docs b/c of new Monotone backend

13 years agoAdd a Storage driver for the Monotone VCS
W. Trevor King [Sat, 26 Jun 2010 19:00:20 +0000 (15:00 -0400)]
Add a Storage driver for the Monotone VCS

13 years agoFix failure message 'X.get' -> 'X.children' in VersionedStorage test_get_previous_chi...
W. Trevor King [Sat, 26 Jun 2010 18:00:36 +0000 (14:00 -0400)]
Fix failure message 'X.get' -> 'X.children' in VersionedStorage test_get_previous_children

13 years agoRemoved libbe.storage.vcs.base._get_version
W. Trevor King [Sat, 26 Jun 2010 15:58:08 +0000 (11:58 -0400)]
Removed libbe.storage.vcs.base._get_version

It had been catching exceptions from ._vcs_version, but ._vcs_version
should catch its own exceptions.

Also use cached results from .version in Darcs and
Bzr.version_cmp() rather than calling ._vcs_version directly.

13 years agoRemove `be open` and `be close` (again)
W. Trevor King [Sat, 26 Jun 2010 14:01:39 +0000 (10:01 -0400)]
Remove `be open` and `be close` (again)

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.

13 years agoUsageError -> UserError in a few libbe.command.* submods.
W. Trevor King [Sat, 26 Jun 2010 13:55:49 +0000 (09:55 -0400)]
UsageError -> UserError in a few libbe.command.* submods.

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 ;).

13 years agoUse bug.id.user() instead of bug.uuid many places in libbe.command.depend
W. Trevor King [Sat, 26 Jun 2010 13:51:11 +0000 (09:51 -0400)]
Use bug.id.user() instead of bug.uuid many places in libbe.command.depend

13 years agoFix Tree() calls in libbe.command.depend
W. Trevor King [Sat, 26 Jun 2010 13:44:04 +0000 (09:44 -0400)]
Fix Tree() calls in libbe.command.depend

13 years ago`be list` without --extra-strings now lists bugs with extra strings.
W. Trevor King [Sat, 26 Jun 2010 13:22:41 +0000 (09:22 -0400)]
`be list` without --extra-strings now lists bugs with extra strings.

The previous implementation would not show them unless an explicitly
matching regexp was passed in with --extra-strings.

13 years agoMerge remote branch 'origin/master'
W. Trevor King [Sat, 26 Jun 2010 10:35:31 +0000 (06:35 -0400)]
Merge remote branch 'origin/master'

13 years agoUse fixed instead of closed; the bug's fixed.
Chris Ball [Sat, 26 Jun 2010 02:44:26 +0000 (22:44 -0400)]
Use fixed instead of closed; the bug's fixed.

13 years agoRan update_copyright.py
W. Trevor King [Fri, 25 Jun 2010 21:17:17 +0000 (17:17 -0400)]
Ran update_copyright.py

13 years agoAdded 'Gianluca <gian@grys.it>' alias to update_copyright.py.
W. Trevor King [Fri, 25 Jun 2010 21:16:27 +0000 (17:16 -0400)]
Added 'Gianluca <gian@grys.it>' alias to update_copyright.py.

13 years agoRestored clobbered update_copyright.
W. Trevor King [Fri, 25 Jun 2010 20:57:01 +0000 (16:57 -0400)]
Restored clobbered update_copyright.

During one of the recent merges, my updated update_copyright.py
from
  commit bb382a6aba11eedeb380e2aaa9755bc0e47f9095
  Author: W. Trevor King <wking@drexel.edu>
  Date:   Tue Jun 22 21:11:52 2010 -0400

      Updated update_copyright to work with git/hg/bzr.

      I'd added the extra VCS support when I took it over to Hooke.
was clobbered.  I've restored it, and merged in the
intervening changes:
  commit 2dde7664df85e91d0f914025fd66d147c508f6ab
  Author: W. Trevor King <wking@drexel.edu>
  Date:   Thu Jun 24 21:51:20 2010 -0400

      Add aliases to update_copyright.py for some recent commits

13 years agoAdjust update_copyright.py to handle _mailfilterrc and _procmailrc
W. Trevor King [Fri, 25 Jun 2010 20:48:08 +0000 (16:48 -0400)]
Adjust update_copyright.py to handle _mailfilterrc and _procmailrc

Gour re-released _mailfilterrc under GPLv2+ following Chris'
suggestion:

  Date: Fri, 25 Jun 2010 14:23:46 -0400
  From: Chris Ball
  Subject: Re: [Be-devel] procmail & maildrop
  ...
  As an aside, the Public Domain license on it is mildly concerning,
  but I think I'm willing to take it anyway since it's just a
  standalone file.  There are guidelines against using Public Domain
  declarations for software, because they have different meaning in
  different areas, and some areas are even thought to deny disclaiming
  "moral rights" like this; I've heard that France is in this
  situation.
  ...

Seems reasonable, so I'm doing that for my _procmailrc too.

This also means that _mailfilterrc no longer needs to be in
update_copyright.IGNORED_FILES, so I removed it.  Actually,
since it lackes a '^# Copyright' line, it never had to be
there in the first place.  Lazy me ;).

13 years agoClose cherrypy utf-8 handling bug
Chris Ball [Fri, 25 Jun 2010 20:33:12 +0000 (16:33 -0400)]
Close cherrypy utf-8 handling bug

13 years agoMerge branch 'master' of http://www.physics.drexel.edu/~wking/code/git/be
Chris Ball [Fri, 25 Jun 2010 19:56:29 +0000 (15:56 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be

13 years agoMerge commit 'refs/merge-requests/2' of git://gitorious.org/be/be
Chris Ball [Fri, 25 Jun 2010 19:55:14 +0000 (15:55 -0400)]
Merge commit 'refs/merge-requests/2' of git://gitorious.org/be/be

13 years agoChanged license for _mailfilterrc from Public Domain to GPLv2+
Gour [Fri, 25 Jun 2010 19:32:09 +0000 (21:32 +0200)]
Changed license for _mailfilterrc from Public Domain to GPLv2+

13 years agoAdded _mailfilterrc to update_copyright.IGNORED_FILES
W. Trevor King [Fri, 25 Jun 2010 18:55:38 +0000 (14:55 -0400)]
Added _mailfilterrc to update_copyright.IGNORED_FILES

Gour released it to the Public Domain.

13 years agoMerge remote branch 'gour/master'
W. Trevor King [Fri, 25 Jun 2010 18:53:41 +0000 (14:53 -0400)]
Merge remote branch 'gour/master'

13 years agoReworked `be list --extra-strings REGEXP` logic.
W. Trevor King [Fri, 25 Jun 2010 18:49:39 +0000 (14:49 -0400)]
Reworked `be list --extra-strings REGEXP` logic.

Previous implementation only matched if *every* regexp matched *every*
string.  Current implementation matches is *any* regexp matches *any*
string.