aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/depend.py
Commit message (Collapse)AuthorAgeFilesLines
* Ran the new update_copyright.pyW. Trevor King2009-11-191-1/+2
|
* Added dependency tree display with "be depend -t DEPTH BUG-ID".W. Trevor King2009-08-011-2/+56
| | | | | | Should probably be a directed graph, since people might not make tree-like dependency graphs. Cyclic graphs seem unlikely, though, so a tree only risks redundant bug entries.
* Added one-way-link repair.W. Trevor King2009-08-011-7/+59
|
* Added two-way dependency links.W. Trevor King2009-08-011-22/+159
| | | | Still need to implement and test one-way-link repair.
* Improved unittest cleanup by adding BugDir.cleanup().W. Trevor King2009-07-311-1/+2
| | | | | | | | Also simple_bug_dir -> SimpleBugDir class, which allows me to add utility.Dir cleanup to SimpleBugDir.cleanup(). Still having a bit of trouble with the becommand.new tests due to bugdir loading though...
* Merged interactive email interfaceW. Trevor King2009-07-291-6/+7
|\
| * Merged assorted changes from be.wtk-rr for BugDir.extra_strings.W. Trevor King2009-07-211-1/+0
| |\ | | | | | | | | | | | | | | | | | | Other highlights: * be show --no-comments * Improved *.sync_with_disk. * Improved be-mbox-to-xml.
| * | Renamed test->manipulate_encodings in becommands.*.execute.W. Trevor King2009-07-161-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reminder from my initial libbe/encoding.py commit: 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). I'm also trying to catch stdout/stderr from be-handle-mail, and I ran into the same problem. It took me a bit to remember exactly what "test" was supposed to do, so I thought I'd make the argument name more specific. If you need other changes when running in "test" mode, you'll have to add other kwargs.
* | | Added clean messages on bug_from_shortname failure.W. Trevor King2009-07-291-2/+2
| |/ |/| | | | | So user's don't get confused.
* | Cleaned up saving/sync_with_disk.W. Trevor King2009-07-211-1/+0
|/ | | | | | | | | | | | | | | | | | | | | | Got rid of a whole bunch of redundant .save() calls when sync_with_disk==True. Fixed up the "File-system access" portion of the BugDir docstring so we can all remember how things are supposed to work ;). Note that some .save() calls are still required. For example in becommands/merge.py, the copied comments have their .bug changed, but that is not a versioned property, so it doesn't trigger an automatic save, and we have to force the .save() by hand. libbe.rcs.RCS.mkdir() is now recursive by default, but you can set check_parents==False if you want it to fail in the case of missing parents. Because of the recursion, we removed the .update() call on preexisting directories, since there will be at least one of these occurrences for every .mkdir(check_parents=True) call, and I don't know of any VCS that actually needs them... Also stripped trailing whitespace from some files...
* Updated GPLv2 to current GPLv2.W. Trevor King2009-07-141-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fixes Ben's bug 00f26f04-9202-4288-8744-b29abc2342d6. I also tweaked update_copyright.sh to make possible future copyright-blurb revision easier. The new algorithm is greedier, overwriting _all_ consecutive comments after a '^# Copyright' line, so do # Copyright # GPL ... GPL ... GPL # Your comment here... not # Copyright # GPL ... GPL ... GPL # # Your comment here... Without the blank line, your comment would get overwritten by the next run of update_copyright.sh. Note that catmutt is ignored by update_copyright.sh because Moritz Barsnick has only licensed his grepm code under the GPLv2 (not GPLv>=2). See the initial catmutt commit for details.
* Add "--show-status" flag to "be depend"W. Trevor King2009-06-301-1/+13
|
* Updated help strings, man page, and completionsW. Trevor King2009-06-251-1/+1
|
* Added `be depend'.W. Trevor King2009-06-251-0/+83
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.