W. Trevor King [Fri, 19 Jun 2009 16:06:32 +0000 (12:06 -0400)]
Removed unused libbe/restconvert.py and fixed a typo in README.dev
W. Trevor King [Fri, 19 Jun 2009 15:09:03 +0000 (11:09 -0400)]
Merge from main branch.
W. Trevor King [Fri, 19 Jun 2009 15:06:59 +0000 (11:06 -0400)]
libbe/encoding.py
John Doe [Mon, 15 Jun 2009 10:13:22 +0000 (20:13 +1000)]
Follow existing docstring whitespace convention.
John Doe [Sun, 14 Jun 2009 07:27:18 +0000 (17:27 +1000)]
Distinguish tests for VCS which can't handle an uninitialised identity.
John Doe [Sun, 14 Jun 2009 07:24:29 +0000 (17:24 +1000)]
Refactor mega-testcases into separate true-or-false testcases.
John Doe [Sun, 14 Jun 2009 04:34:11 +0000 (14:34 +1000)]
Make RCS testcase subclasses dynamically.
Chris Ball [Sat, 13 Jun 2009 12:43:28 +0000 (08:43 -0400)]
Use a more general regex to test GIT commits; GIT's output has changed.
Steve Losh [Mon, 23 Mar 2009 21:14:59 +0000 (17:14 -0400)]
Added a license file (MIT/X11).
Steve Losh [Sat, 7 Feb 2009 21:35:51 +0000 (16:35 -0500)]
Added tag alpha for changeset
abfe7aa4bdf3
Steve Losh [Sat, 7 Feb 2009 21:34:23 +0000 (16:34 -0500)]
Tagged the alpha release, and added mroe bugs.
Steve Losh [Sat, 7 Feb 2009 21:34:08 +0000 (16:34 -0500)]
Added tag alpha for changeset
8d8c7f52f3af
Steve Losh [Sat, 7 Feb 2009 18:38:05 +0000 (13:38 -0500)]
Bug changes.
Steve Losh [Sat, 7 Feb 2009 17:51:40 +0000 (12:51 -0500)]
Got rid of the stupid config file.
Steve Losh [Sat, 7 Feb 2009 17:42:23 +0000 (12:42 -0500)]
Changed some bugs around.
Steve Losh [Sat, 7 Feb 2009 17:39:45 +0000 (12:39 -0500)]
Apparently not enough though.
Steve Losh [Sat, 7 Feb 2009 17:39:19 +0000 (12:39 -0500)]
Refactored more into the web interface.
Steve Losh [Sat, 7 Feb 2009 17:35:37 +0000 (12:35 -0500)]
Forgot to rearrange the script.
Steve Losh [Sat, 7 Feb 2009 17:34:51 +0000 (12:34 -0500)]
Forgot some imports.
Steve Losh [Sat, 7 Feb 2009 17:33:28 +0000 (12:33 -0500)]
I really need to learn more about Python packages.
Steve Losh [Sat, 7 Feb 2009 17:31:02 +0000 (12:31 -0500)]
Pulled out the web interface.
Steve Losh [Sat, 7 Feb 2009 17:27:02 +0000 (12:27 -0500)]
Removed the debug print.
Steve Losh [Sat, 7 Feb 2009 17:25:21 +0000 (12:25 -0500)]
It works! Just need to debug one more thing.
Steve Losh [Sat, 7 Feb 2009 17:23:23 +0000 (12:23 -0500)]
I think I may have it figured out.
Steve Losh [Sat, 7 Feb 2009 17:20:59 +0000 (12:20 -0500)]
I has a module!
Steve Losh [Sat, 7 Feb 2009 17:20:22 +0000 (12:20 -0500)]
Testing out some more packaging issues.
Steve Losh [Sat, 7 Feb 2009 17:17:22 +0000 (12:17 -0500)]
Testing out some packaging issues.
Steve Losh [Mon, 2 Feb 2009 02:19:59 +0000 (21:19 -0500)]
Starting packaging up.
Steve Losh [Mon, 2 Feb 2009 01:12:59 +0000 (20:12 -0500)]
Added two more bugs.
Steve Losh [Mon, 2 Feb 2009 01:06:17 +0000 (20:06 -0500)]
Bug assignment.
Steve Losh [Mon, 2 Feb 2009 01:01:13 +0000 (20:01 -0500)]
Changes before Laura checks it out.
Steve Losh [Sun, 1 Feb 2009 23:02:31 +0000 (18:02 -0500)]
Implemented bug editing.
Steve Losh [Sun, 1 Feb 2009 22:28:05 +0000 (17:28 -0500)]
Got bug detail editing working, except for the summary.
Steve Losh [Sun, 1 Feb 2009 21:10:24 +0000 (16:10 -0500)]
Closed the commenting bug.
Steve Losh [Sun, 1 Feb 2009 21:09:50 +0000 (16:09 -0500)]
I can has commenting!
Steve Losh [Sun, 1 Feb 2009 20:45:52 +0000 (15:45 -0500)]
Implemented bug adding.
Steve Losh [Sat, 31 Jan 2009 07:26:36 +0000 (02:26 -0500)]
Added the links in the bug list.
Steve Losh [Sat, 31 Jan 2009 07:24:31 +0000 (02:24 -0500)]
Implemented the single bug view.
Steve Losh [Sat, 31 Jan 2009 05:36:04 +0000 (00:36 -0500)]
Added my last name.
Steve Losh [Sat, 31 Jan 2009 05:19:57 +0000 (00:19 -0500)]
Fixed a minor filter bug, more bug reports.
Starting to plan out the alpha release mroe thoroughly.
Steve Losh [Sat, 31 Jan 2009 04:53:09 +0000 (23:53 -0500)]
Implemented the status filter.
Steve Losh [Sat, 31 Jan 2009 04:36:31 +0000 (23:36 -0500)]
More minor design changes.
Steve Losh [Sat, 31 Jan 2009 03:23:44 +0000 (22:23 -0500)]
Table striping.
Steve Losh [Sat, 31 Jan 2009 03:07:59 +0000 (22:07 -0500)]
Minor changes, and added lots of bug reports.
Steve Losh [Sat, 31 Jan 2009 02:45:15 +0000 (21:45 -0500)]
Made it prettier, and added assignee filters.
Steve Losh [Sat, 31 Jan 2009 01:53:41 +0000 (20:53 -0500)]
Oh my god I have CSS display directives.
Steve Losh [Sat, 31 Jan 2009 00:13:56 +0000 (19:13 -0500)]
Got the layout looking pretty nice.
Steve Losh [Fri, 30 Jan 2009 23:39:11 +0000 (18:39 -0500)]
Moved the layout quite a bit further.
Steve Losh [Fri, 30 Jan 2009 22:43:07 +0000 (17:43 -0500)]
Started layout work.
Steve Losh [Fri, 30 Jan 2009 03:20:29 +0000 (22:20 -0500)]
Added a few bugs.
Steve Losh [Fri, 30 Jan 2009 03:17:03 +0000 (22:17 -0500)]
Started using Bugs Everywhere to track the bugs. How appropriate.
Steve Losh [Fri, 30 Jan 2009 02:41:39 +0000 (21:41 -0500)]
Got the static serving working.
Steve Losh [Fri, 30 Jan 2009 02:31:29 +0000 (21:31 -0500)]
Very basic working skeleton. Gets stuff from the bug directory, renders with Jinja.
Steve Losh [Fri, 30 Jan 2009 01:54:33 +0000 (20:54 -0500)]
Starting off with an hgignore!
Thomas Habets [Wed, 7 Jan 2009 18:39:32 +0000 (19:39 +0100)]
XML output for "be show"
W. Trevor King [Sun, 21 Dec 2008 05:35:12 +0000 (00:35 -0500)]
Fixed spelling mistake in test_usage.sh
W. Trevor King [Thu, 4 Dec 2008 23:33:33 +0000 (18:33 -0500)]
Fixed lack of user_id caching in bugdir.BugDir
W. Trevor King [Thu, 4 Dec 2008 18:06:10 +0000 (13:06 -0500)]
Closed search bug
9a942b1d-a3b5-441d-8aef-
b844700e1efa
Aaron says it's already implemented in the Bugs-Everywhere-Web, and
$ be show `be list --status all --uuids` | grep -A5 -B5 XYZ
works pretty well for me on the command line.
W. Trevor King [Thu, 4 Dec 2008 17:42:22 +0000 (12:42 -0500)]
Merged in the successful per-tree-config branch.
W. Trevor King [Thu, 4 Dec 2008 17:40:39 +0000 (12:40 -0500)]
Added per-tree default assignee option.
The new setting is currently only used when creating new bugs with
becommand/new.
W. Trevor King [Thu, 4 Dec 2008 17:24:24 +0000 (12:24 -0500)]
Closed a few old bugs that seem outdated/dealt with.
W. Trevor King [Thu, 4 Dec 2008 17:07:49 +0000 (12:07 -0500)]
Fixed missing directory error when merging comments onto a bare bug.
If bug_A had no comments (and so, no comment directory), changing
comment settings before saving raised missing directory errors.
save_settings had previously assumed the
.be/bugs/XYZ/comments/
directory existed, which wasn't true for comment-less bugs. Now it
checks, and creates the directory if necessary.
W. Trevor King [Thu, 4 Dec 2008 16:56:34 +0000 (11:56 -0500)]
becommands/severity and status now handle --complete appropriately.
I also disabled interspersed options and arguments in
cmdutils.CmdOptionParser. See
http://docs.python.org/library/optparse.html
Now
$ be severity xyz --complete
returns available severities. It had previously returned
--help --complete
W. Trevor King [Thu, 4 Dec 2008 16:32:57 +0000 (11:32 -0500)]
Per-tree status levels working.
W. Trevor King [Thu, 4 Dec 2008 15:44:29 +0000 (10:44 -0500)]
Closed
4a4609c8-1882-47de-9d30-
fee410b8a802
Per-tree severity levels working.
W. Trevor King [Thu, 4 Dec 2008 15:40:24 +0000 (10:40 -0500)]
Adjusted becommands/list.py to use current bug severities levels.
W. Trevor King [Thu, 4 Dec 2008 15:32:10 +0000 (10:32 -0500)]
bug severity verification now works with per-tree severities.
I adjusted the YAML format following
http://pyyaml.org/ticket/11
Unicode support
To remove '!!python/unicode' escapes and allow unicode in the output.
We can always have unicode in the output because the output is encoded
(as per the BugFile.encoding setting) before being sent to the outside
world.
W. Trevor King [Thu, 4 Dec 2008 14:54:39 +0000 (09:54 -0500)]
Per-tree settings now passed into bug module.
becommands/severity gets the configured settings appropriately.
Todo:
adjust setting-validation to compare against the current values.
setup becommands/severity to --complete severities.
W. Trevor King [Thu, 4 Dec 2008 14:14:01 +0000 (09:14 -0500)]
Added per-tree configurable severities.
They currently have no effect, but you can see them with
$ be set
There's a lot of information in this one 'settings' variable. I think
set will have to be specialized to handle arrays smoothly...
W. Trevor King [Thu, 4 Dec 2008 13:52:23 +0000 (08:52 -0500)]
Cleaned up some older bugs.
W. Trevor King [Wed, 3 Dec 2008 00:23:04 +0000 (19:23 -0500)]
Added support for bug reporter field.
Closes
e2f6514c-5f9f-4734-a537-
daf3fbe7e9a0
W. Trevor King [Wed, 3 Dec 2008 00:11:56 +0000 (19:11 -0500)]
Merged decorator branch.
W. Trevor King [Wed, 3 Dec 2008 00:06:24 +0000 (19:06 -0500)]
Fixed comparison bug in Bug._get_time.
W. Trevor King [Tue, 2 Dec 2008 16:12:56 +0000 (11:12 -0500)]
Added auto-completion for becommands/set property names.
W. Trevor King [Tue, 2 Dec 2008 16:06:00 +0000 (11:06 -0500)]
Converted Comment to the settings_object system.
W. Trevor King [Tue, 2 Dec 2008 15:39:52 +0000 (10:39 -0500)]
Bug moved to the settings_object system.
W. Trevor King [Tue, 2 Dec 2008 15:14:06 +0000 (10:14 -0500)]
Added decorator-style properties to bugdir. Created settings_object module.
settings_object.SavedSettingsObject encapsulates some of the common
settings functionality in the BE BugDir, Bug, and Comment classes.
It's a bit awkward due to the nature of scoping in python subclasses,
but it's better than reproducing this code in each of the above classes.
Now I need to move Bug and Comment over to *this* system ;).
W. Trevor King [Mon, 1 Dec 2008 19:42:20 +0000 (14:42 -0500)]
Added decorator-style properties to libbe/comment.py.
Also some typo corrections and some reworking of bug/bugdir to better
support the lazier loading.
W. Trevor King [Mon, 1 Dec 2008 19:08:59 +0000 (14:08 -0500)]
Fixed some erroneous "no test suite" messages in test.py.
W. Trevor King [Sat, 29 Nov 2008 04:08:10 +0000 (23:08 -0500)]
Added libbe/properties to make property management easier.
libbe/bug has been moved over to the new system.
comment and bugdir still to go.
W. Trevor King [Fri, 28 Nov 2008 15:15:15 +0000 (10:15 -0500)]
Added more helpful error message for libbe modules missing test suites.
W. Trevor King [Fri, 28 Nov 2008 00:35:55 +0000 (19:35 -0500)]
Optimized bug loading from becommands/comment with partial-uuid matching.
The code is a bit uglier now, but it's a good deal faster :).
W. Trevor King [Thu, 27 Nov 2008 16:34:44 +0000 (11:34 -0500)]
Added becommands/comment completion.
W. Trevor King [Thu, 27 Nov 2008 16:12:26 +0000 (11:12 -0500)]
Completion support added to becommands/help
W. Trevor King [Thu, 27 Nov 2008 16:03:21 +0000 (11:03 -0500)]
Added bugid_args option to cmdutil.default_complete.
Now most of the bug-id arguments support Bash completion. Since there
will hopefully be lots of bugs in the database, I decided to filter
the list of available bugs. Currently, we just auto-complete active
bugs for most commands, with the exceptions of open (obviously) and
status (which needs to work on all types of bugs).
W. Trevor King [Thu, 27 Nov 2008 15:16:18 +0000 (10:16 -0500)]
Command completion simplified and working for list, dummies for other cmds.
All the other commands currently use default_complete(), which has no
effect other than catching the --complete option and effectively
aborting execution.
This closes
8e1bbda4-35b6-4579-849d-
117b1596ee99
W. Trevor King [Thu, 27 Nov 2008 14:34:54 +0000 (09:34 -0500)]
Merged --commands and --options into --complete. Simpler that way.
W. Trevor King [Thu, 27 Nov 2008 14:26:52 +0000 (09:26 -0500)]
Basic bash completion is now supported.
I'm still working on a clean implementation though...
W. Trevor King [Thu, 27 Nov 2008 13:06:12 +0000 (08:06 -0500)]
Fixed typo in becommands/comment help string.
W. Trevor King [Thu, 27 Nov 2008 12:35:40 +0000 (07:35 -0500)]
Added --commands option to be to help with bash completion.
A'la ditz
http://gitorious.org/projects/ditz
See also this good intro to bash completion
http://www.debian-administration.org/articles/317
W. Trevor King [Tue, 25 Nov 2008 21:45:42 +0000 (16:45 -0500)]
Added -a/n/m/r to becommands/diff.py.
W. Trevor King [Tue, 25 Nov 2008 21:07:08 +0000 (16:07 -0500)]
added -u/uuids option to becommands/list
W. Trevor King [Tue, 25 Nov 2008 20:47:19 +0000 (15:47 -0500)]
Added libbe/encoding.py to wrap input/output/file access appropriately.
I borrowed most of the code for this.
get_encoding() is from Trac
http://trac.edgewall.org/browser/trunk/trac/util/datefmt.py
format_datetime()
Trac has a BSD license
http://trac.edgewall.org/wiki/TracLicense
I don't know if such a small snippet requires us to "reproduce the
above copyright" or where we need to reproduce it if it is needed.
The stdout/stdin replacement code follows
http://wiki.python.org/moin/ShellRedirectionFails
Because of the stdout replacement, the doctests executes now need an
optional 'test' argument to turn off replacement during the doctests,
otherwise doctest flips out (since it had set up stdout to catch
output, and then we clobbered it's setup).
References:
http://wiki.python.org/moin/Unicode
http://www.amk.ca/python/howto/unicode
http://www.python.org/dev/peps/pep-0100/
I also split libbe/editor.py off from libbe.utility.py and started
explaining the motivation for the BugDir init flags in it's docstring.
W. Trevor King [Tue, 25 Nov 2008 12:12:52 +0000 (07:12 -0500)]
Oops, should be passing libbe.tree.Tree.sort() args to children. Fixed.
W. Trevor King [Tue, 25 Nov 2008 03:03:20 +0000 (22:03 -0500)]
Hack to fixe encoding bug in becommands/show
The situation really calls for a global encoding setting rather than
lots of hardcoded "utf-8"s. See bug
f7ccd916-b5c7-4890-a2e3-
8c8ace17ae3a
W. Trevor King [Tue, 25 Nov 2008 02:20:56 +0000 (21:20 -0500)]
Added becommands/merge to join duplicate bugs.
W. Trevor King [Tue, 25 Nov 2008 02:15:55 +0000 (21:15 -0500)]
Adjusted becommands/set to handle user_id properly.
W. Trevor King [Tue, 25 Nov 2008 01:55:24 +0000 (20:55 -0500)]
Added invalid-value checking to becommands/set.py.
Kindof a cludgy check, but there's currently no simpler way to find
valid entries for a given setting name (that I can think of).
W. Trevor King [Mon, 24 Nov 2008 23:29:16 +0000 (18:29 -0500)]
Merge from W. Trevor King's tree.
W. Trevor King [Mon, 24 Nov 2008 22:02:16 +0000 (17:02 -0500)]
Tweaked usage strings to increase consistency. Also added README.dev.
I tried to stick to CAPS for argument placeholders.