aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
Commit message (Collapse)AuthorAgeFilesLines
* implemented the detail file and fixed the list of active bugGianluca Montecchi2009-07-212-30/+105
|
* Created the indexGianluca Montecchi2009-07-192-75/+72
|
* Changed the index layoutgianluca2009-07-101-160/+24
|
* Added the last 10 bug open listgianluca2009-07-092-34/+81
|
* Initial implementation of the html repository export.gianluca2009-07-042-0/+502
| | | | Creation of the index file
* "be init [ROOTDIR]" -> "be init [--root ROOTDIR]"W. Trevor King2009-07-011-15/+16
| | | | Following Ben's Wed, 01 Jul 2009 11:31:51 +1000 suggestion.
* Updated copyright blurbs and AUTHORS and included script for future updatesW. Trevor King2009-07-0116-16/+51
|
* "be set-root" changed to "be init"W. Trevor King2009-06-301-2/+2
| | | | | | | | | On the advice of Martin F Krafft <madduck@debian.org> as posted in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477125 on Fri, 12 Jun 2009 17:03:02 +0200
* "be comment" now handles the default options.content_type.W. Trevor King2009-06-301-1/+2
| | | | | Previously it choked when options.content_type == None. I'm not sure how that made it past test_usage.sh...
* Add "--show-status" flag to "be depend"W. Trevor King2009-06-301-1/+13
|
* Added ability to handle non text/* MIME types.W. Trevor King2009-06-261-3/+7
| | | | | | | | | | | | | | | | The main problem was the encoding/decoding that was happening to _all_ input/output. Now many I/O activities have a `binary' option to disable any encoding/decoding. The `binary' flag is set whenever the comment content-type is not a text/* type. In order to print valid XML (and make life easy on xml/be-xml-to-mbox), non text/* types are printed out as base64-encoded MIME messages, so be list --xml | be-xml-to-mbox | catmutt works as you'd expect. With the standard (non-XML) output from `be show', we just print a message telling the user that we can't reasonably display the MIME type and that they should use the XML output if they want to see it.
* Updated help strings, man page, and completionsW. Trevor King2009-06-252-2/+2
|
* Remove blank line from tag's output if no tags existW. Trevor King2009-06-251-1/+2
|
* Added regexp matching to `be list --extra-strings'W. Trevor King2009-06-251-4/+8
|
* Merged extra-strings branch, adding be tag/depend.W. Trevor King2009-06-253-4/+227
|\
| * Added `be depend'.W. Trevor King2009-06-252-20/+97
| | | | | | | | | | | | | | | | This closes bug 7ec2c071-9630-42b0-b08a-9854616f9144. BE is now bug free ;). At least until the next commit :p. Writing depend.py turned up a few style points in tag.py which I also fixed.
| * Added `be tag --list' to list all tags.W. Trevor King2009-06-251-5/+21
| | | | | | | | | | Loading all the bugs for the list search had the side effect of updating all the bug values files to the new YAML format.
| * Added -e/--extra-strings option to `be list`W. Trevor King2009-06-251-4/+12
| | | | | | | | | | Now you can limit your list to bugs matching certain extra strings, e.g. "TAG:working".
| * tag --remove now returns bug.settings["extra_strings"] to EMPTY.W. Trevor King2009-06-251-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extra_strings returns to a defaulting property from a cached/generator property, with the help of the new, mutable defaults. Lots of deepcopies avoid mutable default uncertainty too ;). And copy.deepcopy([]) should be pretty cheap. tag --remove had previously left settings["extra_strings"] as [], which polluted the bug's values file. Now the improved defaulting_property notices a return to the default [], and sets the internally stored value to EMPTY. I struggled with creating a more intuitive way to notice changes to extra_strings than the tmp = bug.extra_strings <work on tmp> bug.extra_strings = tmp but didn't have any luck. The problem seems to be that if you only hand out copies of your default, you don't have any pointers to what you handed out to check for changes. On the other hand, if you hand out your original default, any external changes will _change_ your original default. I suppose you could only hand out copies, but keep a list of all copies handed out, but that sounds like a disaster. Reassigning is easy enough.
| * Added becommands/tag.pyW. Trevor King2009-06-231-0/+118
| | | | | | | | | | Oops, I forgot to add becommands/tag.py with my last commit. Here it is now, with the added ability to remove tags.
* | `be target list` -> `be target --list` to standardize syntax.W. Trevor King2009-06-241-3/+13
| | | | | | | | | | | | And avoid confusion with bugs who's shorname is `list'? ;) Now the usage info and help string also reflect the new method.
* | Add ability to list all current targets.Gianluca Montecchi2009-06-241-0/+7
|/ | | | | | | | | | | | | | | | | | From his Wed, 24 Jun 2009 23:08:25 +0200 email to the list: Hello As I noted some time ago, there is not a way to list all the present targets in the current repository. At the time, Chris send me a patch to have this feature, but it still not merged in the last revision (314). So this is a patch for this feature to apply against revision 314. It is basically a port of the old Chris's patch. bye Gianluca
* Added `be list --sort *` for user-selectable sorting.W. Trevor King2009-06-223-8/+25
| | | | | | | | | | | 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.
* Merged be-xml-to-mboxW. Trevor King2009-06-221-4/+1
|\
| * Escape XML strings.W. Trevor King2009-06-221-6/+3
| | | | | | | | | | | | Since <creator>John Doe <jdoe@example.com></creator> is not valid XML.
* | Replaced some doctest output with ellipses.W. Trevor King2009-06-212-24/+24
|/ | | | Following Chris' advice. Don't know what I was thinking before ;).
* Added --xml option to becommands/list.pyW. Trevor King2009-06-211-6/+13
|
* Added comments-from-stdin, so we can add tracebacks, e.g. withW. Trevor King2009-06-191-7/+14
| | | $ be list --invalid-option | be comment <bug-id> -
* Merged Thomas Habets 2009-01-07 XML output for "be show".W. Trevor King2009-06-191-4/+22
|\ | | | | | | | | | | | | | | | | | | | | | | I rewrote a few of his routines, e.g. generalizing Comment.string_thread to run a caller-specified method avoided the need for some duplicate code in Comment.xml_thread. There was also a reasonable reorganization of libbe.settings_object.versioned_property because the <in_reply_to> field of the Comment.xml output was giving me `-1' (= old settings_object.EMPTY) instead of None, even after I had set comm.in_reply_to to None. The rewritten versioned_property avoids the ambiguity of UNPRIMED vs EMPTY, and avoids the stupididy of my using EMPTY=-1 ;).
| * XML output for "be show"Thomas Habets2009-01-071-2/+7
| |
* | Added per-tree default assignee option.W. Trevor King2008-12-041-0/+6
| | | | | | | | | | The new setting is currently only used when creating new bugs with becommand/new.
* | becommands/severity and status now handle --complete appropriately.W. Trevor King2008-12-042-7/+51
| | | | | | | | | | | | | | | | | | | | 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
* | Per-tree status levels working.W. Trevor King2008-12-042-13/+16
| |
* | Adjusted becommands/list.py to use current bug severities levels.W. Trevor King2008-12-041-21/+19
| |
* | Per-tree settings now passed into bug module.W. Trevor King2008-12-041-12/+13
| | | | | | | | | | | | | | | | becommands/severity gets the configured settings appropriately. Todo: adjust setting-validation to compare against the current values. setup becommands/severity to --complete severities.
* | Added per-tree configurable severities.W. Trevor King2008-12-043-4/+7
| | | | | | | | | | | | | | 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...
* | Added support for bug reporter field.W. Trevor King2008-12-021-0/+6
| | | | | | | | Closes e2f6514c-5f9f-4734-a537-daf3fbe7e9a0
* | Added auto-completion for becommands/set property names.W. Trevor King2008-12-021-1/+13
| |
* | Converted Comment to the settings_object system.W. Trevor King2008-12-021-6/+6
| |
* | Bug moved to the settings_object system.W. Trevor King2008-12-023-7/+7
| |
* | Added decorator-style properties to bugdir. Created settings_object module.W. Trevor King2008-12-021-11/+20
| | | | | | | | | | | | | | | | 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 ;).
* | Optimized bug loading from becommands/comment with partial-uuid matching.W. Trevor King2008-11-271-2/+10
| | | | | | | | The code is a bit uglier now, but it's a good deal faster :).
* | Added becommands/comment completion.W. Trevor King2008-11-271-1/+26
| |
* | Completion support added to becommands/helpW. Trevor King2008-11-271-1/+10
| |
* | Added bugid_args option to cmdutil.default_complete.W. Trevor King2008-11-279-9/+20
| | | | | | | | | | | | | | | | 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).
* | Command completion simplified and working for list, dummies for other cmds.W. Trevor King2008-11-2716-25/+58
| | | | | | | | | | | | | | | | 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
* | Merged --commands and --options into --complete. Simpler that way.W. Trevor King2008-11-271-2/+2
| |
* | Basic bash completion is now supported.W. Trevor King2008-11-271-1/+13
| | | | | | | | I'm still working on a clean implementation though...
* | Fixed typo in becommands/comment help string.W. Trevor King2008-11-271-1/+1
| |
* | Added -a/n/m/r to becommands/diff.py.W. Trevor King2008-11-252-4/+34
| |