aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged be.faster-diff branch, fixing #bea/ed5#.W. Trevor King2010-01-1914-198/+769
|\
| * Marked #bea/ed5# as fixedW. Trevor King2010-01-191-1/+1
| |
| * Adjust command.serve.Serve doctest to clarify remaining test failures.W. Trevor King2010-01-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current test output $ python test.py libbe ... FAILED (failures=1, errors=3) All failures and errors due to unimplemented functionality Errors: * Darcs._vcs_isdir() not implemented (for Darcs <= 2.3.1) * Arch._vcs_path() not implemented * Arch._vcs_changed() not implemented Failures: * command.serve.Serve tests not implemented
| * Better error messages in VCS._getW. Trevor King2010-01-191-3/+5
| |
| * Work around the extra output of `tla file-find` to get path.W. Trevor King2010-01-191-1/+2
| | | | | | | | | | | | | | | | Example output: * build pristine tree for ...--patch-1 * from import revision: ...--base-0 * patching for revision: ...--patch-1 ./{arch}/++pristine-trees/...--patch-1/./.be/unlikely id
| * Generate string properly in libbe.util.subproc.CommandErrorW. Trevor King2010-01-191-1/+1
| |
| * Work around Mercurial issue618 in Arch backend.W. Trevor King2010-01-191-4/+20
| | | | | | | | Also add some NotImplementedErrors for clearer diagnostics.
| * Added changed() support for DarcsW. Trevor King2010-01-181-17/+110
| |
| * Fix modified ID reference in libbe.diff.Diff._changed_bugsW. Trevor King2010-01-181-1/+1
| |
| * Add .changed support to HTTP storage backend.W. Trevor King2010-01-182-1/+29
| | | | | | | | Also work around urlparse.parse_qs location in Python <= 2.5.
| * Add ancestors support to HTTP storageW. Trevor King2010-01-182-1/+25
| |
| * Add .changed() support to HgW. Trevor King2010-01-181-0/+71
| |
| * Fix VCS doctest for +revision InvalidID error messageW. Trevor King2010-01-181-1/+1
| |
| * Add class name to StorageTestCase failure reportingW. Trevor King2010-01-181-0/+17
| |
| * Use RevisionedBugDir, not .duplicate_bugdir() in libbe.command.diffW. Trevor King2010-01-181-3/+4
| |
| * Optimized libbe.diff.Diff._changed when old bugdir is a RevisionedBugDirW. Trevor King2010-01-182-68/+68
| |
| * Added VCS._u_find_id_from_manifest for faster id->path calculationW. Trevor King2010-01-184-26/+44
| |
| * Adjust VCSTestCase method docstrings for unittest.W. Trevor King2010-01-181-6/+3
| |
| * Added VCS._ancestorsW. Trevor King2010-01-181-0/+21
| |
| * Added Storage.ancestorsW. Trevor King2010-01-181-47/+77
| |
| * Moved BugDir.duplicate_bugdir to RevisionedBugDir classW. Trevor King2010-01-181-11/+18
| |
| * Ignore paths with _u_path_to_id errors in VCS.changedW. Trevor King2010-01-181-5/+12
| |
| * Add .changed() support to BzrW. Trevor King2010-01-181-1/+83
| |
| * Add .changed() support to GitW. Trevor King2010-01-181-0/+81
| |
| * Add .changed() support to VCSW. Trevor King2010-01-181-0/+15
| |
| * Too much trouble to handle Git's lack of dir versioning in ↵W. Trevor King2010-01-181-1/+1
| | | | | | | | test_get_previous_children
| * Add VersionedStorageTestCases in make_versioned_storage_testcase_subclassesW. Trevor King2010-01-181-2/+5
| |
| * Added libbe.storage.base.VersionedStorage.changed() and a test.W. Trevor King2010-01-151-5/+59
|/ | | | | Also converted libbe.storage.base.VersionedStorage revision ids from integers to strings.
* Update setup.py to install submodules.W. Trevor King2010-01-151-1/+8
|
* Merged be.roadmap, adding dev issues #bea/ed5#, #bea/814#, and #bea/343#.W. Trevor King2010-01-0318-5/+288
|\ | | | | | | Also changed `be list --uuids` to `be list --ids`
| * Added #bea/343# : Attach tests to bugsW. Trevor King2010-01-033-0/+30
| |
| * Changed `be list --uuids` to `be list --ids`W. Trevor King2010-01-032-5/+9
| |
| * Added doc/distributed_bugtracking with some simple use-case notesW. Trevor King2010-01-031-0/+46
| |
| * Add #bea/814# : Add Roundup-like flexibilityW. Trevor King2010-01-035-0/+111
| |
| * Add #bea/ed5# : Slow and ugly diff implementationW. Trevor King2010-01-037-0/+92
|/
* Merged be.html-storageW. Trevor King2010-01-018-9/+659
|\ | | | | | | | | | | | | | | Added HTTP storage backend and server Serve a local repo on http://localhost:8000 be --repo REPO serve Then connect from other be calls, for example be --repo http://localhost:8000 list
| * Updated NEWSW. Trevor King2010-01-011-0/+7
| |
| * Fixed update_copyright.py's subproc import and updated copyrightsW. Trevor King2010-01-013-6/+3
| |
| * Serve.handle_*() now raise _HandlerError so the .do_*() methods know.W. Trevor King2010-01-011-8/+17
| | | | | | | | | | Before there wasn't a good way to tell if the handler had experienced an error, or just didn't want to return anything.
| * Fixed commit handling in commands.serve and storage.httpW. Trevor King2010-01-012-5/+9
| |
| * Use more kwargs in libbe.command.serveW. Trevor King2010-01-012-12/+11
| | | | | | | | | | | | | | | | kwargs make things easier to maintain. Also make sure the .handle_*() methods return two items (content,ctype) even when both are None.
| * Improved POST and error handling in `be serve`W. Trevor King2010-01-011-22/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | POST handling: Drop the cgi.FieldStorage() in favor of the old urlparse.parse_qs(). We need a dictionary, which FieldStorage is not. However, I added .read_post_data() since my old self.rfile.read() was hanging. The read_post_data() implementation comes from the FieldStorage.__init__(). Error handling: wrap .handle_*() blocks in try/except to handle Storage errors
| * Fixed some stupid typos in libbe/storage/http.pyW. Trevor King2010-01-011-2/+2
| |
| * Improved POST parsing, fixed Serve._long_help(), added --read-only.W. Trevor King2010-01-011-49/+40
| | | | | | | | | | POST parsing via cgi.FieldStorage from Doug Hellmann's http://blog.doughellmann.com/2007/12/pymotw-basehttpserver.html
| * Added libbe.command.serve and libbe.storage.http for HTTP backend.W. Trevor King2010-01-014-5/+622
| | | | | | | | | | | | | | | | | | | | Now the following works: some-BE-dir$ ./be serve $ ./be --repo http://localhost:8000 list I haven't come up with a clean idea for testing this yet, so other commands may be broken, but once we get the testing working, it shouldn't be too hard to get everything working over HTTP :).
| * Hand nonexistent paths in VCS._u_search_parent_directories().W. Trevor King2010-01-011-1/+5
| | | | | | | | | | search_parent_directries raises an AssertionError if the original path doesn't exist.
| * Return a meaningful Storage.version()W. Trevor King2010-01-011-1/+2
|/
* Updated copyright informationW. Trevor King2010-01-0167-71/+241
|
* Merged be.restructure, major internal reorganization.W. Trevor King2009-12-31666-8801/+9459
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a bunch of classes to make the commands, user interfaces, and storage backends more abstract and distinct. This should make it much easier to extend and maintain BE. Features: * Directory restructured: becommands/ -> libbe/commands submods sorted by functionality. * Lots of new classes: Option, Argument, Command InputOutput, StorageCallbacks, UserInterface Storage * Consolidated ID handling in libbe.util.id * Transitioned VCS backends for Python-based VCSs from subprocess calss to internal python calls. Plus the user-visible changes: * New bugdir/bug/comment ID format replaces old bug:comment format. * Deprecated support for `be diff` on Arch and Darcs <= 2.3.1. A new backend abstraction (Storage) makes the former implementation ungainly. * Improved command completion. * Removed commands close, open, email_bugs, * Flipped some arguments `be assign BUG-ID [ASSIGNEE]` -> `be status ASSIGNED BUG-ID ...` `be severity BUG-ID SEVERITY` -> `be severity SEVERITY BUG-ID ...` `be status BUG-ID STATUS` -> `be status STATUS BUG-ID ...` In the merge: * Added 'commit' to list of pagerless commands. * Updated doc/README.dev See #bea86499-824e-4e77-b085-2d581fa9ccab/1100c966-9671-4bc6-8b68-6d408a910da1# for a discussion of why the changes were made and some of the difficulties en-route.
| * Use fragment in base command completion + command io fixups.W. Trevor King2009-12-312-7/+16
| |