aboutsummaryrefslogtreecommitdiffstats
path: root/.be/bugs
Commit message (Collapse)AuthorAgeFilesLines
* Added `be list --sort *` for user-selectable sorting.W. Trevor King2009-06-2225-95/+222
| | | | | | | | | | | Also added libbe.bug.cmp_last_modified, which handles part of 9ce2f015-8ea0-43a5-a03d-fc36f6d202fe. To do better we could extend the RCS framework. I also transcribed a few emails from the be-devel list onto their relavent bugs and closed a few bugs. Finally, I removed some left over InvalidValue cruft.
* Added comments-from-stdin, so we can add tracebacks, e.g. withW. Trevor King2009-06-193-26/+17
| | | $ be list --invalid-option | be comment <bug-id> -
* Closed search bugW. Trevor King2008-12-044-42/+19
| | | | | | | | 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.
* Added per-tree default assignee option.W. Trevor King2008-12-046-47/+29
| | | | | The new setting is currently only used when creating new bugs with becommand/new.
* Closed a few old bugs that seem outdated/dealt with.W. Trevor King2008-12-0411-115/+54
|
* Fixed missing directory error when merging comments onto a bare bug.W. Trevor King2008-12-0410-22/+44
| | | | | | | | | 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.
* Closed 4a4609c8-1882-47de-9d30-fee410b8a802W. Trevor King2008-12-043-2/+11
| | | | Per-tree severity levels working.
* bug severity verification now works with per-tree severities.W. Trevor King2008-12-041-26/+5
| | | | | | | | | | 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.
* Cleaned up some older bugs.W. Trevor King2008-12-0417-3/+177
|
* Added support for bug reporter field.W. Trevor King2008-12-021-1/+1
| | | | Closes e2f6514c-5f9f-4734-a537-daf3fbe7e9a0
* Command completion simplified and working for list, dummies for other cmds.W. Trevor King2008-11-271-1/+1
| | | | | | | | 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
* Basic bash completion is now supported.W. Trevor King2008-11-275-0/+93
| | | | I'm still working on a clean implementation though...
* Added libbe/encoding.py to wrap input/output/file access appropriately.W. Trevor King2008-11-253-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Hack to fixe encoding bug in becommands/showW. Trevor King2008-11-2414-1/+219
| | | | | | The situation really calls for a global encoding setting rather than lots of hardcoded "utf-8"s. See bug f7ccd916-b5c7-4890-a2e3-8c8ace17ae3a
* Marked c45e5ece-63e3-4fd2-b33f-0bfd06820cf4 as fixed.W. Trevor King2008-11-243-1/+23
| | | | It's been fixed for a while
* Removed auto-wrapping from comment.Comment.string().W. Trevor King2008-11-248-2/+68
| | | | | | | | | | It makes tracebacks almost illegible. I doubt markup/markdown systax or auto-formatting is really useful, since bugs-reports are ususally a short comment and a traceback. I also closed a4d38ba7-ec28-4096-a4f3-eb8c9790ffb2 and 7bfc591e-584a-476e-8e11-b548f1afcaa6, which have probably been fixed for a long time...
* Go back to lazy bug loading to get execution speed back up.W. Trevor King2008-11-231-0/+35
| | | | Fixes bug b3c6da51-3a30-42c9-8c75-587c7a1705c5
* Improved user-id saving/loading/caching & save user-id into duplicate bugdirs.W. Trevor King2008-11-232-2/+2
| | | | | | Fixes the duplicate bugs a403de79-8f39-41f2-b9ec-15053b175ee2 c894f10f-197d-4b22-9c5b-19f394df40d4
* `be show` now supports showing multiple bugs with a single call.W. Trevor King2008-11-232-0/+22
|
* Oops, dba25cfd-aa15-457c-903a-b53ecb5a3b2c was fixed with commit 253.W. Trevor King2008-11-231-1/+1
|
* Oops, dac91856-cb6a-4f69-8c03-38ff0b29aab2 was fixed with commit 242.W. Trevor King2008-11-231-1/+1
|
* Explicit rcs.cleanup() in bugdir test.W. Trevor King2008-11-223-0/+73
| | | | | | | | | | | | | Don't use del(rcs), because if there was an error, there is still a reference to rcs in the traceback, so it is never cleaned up. This can leave the external archive cluttering up your Arch install if you're using the Arch backend. See the __del__ documentation http://python.active-venture.com/ref/customization.html#l2h-175 for details. Also fixed some out-of-date method names in libbe.diff
* Oops, bug 8e83da06-26f1-4763-a972-dae7e7062233 was fixed by commit 254. W. Trevor King2008-11-221-1/+1
|
* Created and fixed bug 496edad5-1484-413a-bc68-4b01274a65eb.W. Trevor King2008-11-223-0/+85
| | | | | | | | I figured out why Arch was complaining. For non-Arch users, file system access has been tweaked a bit see the BugDir doc string for details. Also, you should now set BugDir.rcs instead of .rcs_name. .rcs_name automatically tracks changes in .rcs (the reverse of the previous situation), so read from whichever you like.
* Another major rewrite. Now BugDir, Bug, and Comment are more distinct.W. Trevor King2008-11-2116-1/+365
| | | | | | | | | | | | | | | I pushed a lot of the little helper functions into the main classes, which makes it easier for me to keep track of what's going on. I'm now at the point where I can run through `python test.py` with each of the backends (by changing the search order in rcs.py _get_matching_rcs) without any unexpected errors for each backend (except Arch). I can also run `test_usage.sh` without non-Arch errors either. However, don't consider this a stable commit yet. The bzr backend is *really*slow*, and the other's aren't blazingly fast either. I think I'm rewriting the entire database every time I save it :p. Still, it passes the checks. and I don't like it when zounds of changes build up.
* Updated misc/gui/wxbe with wxPython -> wx changes.W. Trevor King2008-11-193-1/+27
| | | | | | | | | | | | I'd like to be able to sort the bugs by clicking on the various column titles, but I don't know enough about wxPython to pull it off. After wrestling with it for a bit, I realized that I'll only be using the command line interface anyway, and other people can use the web interface. Probably a common feeling, which would explain why the GUIs feel so abandoned ;). At any rate, I think the effects of turning the RCSs into classes have been passed through and stabilized, so my churning should decrease...
* Added BE-Web repo-access warning to Bugs-Everywhere-Web/README.txt.W. Trevor King2008-11-191-1/+1
|
* One of my tests left my bzr name as John Doe. Seems to be fixed now.W. Trevor King2008-11-181-1/+1
| | | | | | | | | | | I checked with $ python test.py ... $ ./test_usage.py ... $ hg showconfig | grep ui.username && bzr whoami $ git config user.name && git config user.email && tla my-id
* Major rewrite of RCS backends. RCS now represented as a class.W. Trevor King2008-11-187-2/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lots of changes and just one commit. This started with bug dac91856-cb6a-4f69-8c03-38ff0b29aab2, when I noticed that new bugs were not being added appropriately with the Git backend. I'd been working with Git trouble before with bug 0cad2ac6-76ef-4a88-abdf-b2e02de76f5c, and decided things would be better off if I just scrapped the current RCS architecture and went to a more object oriented setup. So I did. It's not clear how to add support for an RCS backend: * Create a new module that - defines an inheritor of rsc.RCS, overriding the _rcs_*() methods - provide a new() function for instantizating the new class - defines an inheritor of rcs.RCStestCase, overiding the Class attribute - defines 'suite' a unittest.TestSuite testing the module * Add your new module to the rest in rcs._get_matching_rcs() * Add your new module to the rest in libbe/tests.py Although I'm not sure libbe/tests.py is still usefull. The new framework clears out a bunch of hackery that used to be involved with supporting becommands/diff.py. There's still room for progress though. While implementing the new verision, I moved the testing framework over from doctest to a doctest/unittest combination. Longer tests that don't demonstrate a function's usage should be moved to unittests at the end of the module, since unittest has better support for setup/teardown, etc. The new framework also revealed some underimplented backends, most notably arch. These backends have now been fixed. I also tweaked the test_usage.sh script to run through all the backends if it is called with no arguments. The fix for the dac bug turned out to be an unflushed file write :p.
* Fixed another bug in git.strip_git() (bug 0cad).W. Trevor King2008-11-162-0/+31
| | | | | Also added git mode to test_usage.sh. I'll go through and add modes for the other RCSs...
* Merged in my git.py changed fixing Hubert Chathi's git set-root bug (0cad).W. Trevor King2008-11-169-0/+206
|\
| * Oops... *Now* I've fixed 0cadW. Trevor King2008-11-132-0/+44
| |
| * Fixed 0cad bug with smaller fix.W. Trevor King2008-11-133-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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...
| * Added Hubert Chathi's git set-root bug report.W. Trevor King2008-11-135-0/+140
| | | | | | | | | | | | | | | | | | | | | | 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
| * Updated imports to handle Python 2.5 ElementTree module.W. Trevor King2008-11-133-0/+107
| | | | | | | | Opened, fixed, and closed as bug 31c.
| * Created bug c4e. Wrote a simple (an hopefully correct) be/test.py docstring.W. Trevor King2008-11-135-0/+87
| |
| * Created late bug report for Popen OSError catchesW. Trevor King2008-11-133-0/+59
| |
* | Removed dud bug 11e. Moved several bugs from 'closed' to 'fixed'.W. Trevor King2008-11-1612-46/+11
| |
* | Removed the empty bugs 14c and 38b. Fixed bug.string() call in libbe/diff.py.W. Trevor King2008-11-162-56/+0
| |
* | Added 'remove' command to remove bugs. Use __desc__ for command help.W. Trevor King2008-11-162-0/+22
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Split Bug and Comment class out to bug.py from bugdir.pyW. Trevor King2008-11-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Closed bug 210 (target options not parsed).W. Trevor King2008-11-143-1/+23
| | | | | | | | I imagine this has been fixed for a while...
* | * use python2.4/2.5 compatible import of ElementTreeW. Trevor King2008-11-1311-0/+253
|/ | | | | * catch Popen() calls to missing VCS binaries * test.py should only test installed backends
* Apply patches from j@oil21.org, Ben Finney, Jelmer Vernooij.Chris Ball2008-05-169-0/+196
|\
| * Bugs-Everywhere-Web works with python2.5 do not hardcode python2.4j^2008-04-143-0/+59
|/
* Add support for VISUALAaron Bentley2007-07-161-1/+1
|
* Clarify VISUAL meaningAaron Bentley2007-07-162-0/+30
|
* New bug.Jelmer Vernooij2007-07-153-0/+58
|
* New bugsAaron Bentley2006-10-176-0/+127
|
* Note the dependencies/reverse-dependencies debateAaron Bentley2006-04-172-0/+26
|