W. Trevor King [Sun, 16 Nov 2008 20:59:41 +0000 (15:59 -0500)]
Added 'hg', 'arch', and 'none' RCS modes to test_usage.sh.
W. Trevor King [Sun, 16 Nov 2008 20:37:14 +0000 (15:37 -0500)]
Fixed another bug in git.strip_git() (bug 0cad).
Also added git mode to test_usage.sh.
I'll go through and add modes for the other RCSs...
W. Trevor King [Sun, 16 Nov 2008 19:55:55 +0000 (14:55 -0500)]
Oops, I'd forgotten to tell bzr about my becommands/remove.py.
W. Trevor King [Sun, 16 Nov 2008 19:54:52 +0000 (14:54 -0500)]
Merged in my git.py changed fixing Hubert Chathi's git set-root bug (0cad).
W. Trevor King [Sun, 16 Nov 2008 19:47:16 +0000 (14:47 -0500)]
Added ./test_usage.sh as an example usage scenario.
It is also a good integration test.
W. Trevor King [Sun, 16 Nov 2008 19:35:53 +0000 (14:35 -0500)]
Removed dud bug 11e. Moved several bugs from 'closed' to 'fixed'.
W. Trevor King [Sun, 16 Nov 2008 19:32:19 +0000 (14:32 -0500)]
Fix Bug.string() handling of None times.
W. Trevor King [Sun, 16 Nov 2008 19:14:49 +0000 (14:14 -0500)]
Removed the empty bugs 14c and 38b. Fixed bug.string() call in libbe/diff.py.
W. Trevor King [Sun, 16 Nov 2008 19:12:06 +0000 (14:12 -0500)]
Added 'remove' command to remove bugs. Use __desc__ for command help.
Using the __desc__ reduces documentation duplication. It's also better
than using __doc__, because __doc__ could (should?) be more than one-line
long, and we just want a short description to jog our memories in the
complete command list.
Also moved unique_name from cmdutil.py to names.py to avoid the
bug->cmdutil->bugdir->bug
cyclic include.
W. Trevor King [Sat, 15 Nov 2008 23:53:45 +0000 (18:53 -0500)]
Fixed '-' parsing bug for list --assigned option.
W. Trevor King [Sat, 15 Nov 2008 23:48:08 +0000 (18:48 -0500)]
Fixed some errors produced while moving bug_summary to Bug.string().
W. Trevor King [Sat, 15 Nov 2008 23:35:41 +0000 (18:35 -0500)]
Moved libbe.cmdutil.bug_summary() to libbe.bug.Bug.string().
This seems like a natual place for a function that only operates on Bugs.
W. Trevor King [Sat, 15 Nov 2008 23:31:04 +0000 (18:31 -0500)]
Removed libbe/template.
This file is not used anywhere, and appears to be an outdated version
of libbe/diff.py.
W. Trevor King [Sat, 15 Nov 2008 21:17:05 +0000 (16:17 -0500)]
becommands/show.py gives more specific bug information.
W. Trevor King [Sat, 15 Nov 2008 20:48:30 +0000 (15:48 -0500)]
Generalized becommands/list.py to allow more specific bug searches.
W. Trevor King [Sat, 15 Nov 2008 01:34:57 +0000 (20:34 -0500)]
Fixed a few more Comment.date->time calls.
Bug keeps timestamps in Bug.time, so working towards consitency for
Comment.
W. Trevor King [Sat, 15 Nov 2008 01:32:15 +0000 (20:32 -0500)]
Removerd the diff3 functions from mapfile.py.
They don't seem to be used anywhere...
W. Trevor King [Sat, 15 Nov 2008 01:21:29 +0000 (20:21 -0500)]
Fixed some bug.py split effects in diff.py
Also added 'disabled' status back in so diff doesn't choke trying to
load the older versions... Ugly hack, but I don't want to change the
past ;).
W. Trevor King [Sat, 15 Nov 2008 00:25:44 +0000 (19:25 -0500)]
Split Bug and Comment class out to bug.py from bugdir.py
Comment should probably have it's own file too...
I also tried to clean up the interface for setting status and
severity. Both attributes involve selecting strings from predefined
lists. The lists of valid strings (and descriptions of each string)
are now defined in bug.py. The bug.py lists are then used to generate
appropriate help strings in becommands/status.py and severity.py.
This should make it easier to keep the help strings in synch with the
validation information.
The original status strings weren't documented, and I didn't know what
they all ment, so I elimanted some of them. 'in-progress' and
'disabled' are no longer with us. Of course, it would be simple to
add them back in if people don't agree with me on that. Due to the
loss of 'disabled' I had to change the status of two bugs (11e and
597) to 'closed'. I removed becommands/inprogress.py as well. It's
functionality was replaced by the more general status.py command,
which mimics the severity.py command.
W. Trevor King [Fri, 14 Nov 2008 05:32:38 +0000 (00:32 -0500)]
Changed __get/setattribute__ calls to get/setattr() calls.
See
http://www.python.org/doc/2.5.2/lib/built-in-funcs.html#l2h-33
http://www.python.org/doc/2.5.2/lib/built-in-funcs.html#l2h-66
W. Trevor King [Fri, 14 Nov 2008 05:24:08 +0000 (00:24 -0500)]
Replaced libbe.arch.invoke() with general rcs.invoke()
W. Trevor King [Fri, 14 Nov 2008 05:23:09 +0000 (00:23 -0500)]
Added caveat about using short bug names to unique_name().
W. Trevor King [Fri, 14 Nov 2008 05:10:44 +0000 (00:10 -0500)]
Cleaned up and docstringed libbe.cmdutil.unique_name().
Now the first bug will have a 3 char short name (used to be one char,
with the second bug having a 3 char name).
W. Trevor King [Fri, 14 Nov 2008 05:03:04 +0000 (00:03 -0500)]
Remove blank lines from `be list' output
W. Trevor King [Fri, 14 Nov 2008 05:00:51 +0000 (00:00 -0500)]
Closed bug 210 (target options not parsed).
I imagine this has been fixed for a while...
W. Trevor King [Thu, 13 Nov 2008 20:27:07 +0000 (15:27 -0500)]
Oops... *Now* I've fixed 0cad
W. Trevor King [Thu, 13 Nov 2008 19:31:49 +0000 (14:31 -0500)]
Fixed 0cad bug with smaller fix.
Hubert Chathi's fix was confusing for me, so I made a simpler change.
Seems to work so far. The problem was that
os.path.dirname('filename')
returns an empty string ('') if there are no directories in the
filename. So when `git rev-parse --git-dir` returned '.git', os
returned ''. Later programs didn't recognize '' as a valid directory
and crashed. My fix returns '.' in this case, so we don't crash,
and avoid having to use full paths. I'm not sure why I don't want
to use full paths; they just give me bad vibes...
W. Trevor King [Thu, 13 Nov 2008 19:19:38 +0000 (14:19 -0500)]
Added Hubert Chathi's git set-root bug report.
Bug report patch from
http://void.printf.net/pipermail/be-devel/attachments/
20080623/
49500aaf/0cad.bin
Reporting thread
[Be-devel] Re: set-root in git repository fails
Hubert Chathi hubert at uhoreg.ca
Tue Jun 24 03:49:23 BST 2008
http://void.printf.net/pipermail/be-devel/2008-June/000038.html
W. Trevor King [Thu, 13 Nov 2008 18:47:33 +0000 (13:47 -0500)]
Merge from main branch
W. Trevor King [Thu, 13 Nov 2008 18:10:13 +0000 (13:10 -0500)]
* use python2.4/2.5 compatible import of ElementTree
* catch Popen() calls to missing VCS binaries
* test.py should only test installed backends
W. Trevor King [Thu, 13 Nov 2008 17:31:40 +0000 (12:31 -0500)]
Updated imports to handle Python 2.5 ElementTree module.
Opened, fixed, and closed as bug 31c.
W. Trevor King [Thu, 13 Nov 2008 16:40:06 +0000 (11:40 -0500)]
Created bug c4e. Wrote a simple (an hopefully correct) be/test.py docstring.
W. Trevor King [Thu, 13 Nov 2008 16:30:18 +0000 (11:30 -0500)]
Created late bug report for Popen OSError catches
W. Trevor King [Thu, 13 Nov 2008 14:02:22 +0000 (09:02 -0500)]
Catch OSErrors from Popen()s
From the subprocess module documentation:
http://www.python.org/doc/2.5.2/lib/node530.html
"The most common exception raised is OSError. This occurs, for example,
when trying to execute a non-existent file. Applications should prepare
for OSError exceptions."
And from the os module documentation:
http://www.python.org/doc/2.5.2/lib/module-os.html
"exception error
This exception is raised when a function returns a system-related
error (not for illegal argument types or other incidental
errors). This is also known as the built-in exception OSError. The
accompanying value is a pair containing the numeric error code
from errno and the corresponding string, as would be printed by
the C function perror(). See the module errno, which contains
names for the error codes defined by the underlying operating
system.
When exceptions are classes, this exception carries two
attributes, errno and strerror. The first holds the value of the C
errno variable, and the latter holds the corresponding error
message from strerror(). For exceptions that involve a file system
path (such as chdir() or unlink()), the exception instance will
contain a third attribute, filename, which is the file name passed
to the function."
I turned this up running be/test.py, when it defaulted to the tla client
which I didn't have installed. I don't have things working yet, so I
can't create a bug at the moment...
Chris Ball [Fri, 16 May 2008 19:25:59 +0000 (15:25 -0400)]
Don't require python2.4 for "be".
Chris Ball [Fri, 16 May 2008 19:25:16 +0000 (15:25 -0400)]
Require editbugs permission to edit bugs. Patch from j@oil21.org.
Chris Ball [Fri, 16 May 2008 19:20:54 +0000 (15:20 -0400)]
Apply patches from j@oil21.org, Ben Finney, Jelmer Vernooij.
Chris Ball [Fri, 16 May 2008 18:43:02 +0000 (14:43 -0400)]
Add GIT support, from Chris Ball and Michael Stone.
Jelmer Vernooij [Wed, 14 May 2008 12:40:18 +0000 (14:40 +0200)]
Fix branding: Bazaar-NG -> Bazaar.
Jelmer Vernooij [Wed, 14 May 2008 12:40:06 +0000 (14:40 +0200)]
Make setup.py executable.
Ben Finney [Fri, 18 Apr 2008 10:08:49 +0000 (20:08 +1000)]
Makefile: Add with 'clean' target.
j^ [Mon, 14 Apr 2008 16:43:33 +0000 (18:43 +0200)]
Bugs-Everywhere-Web works with python2.5 do not hardcode python2.4
Aaron Bentley [Mon, 30 Jul 2007 14:47:43 +0000 (10:47 -0400)]
Assume commit messages are in utf-8 for now...
Aaron Bentley [Mon, 16 Jul 2007 17:33:06 +0000 (13:33 -0400)]
Add support for VISUAL
Aaron Bentley [Mon, 16 Jul 2007 16:22:59 +0000 (12:22 -0400)]
Ensure that Arch tests have a user id set
Aaron Bentley [Mon, 16 Jul 2007 15:24:03 +0000 (11:24 -0400)]
Clarify VISUAL meaning
Aaron Bentley [Sun, 15 Jul 2007 16:45:25 +0000 (12:45 -0400)]
Add setup-tables script
Aaron Bentley [Sun, 15 Jul 2007 16:45:06 +0000 (12:45 -0400)]
Add bug report from Jelmer
Aaron Bentley [Sun, 15 Jul 2007 16:43:30 +0000 (12:43 -0400)]
Merge from panometrics
Jelmer Vernooij [Sun, 15 Jul 2007 13:35:07 +0000 (16:35 +0300)]
New bug.
Aaron Bentley [Mon, 5 Feb 2007 22:00:40 +0000 (17:00 -0500)]
Fix long lines
Aaron Bentley [Mon, 5 Feb 2007 21:59:52 +0000 (16:59 -0500)]
More Mercurial support
Aaron Bentley [Mon, 5 Feb 2007 21:35:50 +0000 (16:35 -0500)]
Get beweb mostly working
Aaron Bentley [Tue, 23 Jan 2007 20:30:02 +0000 (15:30 -0500)]
Add support for Mercurial (Steve Borho)
Aaron Bentley [Tue, 5 Dec 2006 21:08:03 +0000 (16:08 -0500)]
Mostly upgrade to turbogears 1.0b1
Aaron Bentley [Tue, 5 Dec 2006 17:30:04 +0000 (12:30 -0500)]
Add top_level.txt
Aaron Bentley [Tue, 17 Oct 2006 19:26:02 +0000 (15:26 -0400)]
Disable commit behavior because it's not reliable
Aaron Bentley [Tue, 17 Oct 2006 19:24:53 +0000 (15:24 -0400)]
New bugs
Aaron Bentley [Tue, 5 Sep 2006 17:15:06 +0000 (13:15 -0400)]
Fix double-invocation bug
Aaron Bentley [Fri, 11 Aug 2006 16:07:10 +0000 (12:07 -0400)]
Merge changes from Belchenko
Alexander Belchenko [Fri, 11 Aug 2006 15:25:36 +0000 (18:25 +0300)]
line-endings in .bzrignore
Alexander Belchenko [Fri, 11 Aug 2006 15:15:02 +0000 (18:15 +0300)]
don't use std. commands module 'cause it's Linux-only. Grab code from this module and adapt it to win32
Alexander Belchenko [Wed, 19 Jul 2006 20:54:33 +0000 (23:54 +0300)]
ignore .shelf
Alexander Belchenko [Wed, 19 Jul 2006 20:53:44 +0000 (23:53 +0300)]
win32: fix crash of 'be show' when bug don't have comments
Alexander Belchenko [Wed, 19 Jul 2006 20:52:50 +0000 (23:52 +0300)]
subprocess: win32 don't have os.execvp() so have to run command in a shell
Aaron Bentley [Wed, 19 Jul 2006 14:14:03 +0000 (10:14 -0400)]
Use subprocess-native functionality for changing directory
Aaron Bentley [Wed, 19 Jul 2006 14:04:27 +0000 (10:04 -0400)]
Use Popen.communicate instead of reading the individual streams (why needed?)
Alexander Belchenko [Tue, 18 Jul 2006 19:46:09 +0000 (22:46 +0300)]
.bzrignore
Aaron Bentley [Tue, 18 Apr 2006 16:43:31 +0000 (12:43 -0400)]
Handle UTF-8 comments
Aaron Bentley [Mon, 17 Apr 2006 22:12:29 +0000 (18:12 -0400)]
Merge from other BE
Aaron Bentley [Mon, 17 Apr 2006 21:01:16 +0000 (17:01 -0400)]
Note the dependencies/reverse-dependencies debate
Aaron Bentley [Mon, 17 Apr 2006 21:00:26 +0000 (17:00 -0400)]
Fix help printing (Lee Braiden)
Aaron Bentley [Sun, 16 Apr 2006 21:14:27 +0000 (17:14 -0400)]
Added prompt to comments
Aaron Bentley [Wed, 12 Apr 2006 16:47:26 +0000 (12:47 -0400)]
Revert change, because it messes up stripey tables
Aaron Bentley [Wed, 12 Apr 2006 16:45:25 +0000 (12:45 -0400)]
Hide closed using display:None
Aaron Bentley [Wed, 12 Apr 2006 16:34:12 +0000 (12:34 -0400)]
Remember search value
Aaron Bentley [Wed, 12 Apr 2006 16:31:27 +0000 (12:31 -0400)]
Tweaked colours of odd/even rows in tables
Aaron Bentley [Wed, 12 Apr 2006 14:38:01 +0000 (10:38 -0400)]
Teach PrestHandler to handle bad paths cleanly
Aaron Bentley [Wed, 12 Apr 2006 14:17:13 +0000 (10:17 -0400)]
Use relative path to database
Aaron Bentley [Tue, 11 Apr 2006 23:23:03 +0000 (19:23 -0400)]
Merge with other be
Aaron Bentley [Tue, 11 Apr 2006 22:32:26 +0000 (18:32 -0400)]
Used identity for new comments and bugs
Aaron Bentley [Tue, 11 Apr 2006 20:41:47 +0000 (16:41 -0400)]
Use people listings from identity framework, not config, on bug pages.
Aaron Bentley [Tue, 11 Apr 2006 16:03:28 +0000 (12:03 -0400)]
Enable identity tracking
Aaron Bentley [Tue, 11 Apr 2006 14:25:17 +0000 (10:25 -0400)]
Fixed up config a bit
Aaron Bentley [Tue, 11 Apr 2006 13:23:30 +0000 (09:23 -0400)]
Merge from home (TurboGears 0.9)
Aaron Bentley [Tue, 11 Apr 2006 03:56:23 +0000 (23:56 -0400)]
Updated NEWS
Aaron Bentley [Tue, 11 Apr 2006 03:11:45 +0000 (23:11 -0400)]
removed unused files
Aaron Bentley [Tue, 11 Apr 2006 03:10:43 +0000 (23:10 -0400)]
Got rid of machine-specific paths
Aaron Bentley [Tue, 11 Apr 2006 02:07:54 +0000 (22:07 -0400)]
Updated beweb to use TurboGears 0.9
Aaron Bentley [Mon, 10 Apr 2006 23:24:23 +0000 (19:24 -0400)]
Noted bug
Aaron Bentley [Fri, 7 Apr 2006 16:35:01 +0000 (12:35 -0400)]
Added copyright notice
Aaron Bentley [Fri, 7 Apr 2006 02:24:51 +0000 (22:24 -0400)]
Adjust version number in setup.py, so we don't hit 205 prematurely :-)
Aaron Bentley [Fri, 7 Apr 2006 02:17:45 +0000 (22:17 -0400)]
Add Zwart to AUTHORS list
Aaron Bentley [Fri, 7 Apr 2006 02:17:23 +0000 (22:17 -0400)]
Merge remaining fixes from Zwart
Aaron Bentley [Fri, 7 Apr 2006 02:04:49 +0000 (22:04 -0400)]
Merge test case fixes without trailing commas
Aaron Bentley [Thu, 6 Apr 2006 18:07:23 +0000 (14:07 -0400)]
New bug reports:
ID: 597
Severity: minor
Creator: abentley
RST test
Aaron Bentley [Thu, 6 Apr 2006 18:06:13 +0000 (14:06 -0400)]
Merge from upstream
Aaron Bentley [Thu, 6 Apr 2006 18:06:08 +0000 (14:06 -0400)]
Auto-commit
Aaron Bentley [Thu, 6 Apr 2006 18:05:47 +0000 (14:05 -0400)]
Add ReST support to web front end
Aaron Bentley [Thu, 6 Apr 2006 16:54:54 +0000 (12:54 -0400)]
Auto-commit