aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
Commit message (Collapse)AuthorAgeFilesLines
* Adjust Bzr._vcs_revision_id for 1-indexed revision ids.W. Trevor King2009-12-131-1/+1
|
* Adjust Hg._vcs_revision_id for 1-indexed revision ids.W. Trevor King2009-12-131-0/+2
|
* Don't require new revisions on empty commits.W. Trevor King2009-12-131-4/+7
| | | | | | | | | | | | | | | | | | | For example, hg can't: $ mkdir x; cd x; x$ hg init; x$ echo a> b; hg add b; x$ hg commit -m 'r1'; x$ hg commit -m 'r2'; nothing changed x$ hg log; changeset: 0:e30558c36fca tag: tip user: W. Trevor King <wking@drexel.edu> date: Sun Dec 13 19:48:47 2009 -0500 summary: hi x$ cd ..; rm -rf x We shouldn't need this functionality anyway ;).
* Work around mercurial (hg) issue 618.W. Trevor King2009-12-131-1/+13
|
* Don't regexp out the short-revid in Git._vcs_commit()W. Trevor King2009-12-131-8/+2
| | | | | | | | | | | The output version strings change: Version 1.5.4.3: Created initial commit 217efa7: MESSAGE Created commit acb3066: MESSAGE Version 1.6.4.4: [master (root-commit) c5b48cf] MESSAGE [master 66a48c1] MESSAGE Instead, get the full revid, and look for its beginning in the output.
* Fix Git._vcs_revision_id() offset bug.W. Trevor King2009-12-133-6/+13
|
* Handle non-int args to VCS.revision_id at the VCS level.W. Trevor King2009-12-132-4/+5
|
* Adjust Hg._vcs_revision_id to bail cleanly on non-int revidsW. Trevor King2009-12-132-0/+5
|
* Use detect rather than catching errors in _vcs_root().W. Trevor King2009-12-132-56/+11
|
* .bzr transition.W. Trevor King2009-12-133-37/+58
|
* More fixes for libbe.storage.vcs.hg + .git transition.W. Trevor King2009-12-134-64/+78
|
* Fixes to get libbe.storage.vcs.hg passing tests.W. Trevor King2009-12-131-2/+3
|
* Converted libbe.storage.vcs.hg to new Storage format.W. Trevor King2009-12-133-64/+82
|
* Rearrange libbe.ui.command_line.CmdOptionParser._add_option() for Python 2.5W. Trevor King2009-12-131-14/+15
| | | | | | | | | | | | | | Python 2.6 doesn't mind, but 2.5 doesn't like kwargs after a * expansion: $ ./be list Traceback (most recent call last): File "./be", line 5, in <module> import libbe.ui.command_line File "/home/wking/src/fun/be/be.restructure/libbe/ui/command_line.py", line 63 *opt_strings, action='callback', dest=dest, ^ SyntaxError: invalid syntax
* Converted libbe.storage.vcs.base to new Storage format.W. Trevor King2009-12-1313-678/+704
|
* Moved be to libbe.ui.command_line and transitioned to Command format.W. Trevor King2009-12-1212-167/+370
|
* Use get_input/output_encoding() in libbe.command.base.CommandW. Trevor King2009-12-121-2/+3
|
* Added libbe.ui.util.user for managing user ids.W. Trevor King2009-12-125-57/+99
|
* Moved command completion from libbe.ui.util to libbe.command.utilW. Trevor King2009-12-124-80/+79
|
* Added libbe.command.base (with Command class) and moved list command to new ↵W. Trevor King2009-12-1210-316/+568
| | | | format.
* Moved bugdir, bug, and comment over to new id implementation.W. Trevor King2009-12-104-296/+171
|
* Rethought libbe.util.id moduleW. Trevor King2009-12-091-40/+254
|
* Reworked test.py to handle deeper directory structureW. Trevor King2009-12-084-4/+4
|
* Moved properties.py and settings_object.py to libbe/storage/util/W. Trevor King2009-12-086-8/+21
|
* Transitioned bugdir.py to new storage format.W. Trevor King2009-12-088-625/+618
|
* Transitioned bug.py to new storage format.W. Trevor King2009-12-082-68/+57
|
* Transitioned comment.py to new storage format.W. Trevor King2009-12-083-73/+53
|
* Use .storage.is_read/writeable() rather than .sync_with_disk() in ↵W. Trevor King2009-12-081-8/+8
| | | | settings_object.py
* Use mapfile to only create & parse mapfile strings, not filesW. Trevor King2009-12-081-10/+0
|
* Extended libbe.storage.base for separate read/write control.W. Trevor King2009-12-081-36/+94
| | | | | | | | | | | | | | Rather than just having .read_only to set write permissions and assuming that read was always legal. We also added user and backend control of both readable and writeable: do you want to read/write? and can you read/write? Specialized NotSupported into NotWriteable and NotReadable. Added automatic unicode encoding on .set(), and decode option on .get().
* Extend libbe.util.id to handle id (path) creation.W. Trevor King2009-12-081-3/+46
|
* Added libbe.storage.base and test suite.W. Trevor King2009-12-083-0/+709
|
* Initial directory restructuring to clarify dependenciesW. Trevor King2009-12-0744-0/+4302
|
* Use 'auto' for run_pager default rather than NoneW. Trevor King2009-12-071-1/+1
|
* Update libbe.pager copyrightW. Trevor King2009-12-071-1/+15
|
* Added libbe.pagerW. Trevor King2009-12-071-0/+51
|
* be --dir DIR COMMAND now roots the bugdir in DIR without changing directories.W. Trevor King2009-12-061-2/+5
| | | | | | | | | | | | | | | | | Previously, for the directory structure A |-- X `-- Y You could do something like A$ be --dir X diff --dir ../Y Now it's A$ be --dir X diff --dir Y The --root option to `be init` has been removed as redundant. Replace calls like be init --root DIR with be --dir DIR init
* Moved becommands.depend._allowed_values() to cmdutil.select_values()W. Trevor King2009-12-051-0/+53
| | | | | | | | | | I like this code, and I want to use it for other places, e.g. `be list`. Also renamed depend options --limit-severity and --limit-status to --severity and --status
* Remove some more Bug.target references from libbe/bug.pyW. Trevor King2009-12-051-6/+2
|
* Added "Bugs Everywhere Directory v1.3" which transitions to bug-type targets.W. Trevor King2009-12-051-2/+58
| | | | | | | | | See bug 22b6f620-d2f7-42a5-a02e-145733a4e366 for the motivation. This upgrade will replace all "target" settings. The new BugDir target setting will be the uuid of the appropriate target. The Bug target setting is removed, replaced by an extra_strings BLOCKS tag blocking the appropriate target. New target bugs are created on the fly as required.
* This addresses the following portion of 22b:7:W. Trevor King2009-12-051-4/+1
| | | | | | | | | | | | | * Targeting normal bugs With "be depend". I think we should remove the "target" field from bugs, and move target dependencies over into the "be depend" framework. * be target list Would become "be list --severity target". A target "severity" would keep target bugs distinct from other bug/issue types.
* Fix libbe.diff.Diff._changed_bugs() to handle subscriptions by bug shortname.W. Trevor King2009-12-051-3/+8
|
* Adjust libbe.diff.DiffTree to fix failed doctest.W. Trevor King2009-12-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | ====================================================================== FAIL: Doctest: libbe.diff.DiffTree ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.5/doctest.py", line 2128, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for libbe.diff.DiffTree File "/home/wking/src/fun/be/be.diff-subscribe/libbe/diff.py", line 136, in DiffTree ---------------------------------------------------------------------- File "/home/wking/src/fun/be/be.diff-subscribe/libbe/diff.py", line 172, in libbe.diff.DiffTree Failed example: print bugdir.report_string() Exception raised: Traceback (most recent call last): File "/usr/lib/python2.5/doctest.py", line 1228, in __run compileflags, 1) in test.globs File "<doctest libbe.diff.DiffTree[18]>", line 1, in <module> print bugdir.report_string() File "/home/wking/src/fun/be/be.diff-subscribe/libbe/diff.py", line 213, in report_string return "\n".join(self.report()) TypeError
* Use new libbe.diff.Diff.report_tree(subscriptions) in be-handle-mail.W. Trevor King2009-12-051-4/+9
| | | | | | | | | | | | | This makes Message.subscriber_emails() much cleaner. Also fix libbe.diff.Diff._sub_report() to handle missing 'bugdir/settings'. Added libbe.diff.SubscriptionType.__cmp__ so that SubscriptionType('all') == SubscriptionType('all') This is important when comparing the types returned by becommands.subscribe.get_bugdir_subscribers() with the libbe.diff.*_TYPE_* types.
* Added libbe.diff.Diff.full_report() for speed with several subscription lists.W. Trevor King2009-12-051-2/+67
| | | | | | | | | | Now report_tree() returns an appropriately .masked version of the cached full report, which is much faster than recomputing a new diff tree from scratch. Also fixed bug in libbe.diff.DiffTree.report() where .requires_children=True was exposing nodes with children, when it should (and now does) only expose nodes with _unmasked_ children.
* Created diff.subscriptions_from_string()W. Trevor King2009-12-051-0/+23
|
* Added BUGDIR_TYPE_MOD and BUGDIR_TYPE_REM to libbe.diff.W. Trevor King2009-12-051-8/+19
| | | | | | | | | Now you can subscribe to only hear about modified bugs or only about removed bugs. Kindof odd for a general subscription, but possibly useful as an argument to the upcoming `be diff --subscribe`, e.g. be diff --subscribe DIR:mod which would replace the old be diff --modified
* Adjusted diff.Subscription.__init__() to guess type_root if required.W. Trevor King2009-12-051-2/+7
|
* Added subscriptions option to diff.Diff.report_tree().W. Trevor King2009-12-051-20/+77
| | | | | | Also added diff.BUGDIR_ID to avoid lots of magic 'DIR' definitions, and added diff.Subscription class to make the old (id, type) tuples a bit more elegant.
* Moved subscription types from becommands/subscribe.py to libbe/diff.py.W. Trevor King2009-12-051-0/+46
|