Jelmer Vernooij [Fri, 8 May 2009 19:39:27 +0000 (21:39 +0200)]
Add base class for ObjectStore with just the interface.
Jelmer Vernooij [Fri, 8 May 2009 19:28:52 +0000 (21:28 +0200)]
Raise sha error if necessary, always return refs, fix docs.
Jelmer Vernooij [Fri, 8 May 2009 19:27:09 +0000 (21:27 +0200)]
Fix typo.
Jelmer Vernooij [Fri, 8 May 2009 18:55:24 +0000 (20:55 +0200)]
Add helper function read_zlib_chunks.
Jelmer Vernooij [Fri, 8 May 2009 18:51:45 +0000 (20:51 +0200)]
Add stub for commit, extra check.
Jelmer Vernooij [Fri, 8 May 2009 18:08:30 +0000 (20:08 +0200)]
Always initialize _sha.
Jelmer Vernooij [Fri, 8 May 2009 18:06:14 +0000 (20:06 +0200)]
make sha finding lazy.
Jelmer Vernooij [Fri, 8 May 2009 18:05:47 +0000 (20:05 +0200)]
Fix imports.
Jelmer Vernooij [Fri, 8 May 2009 17:23:37 +0000 (19:23 +0200)]
Make missing object finder a bit more efficient.
Jelmer Vernooij [Fri, 8 May 2009 17:23:25 +0000 (19:23 +0200)]
Fix test.
Jelmer Vernooij [Fri, 8 May 2009 17:01:25 +0000 (19:01 +0200)]
More docstrings.
Jelmer Vernooij [Fri, 8 May 2009 16:54:12 +0000 (18:54 +0200)]
Improve docstrings.
Jelmer Vernooij [Fri, 8 May 2009 16:39:17 +0000 (18:39 +0200)]
Support generating pydoctor output.
Jelmer Vernooij [Fri, 8 May 2009 16:19:53 +0000 (18:19 +0200)]
Move some of the finding missing objects code to object_store.
Jelmer Vernooij [Fri, 8 May 2009 15:52:40 +0000 (17:52 +0200)]
Fix kwargs argument in SubprocessClient._connect.
Jelmer Vernooij [Tue, 5 May 2009 22:32:42 +0000 (00:32 +0200)]
Fix spacing issue in timezone offsets, add some simple tests for commit and tree serialization.
Jelmer Vernooij [Tue, 5 May 2009 20:34:33 +0000 (20:54 +0020)]
Do proper parsing of timezones and store them as offset seconds.
Jelmer Vernooij [Tue, 5 May 2009 20:26:34 +0000 (20:46 +0020)]
Add separate functions for formatting / parsing timezones.
Jelmer Vernooij [Tue, 5 May 2009 19:37:14 +0000 (19:39 +0002)]
Import new lru_cache and tests.
Jelmer Vernooij [Tue, 5 May 2009 19:27:30 +0000 (19:29 +0002)]
Add docstrings.
Jelmer Vernooij [Tue, 5 May 2009 17:32:28 +0000 (17:34 +0002)]
Add some docstrings.
Jelmer Vernooij [Tue, 5 May 2009 03:10:43 +0000 (03:12 +0002)]
Provide more complete file-like API to pack write commands, since they need tell().
Jelmer Vernooij [Tue, 5 May 2009 03:10:24 +0000 (03:12 +0002)]
Clarify that objects are being passed to send_pack, not shas.
Jelmer Vernooij [Tue, 5 May 2009 03:09:48 +0000 (03:11 +0002)]
add read_packed_refs docstring.
Jelmer Vernooij [Tue, 5 May 2009 02:25:16 +0000 (02:27 +0002)]
Use same API for finding send-pack refs as for recv-pack refs.
Jelmer Vernooij [Tue, 5 May 2009 02:24:49 +0000 (02:26 +0002)]
Fix comment formatting.
Jelmer Vernooij [Tue, 5 May 2009 02:22:24 +0000 (02:24 +0002)]
s/trial/a testrunner.
Jelmer Vernooij [Mon, 4 May 2009 16:56:43 +0000 (16:58 +0002)]
Use dictionary in send_pack.
Jelmer Vernooij [Mon, 4 May 2009 16:38:35 +0000 (16:40 +0002)]
Fix docstrings
Jelmer Vernooij [Mon, 4 May 2009 15:21:06 +0000 (15:23 +0002)]
Fix send_pack.
Jelmer Vernooij [Mon, 4 May 2009 13:16:42 +0000 (13:18 +0002)]
Use public API where possible.
Jelmer Vernooij [Mon, 4 May 2009 13:00:34 +0000 (13:02 +0002)]
Cherry-pick fixes to send_pack from Scott Chacon <schacon@gmail.com>.
Jelmer Vernooij [Mon, 4 May 2009 12:43:19 +0000 (12:45 +0002)]
Client.fetch_pack() returns the refs that were received.
Jelmer Vernooij [Mon, 4 May 2009 12:40:04 +0000 (12:42 +0002)]
Create required refs directories if they don't exist yet.
Jelmer Vernooij [Sun, 3 May 2009 13:55:13 +0000 (13:57 +0002)]
use make_sha rather than sha1.new() that's deprecated in python2.6.
Jelmer Vernooij [Sun, 3 May 2009 13:51:47 +0000 (13:53 +0002)]
Fix copyright headers.
Jelmer Vernooij [Sat, 2 May 2009 17:37:50 +0000 (17:39 +0002)]
Support iterating over contents of an object store.
Jelmer Vernooij [Sat, 2 May 2009 17:26:25 +0000 (17:28 +0002)]
Add support for pretty printing objects.
Jelmer Vernooij [Sat, 2 May 2009 16:21:13 +0000 (16:23 +0002)]
Fix memory leak in parse_tree.
Jelmer Vernooij [Sat, 2 May 2009 16:00:27 +0000 (16:02 +0002)]
Remember the offset only for objects seen earlier in the pack, rather than the complete object.
Jelmer Vernooij [Sat, 2 May 2009 15:25:52 +0000 (15:27 +0002)]
Actually parse lazily (forgot to remove the call earlier).
Jelmer Vernooij [Sat, 2 May 2009 15:15:00 +0000 (15:17 +0002)]
Add some docstrings.
Jelmer Vernooij [Sat, 2 May 2009 14:49:36 +0000 (14:51 +0002)]
Fix serialization of blobs and for header.
Jelmer Vernooij [Sat, 2 May 2009 14:44:17 +0000 (14:46 +0002)]
Simplify property handling.
Jelmer Vernooij [Sat, 2 May 2009 14:28:44 +0000 (14:30 +0002)]
Lazily parse objects.
Jelmer Vernooij [Sat, 2 May 2009 14:22:00 +0000 (14:24 +0002)]
Allow users to change object types, use helper functions for setting raw strings.
Jelmer Vernooij [Sat, 2 May 2009 14:11:42 +0000 (14:13 +0002)]
Use property function rather than decorator, so we can support setters in the future.
Jelmer Vernooij [Sat, 2 May 2009 14:10:22 +0000 (14:12 +0002)]
Use property function rather than decorator, so we can support setters in the future.
Jelmer Vernooij [Sat, 2 May 2009 11:11:25 +0000 (11:13 +0002)]
Mention C coding style in HACKING.
Jelmer Vernooij [Sat, 2 May 2009 11:10:28 +0000 (11:12 +0002)]
Clarify that dulwich is GPLv2 *or later*.
Jelmer Vernooij [Sat, 2 May 2009 11:10:17 +0000 (11:12 +0002)]
Remove outdated statements from the README.
Jelmer Vernooij [Sat, 2 May 2009 10:59:27 +0000 (11:01 +0002)]
Start on 0.2.2
Jelmer Vernooij [Sat, 2 May 2009 10:57:39 +0000 (10:59 +0002)]
Add convenience function for opening the index associated with a repository.
Jelmer Vernooij [Thu, 30 Apr 2009 14:27:47 +0000 (14:29 +0002)]
Fix build without extensions.
Jelmer Vernooij [Thu, 30 Apr 2009 14:26:57 +0000 (14:28 +0002)]
Remove .so files in clean.
Jelmer Vernooij [Thu, 30 Apr 2009 14:17:59 +0000 (14:19 +0002)]
Fix progress bars.
Jelmer Vernooij [Thu, 30 Apr 2009 13:33:37 +0000 (13:35 +0002)]
Ignore comment in packed-refs file.
Jelmer Vernooij [Thu, 30 Apr 2009 13:02:56 +0000 (13:04 +0002)]
Fix compatibility with python 2.4, release 0.2.1.
Jelmer Vernooij [Thu, 30 Apr 2009 13:02:24 +0000 (13:04 +0002)]
Support running tests with other versions of Python.
Jelmer Vernooij [Thu, 30 Apr 2009 11:27:40 +0000 (11:29 +0002)]
Update setup.py.
Jelmer Vernooij [Thu, 30 Apr 2009 11:25:35 +0000 (11:27 +0002)]
Release 0.2.0
Jelmer Vernooij [Thu, 30 Apr 2009 11:25:18 +0000 (11:27 +0002)]
Use hexsha's in Index API.
Jelmer Vernooij [Thu, 30 Apr 2009 11:24:49 +0000 (11:26 +0002)]
Cope with the fact that Index.__iter__ now returns paths rather than 12-tuples.
Jelmer Vernooij [Thu, 30 Apr 2009 11:24:06 +0000 (11:26 +0002)]
Implement Tree.__contains__.
Jelmer Vernooij [Thu, 30 Apr 2009 10:06:25 +0000 (10:08 +0002)]
Fix C implementation of parse_tree to return a dictionary.
Jelmer Vernooij [Thu, 30 Apr 2009 09:57:38 +0000 (09:59 +0002)]
Merge optimized version of tree parsing.
Jelmer Vernooij [Thu, 30 Apr 2009 09:57:25 +0000 (09:59 +0002)]
Add C extension for tree parsing.
Jelmer Vernooij [Thu, 30 Apr 2009 09:57:10 +0000 (09:59 +0002)]
Use separate function for tree parsing, allow C extension for tree parsing.
Jelmer Vernooij [Wed, 29 Apr 2009 14:41:20 +0000 (14:43 +0002)]
Don't close file twice.
Jelmer Vernooij [Wed, 29 Apr 2009 13:55:30 +0000 (13:57 +0002)]
Fix index tests.
Jelmer Vernooij [Wed, 29 Apr 2009 11:21:31 +0000 (11:23 +0002)]
Fix syntax error in iteritems.
Jelmer Vernooij [Mon, 20 Apr 2009 08:07:01 +0000 (08:09 +0002)]
allow changing the trees.
Jelmer Vernooij [Sun, 19 Apr 2009 19:15:21 +0000 (19:17 +0002)]
Fix padding in index.
Jelmer Vernooij [Sun, 19 Apr 2009 15:10:10 +0000 (15:12 +0002)]
fix writing of legacy objects.
Jelmer Vernooij [Sat, 18 Apr 2009 21:46:51 +0000 (21:48 +0002)]
Add extra index test.
Jelmer Vernooij [Sat, 18 Apr 2009 20:36:48 +0000 (20:38 +0002)]
Fix skipping bug in index.
Jelmer Vernooij [Sat, 18 Apr 2009 20:36:27 +0000 (20:38 +0002)]
Improve formatting.
Jelmer Vernooij [Sat, 18 Apr 2009 19:58:39 +0000 (20:00 +0002)]
Store tree contents in dictionary internally.
Jelmer Vernooij [Fri, 17 Apr 2009 22:54:24 +0000 (22:56 +0002)]
Build extensions in Makefile.
Jelmer Vernooij [Fri, 17 Apr 2009 22:23:58 +0000 (22:25 +0002)]
Split out tree parsing function.
Jelmer Vernooij [Fri, 17 Apr 2009 13:33:03 +0000 (13:35 +0002)]
Remove mmap offset parameter use for now, as it appears to be broken and I have no good way to test it.
Jelmer Vernooij [Thu, 16 Apr 2009 20:19:30 +0000 (20:21 +0002)]
Support packed refs.
Jelmer Vernooij [Thu, 16 Apr 2009 19:41:21 +0000 (19:43 +0002)]
The parsing code is significantly different from the original in git now.
Jelmer Vernooij [Thu, 16 Apr 2009 16:50:17 +0000 (16:52 +0002)]
Pass lookup function into tree_lookup_path rather than dictionary-like object.
Jelmer Vernooij [Thu, 16 Apr 2009 16:28:53 +0000 (16:30 +0002)]
Use new class name in __repr__ for child classes.
Jelmer Vernooij [Thu, 16 Apr 2009 16:24:16 +0000 (16:26 +0002)]
Support author/committer timezones.
Jelmer Vernooij [Thu, 16 Apr 2009 16:24:02 +0000 (16:26 +0002)]
Fix tests: object_index() raises an exception now.
Jelmer Vernooij [Thu, 6 Dec 1973 01:21:40 +0000 (01:21 +0000)]
Support author_time
Jelmer Vernooij [Tue, 14 Apr 2009 19:08:20 +0000 (19:08 +0000)]
Fix offset argument to mmap on python 2.6.
Jelmer Vernooij [Tue, 14 Apr 2009 19:08:09 +0000 (19:08 +0000)]
Fix default port for smart tcp clients.
Jelmer Vernooij [Tue, 14 Apr 2009 18:38:41 +0000 (18:38 +0000)]
Support variable arguments in SSHGitClient.
Jelmer Vernooij [Fri, 10 Apr 2009 12:23:01 +0000 (12:23 +0000)]
Fix fetching of thin packs.
Jelmer Vernooij [Fri, 10 Apr 2009 04:02:24 +0000 (04:02 +0000)]
Support progress reporting in iterobjects.
Jelmer Vernooij [Fri, 10 Apr 2009 03:30:05 +0000 (03:30 +0000)]
Support activity reporting.
Jelmer Vernooij [Thu, 2 Apr 2009 13:35:47 +0000 (13:35 +0000)]
Move performance doc to docs/ and rst format.
Jelmer Vernooij [Tue, 31 Mar 2009 02:26:21 +0000 (02:26 +0000)]
Add function for finding the object in a tree.
Jelmer Vernooij [Tue, 31 Mar 2009 02:25:56 +0000 (02:25 +0000)]
Add simple lookup function to Tree.
Jelmer Vernooij [Tue, 31 Mar 2009 00:43:41 +0000 (00:43 +0000)]
Add _num_type for tags.
Jelmer Vernooij [Sun, 29 Mar 2009 17:14:10 +0000 (17:14 +0000)]
Support thin pack parameter for ssh connections.
Jelmer Vernooij [Sun, 29 Mar 2009 17:13:58 +0000 (17:13 +0000)]
Remove unnecessary opens from pack code.