Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Transitioned severity to Command-format, also added Command._get_*() | W. Trevor King | 2009-12-14 | 17 | -194/+208 |
| | | | | | | | | | | | | | | The old .requires_* thing was rediculous. The new ._get_*() callbacks allow the caller to provide a means for getting the expensive structures, which the command can use, or not, as required. This will also make it easier to implement the completion callbacks. The callbacks should probably have matching .set_*() methods, to avoid the current cache tweaking cmd._storage = ... etc. But that can wait for now... | ||||
* | Transitioned remove to Command-format | W. Trevor King | 2009-12-14 | 2 | -42/+53 |
| | |||||
* | Transitioned new to Command-format | W. Trevor King | 2009-12-14 | 2 | -49/+59 |
| | |||||
* | Transitioned html to Command-format | W. Trevor King | 2009-12-14 | 3 | -119/+148 |
| | |||||
* | Transitioned help to Command-format | W. Trevor King | 2009-12-14 | 4 | -43/+57 |
| | |||||
* | Transitioned merge to Command-format | W. Trevor King | 2009-12-14 | 6 | -82/+107 |
| | |||||
* | Transitioned import_xml to Command-format | W. Trevor King | 2009-12-14 | 4 | -185/+205 |
| | |||||
* | Removed email_bugs, to be replaced by assorted storage backends. | W. Trevor King | 2009-12-14 | 1 | -239/+0 |
| | |||||
* | Transitioned due to Command format | W. Trevor King | 2009-12-14 | 2 | -50/+53 |
| | |||||
* | Transitioned depend to Command format | W. Trevor King | 2009-12-14 | 4 | -128/+165 |
| | |||||
* | Transitioned comment to Command format | W. Trevor King | 2009-12-14 | 15 | -255/+356 |
| | |||||
* | Transitioned init to Command format | W. Trevor King | 2009-12-14 | 8 | -90/+110 |
| | |||||
* | Added parse_user() calls to Assign | W. Trevor King | 2009-12-14 | 3 | -31/+48 |
| | |||||
* | Removed `be open` and `be close`. Alias `be status` instead. | W. Trevor King | 2009-12-14 | 2 | -124/+0 |
| | | | | | | | | | | For example, in Bash alias be-open='be status open' If you need to set options, this won't work, but command completion with misc/completion/be.bash should make typing out be status open not too painful ;). | ||||
* | Transitioned assign to Command format | W. Trevor King | 2009-12-14 | 6 | -96/+132 |
| | |||||
* | The VCS storage backends are all mostly working now. | W. Trevor King | 2009-12-13 | 2 | -3/+1 |
| | | | | | | | | | | | | | Running python test.py libbe.storage.vcs yields some EmptyCommit problems, an issue with bzr revision ids, and some trouble with git's remove(), but nothing too critical. On the bright side, now ./be list Detects and uses the bzr backend :). Onwards to moving over the remaining commands... | ||||
* | Moved Arch over to Storage format | W. Trevor King | 2009-12-13 | 2 | -83/+135 |
| | |||||
* | Move Darcs over to Storage format. | W. Trevor King | 2009-12-13 | 2 | -74/+96 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have to work around the same issue as mercurial (hg) issue 618. I can't find a Darcs bug report for this, but it's been fixed somewhere between 1.0.9 and 2.3.1. Example scripts demonstrating the bug: $ darcs=/usr/bin/darcs $ mkdir x; cd x; $darcs init; echo a > b; $darcs add b; \ $darcs record --all --author 'x <a@b.com>' --logfile b; \ echo z>b; $darcs record --all --author 'x <a@b.com>' --logfile b; \ echo g>b; $darcs record --all --author 'x <a@b.com>' --logfile b; \ cd ..; rm -rf x > /dev/null; $darcs --version Finished recording patch 'a' No changes! No changes! 1.0.9 (release) And showing it's been fixed: $ darcs=~/.cabal/bin/darcs $ mkdir x; cd x; $darcs init; echo a > b; $darcs add b; \ $darcs record --all --author 'x <a@b.com>' --logfile b; \ echo z>b; $darcs record --all --author 'x <a@b.com>' --logfile b; \ echo g>b; $darcs record --all --author 'x <a@b.com>' --logfile b; \ cd ..; rm -rf x > /dev/null; $darcs --version Finished recording patch 'a' Finished recording patch 'z' Finished recording patch 'g' 2.3.1 (release) | ||||
* | Check for repo existence before initializing VCS | W. Trevor King | 2009-12-13 | 1 | -2/+4 |
| | |||||
* | Adjust Bzr._vcs_revision_id for 1-indexed revision ids. | W. Trevor King | 2009-12-13 | 1 | -1/+1 |
| | |||||
* | Adjust Hg._vcs_revision_id for 1-indexed revision ids. | W. Trevor King | 2009-12-13 | 1 | -0/+2 |
| | |||||
* | Don't require new revisions on empty commits. | W. Trevor King | 2009-12-13 | 1 | -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 King | 2009-12-13 | 1 | -1/+13 |
| | |||||
* | Don't regexp out the short-revid in Git._vcs_commit() | W. Trevor King | 2009-12-13 | 1 | -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 King | 2009-12-13 | 3 | -6/+13 |
| | |||||
* | Handle non-int args to VCS.revision_id at the VCS level. | W. Trevor King | 2009-12-13 | 2 | -4/+5 |
| | |||||
* | Adjust Hg._vcs_revision_id to bail cleanly on non-int revids | W. Trevor King | 2009-12-13 | 2 | -0/+5 |
| | |||||
* | Use detect rather than catching errors in _vcs_root(). | W. Trevor King | 2009-12-13 | 2 | -56/+11 |
| | |||||
* | .bzr transition. | W. Trevor King | 2009-12-13 | 3 | -37/+58 |
| | |||||
* | More fixes for libbe.storage.vcs.hg + .git transition. | W. Trevor King | 2009-12-13 | 4 | -64/+78 |
| | |||||
* | Fixes to get libbe.storage.vcs.hg passing tests. | W. Trevor King | 2009-12-13 | 1 | -2/+3 |
| | |||||
* | Converted libbe.storage.vcs.hg to new Storage format. | W. Trevor King | 2009-12-13 | 3 | -64/+82 |
| | |||||
* | Rearrange libbe.ui.command_line.CmdOptionParser._add_option() for Python 2.5 | W. Trevor King | 2009-12-13 | 1 | -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 King | 2009-12-13 | 499 | -680/+709 |
| | |||||
* | Moved be to libbe.ui.command_line and transitioned to Command format. | W. Trevor King | 2009-12-12 | 14 | -268/+375 |
| | |||||
* | Use get_input/output_encoding() in libbe.command.base.Command | W. Trevor King | 2009-12-12 | 1 | -2/+3 |
| | |||||
* | Added libbe.ui.util.user for managing user ids. | W. Trevor King | 2009-12-12 | 5 | -57/+99 |
| | |||||
* | Moved command completion from libbe.ui.util to libbe.command.util | W. Trevor King | 2009-12-12 | 4 | -80/+79 |
| | |||||
* | Added libbe.command.base (with Command class) and moved list command to new ↵ | W. Trevor King | 2009-12-12 | 12 | -320/+579 |
| | | | | format. | ||||
* | Moved bugdir, bug, and comment over to new id implementation. | W. Trevor King | 2009-12-10 | 4 | -296/+171 |
| | |||||
* | Rethought libbe.util.id module | W. Trevor King | 2009-12-09 | 1 | -40/+254 |
| | |||||
* | Reworked test.py to handle deeper directory structure | W. Trevor King | 2009-12-08 | 5 | -44/+69 |
| | |||||
* | Moved properties.py and settings_object.py to libbe/storage/util/ | W. Trevor King | 2009-12-08 | 6 | -8/+21 |
| | |||||
* | Transitioned bugdir.py to new storage format. | W. Trevor King | 2009-12-08 | 8 | -625/+618 |
| | |||||
* | Transitioned bug.py to new storage format. | W. Trevor King | 2009-12-08 | 2 | -68/+57 |
| | |||||
* | Transitioned comment.py to new storage format. | W. Trevor King | 2009-12-08 | 3 | -73/+53 |
| | |||||
* | Use .storage.is_read/writeable() rather than .sync_with_disk() in ↵ | W. Trevor King | 2009-12-08 | 1 | -8/+8 |
| | | | | settings_object.py | ||||
* | Use mapfile to only create & parse mapfile strings, not files | W. Trevor King | 2009-12-08 | 1 | -10/+0 |
| | |||||
* | Extended libbe.storage.base for separate read/write control. | W. Trevor King | 2009-12-08 | 1 | -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 King | 2009-12-08 | 1 | -3/+46 |
| |