John Carr [Thu, 25 Dec 2008 07:44:19 +0000 (07:44 +0000)]
Fix typos
John Carr [Thu, 25 Dec 2008 07:44:12 +0000 (07:44 +0000)]
If no capabilities, still return a tuple or we get unpacking fail
John Carr [Thu, 25 Dec 2008 07:29:10 +0000 (07:29 +0000)]
Rename mixin so nosetests leaves it alone
John Carr [Thu, 25 Dec 2008 07:11:20 +0000 (07:11 +0000)]
Only TCPGitClient cares about host
John Carr [Thu, 25 Dec 2008 06:54:39 +0000 (06:54 +0000)]
Merge upstream
Jelmer Vernooij [Thu, 25 Dec 2008 00:54:56 +0000 (00:54 +0000)]
Fix imports, fix pack fetching when there are no changes.
John Carr [Wed, 24 Dec 2008 23:51:08 +0000 (23:51 +0000)]
Make dul-daemon start once more :)
John Carr [Wed, 24 Dec 2008 23:35:48 +0000 (23:35 +0000)]
Move the git:// specific bits to TCPGitClient
John Carr [Wed, 24 Dec 2008 23:31:57 +0000 (23:31 +0000)]
Move send/read cmd out of way - not convinced protocol.py is the right place, but certainly don't want them in the code that doesnt need them
John Carr [Wed, 24 Dec 2008 23:29:03 +0000 (23:29 +0000)]
Move send_cmd and read_cmd out of the protocol.
John Carr [Wed, 24 Dec 2008 23:17:30 +0000 (23:17 +0000)]
Don't need to descend from Handler really. Just use protocol directly
John Carr [Wed, 24 Dec 2008 23:13:57 +0000 (23:13 +0000)]
Merge upstream
Jelmer Vernooij [Wed, 24 Dec 2008 22:58:16 +0000 (22:58 +0000)]
Share capabilities extractor, port number.
Jelmer Vernooij [Wed, 24 Dec 2008 22:51:55 +0000 (22:51 +0000)]
Share port constant.
Jelmer Vernooij [Wed, 24 Dec 2008 22:50:25 +0000 (22:50 +0000)]
Merge John.
John Carr [Wed, 24 Dec 2008 22:48:53 +0000 (22:48 +0000)]
Missed one
John Carr [Wed, 24 Dec 2008 22:47:35 +0000 (22:47 +0000)]
Factor out common code
Jelmer Vernooij [Wed, 24 Dec 2008 22:47:00 +0000 (22:47 +0000)]
Fix crc32 overflow error in struct, raise KeyError if referenced objects can't be found rather than looping forever.
John Carr [Wed, 24 Dec 2008 22:43:28 +0000 (22:43 +0000)]
Tidy up
John Carr [Wed, 24 Dec 2008 22:42:23 +0000 (22:42 +0000)]
Use common, shared, code
John Carr [Wed, 24 Dec 2008 22:37:45 +0000 (22:37 +0000)]
Share some code between client and server
John Carr [Wed, 24 Dec 2008 22:17:26 +0000 (22:17 +0000)]
Merge upstream
Jelmer Vernooij [Wed, 24 Dec 2008 22:08:18 +0000 (22:08 +0000)]
Don't retrieve all pack files when fetching.
John Carr [Wed, 24 Dec 2008 22:05:36 +0000 (22:05 +0000)]
More typo. I suck at refactoring :(
John Carr [Wed, 24 Dec 2008 22:04:06 +0000 (22:04 +0000)]
More typo :(
John Carr [Wed, 24 Dec 2008 22:03:28 +0000 (22:03 +0000)]
Typo?
Jelmer Vernooij [Wed, 24 Dec 2008 21:00:27 +0000 (21:00 +0000)]
Abstract away magic in moving pack files into place.
John Carr [Wed, 24 Dec 2008 20:43:49 +0000 (20:43 +0000)]
dul-upload-pack and dul-receive-pack
Jelmer Vernooij [Wed, 24 Dec 2008 20:27:49 +0000 (20:27 +0000)]
Sort entries before writing index file.
John Carr [Wed, 24 Dec 2008 20:25:23 +0000 (20:25 +0000)]
Brain dump protocol details
Jelmer Vernooij [Wed, 24 Dec 2008 20:23:20 +0000 (20:23 +0000)]
Print object names sha1 in dumppack.
Jelmer Vernooij [Wed, 24 Dec 2008 20:20:52 +0000 (20:20 +0000)]
Add simple function for returning SHA1 over all objects in a pack (used for filename).
John Carr [Wed, 24 Dec 2008 20:15:07 +0000 (20:15 +0000)]
Refactor pack writing
John Carr [Wed, 24 Dec 2008 20:14:27 +0000 (20:14 +0000)]
Merge upstream
Jelmer Vernooij [Wed, 24 Dec 2008 19:46:55 +0000 (19:46 +0000)]
Add simple add_pack() command that will return a file object for a temporary pack filename.
Jelmer Vernooij [Wed, 24 Dec 2008 19:44:53 +0000 (19:44 +0000)]
Add simple dul-fetch-pack command.
Jelmer Vernooij [Wed, 24 Dec 2008 15:55:48 +0000 (15:55 +0000)]
Use standard pack write functions in daemon.
Jelmer Vernooij [Wed, 24 Dec 2008 15:49:29 +0000 (15:49 +0000)]
Pass fileobject rather than filename to write_pack_data().
Jelmer Vernooij [Wed, 24 Dec 2008 04:13:03 +0000 (04:13 +0000)]
Merge John.
Jelmer Vernooij [Wed, 24 Dec 2008 02:30:06 +0000 (02:30 +0000)]
Rename Repo.get_tree() -> Repo.tree() for consistency with git-python.
Jelmer Vernooij [Wed, 24 Dec 2008 02:07:01 +0000 (02:07 +0000)]
make .id available for all sha_files.
Jelmer Vernooij [Wed, 24 Dec 2008 02:06:03 +0000 (02:06 +0000)]
Blob.text() -> Blob.data
Jelmer Vernooij [Wed, 24 Dec 2008 01:46:51 +0000 (01:46 +0000)]
Open packs more lazily.
Jelmer Vernooij [Wed, 24 Dec 2008 01:26:20 +0000 (01:26 +0000)]
Turn more bits into properties.
Jelmer Vernooij [Wed, 24 Dec 2008 01:19:51 +0000 (01:19 +0000)]
Fix parsing pack objects.
Jelmer Vernooij [Wed, 24 Dec 2008 01:17:31 +0000 (01:17 +0000)]
Remove unused _contents member.
John Carr [Tue, 23 Dec 2008 09:42:57 +0000 (09:42 +0000)]
Don't need these imports
John Carr [Tue, 23 Dec 2008 09:42:26 +0000 (09:42 +0000)]
Missing imports
Jelmer Vernooij [Mon, 22 Dec 2008 20:27:50 +0000 (20:27 +0000)]
Turn Commit.parents into a property, for compatibility with python-git.
John Carr [Sun, 21 Dec 2008 12:58:57 +0000 (12:58 +0000)]
Move default Git implementation from bin/ to dulwich/ - want to reuse this for dul-receive-pack and dul-upload-pack
John Carr [Sun, 21 Dec 2008 12:36:12 +0000 (12:36 +0000)]
Different capabilities for upload and receive
John Carr [Fri, 19 Dec 2008 10:37:50 +0000 (10:37 +0000)]
Send caps when no refs
John Carr [Fri, 19 Dec 2008 09:43:18 +0000 (09:43 +0000)]
Start refactoring to handle the capability exchange
John Carr [Fri, 19 Dec 2008 01:11:06 +0000 (01:11 +0000)]
Generate and send useful packs
John Carr [Thu, 18 Dec 2008 14:55:20 +0000 (14:55 +0000)]
After sending pack, close off.
John Carr [Thu, 18 Dec 2008 14:41:57 +0000 (14:41 +0000)]
Fix pack sending
John Carr [Thu, 18 Dec 2008 14:30:29 +0000 (14:30 +0000)]
More stuff needed for pack writing
John Carr [Thu, 18 Dec 2008 12:31:41 +0000 (12:31 +0000)]
Write using the sideband for now (need to implement capabilities properly)
John Carr [Thu, 18 Dec 2008 12:31:19 +0000 (12:31 +0000)]
Only try and load .pack files
John Carr [Thu, 18 Dec 2008 12:26:22 +0000 (12:26 +0000)]
Remove old cruft
John Carr [Thu, 18 Dec 2008 12:25:24 +0000 (12:25 +0000)]
Fix typos
John Carr [Thu, 18 Dec 2008 12:19:22 +0000 (12:19 +0000)]
sha_queue now holds tuple(type, sha)
John Carr [Thu, 18 Dec 2008 12:16:48 +0000 (12:16 +0000)]
Stub out 'sha1 as we go' implementation
John Carr [Thu, 18 Dec 2008 12:02:02 +0000 (12:02 +0000)]
Start stubbing out packer
John Carr [Thu, 18 Dec 2008 11:28:33 +0000 (11:28 +0000)]
git push handling fixes
John Carr [Thu, 18 Dec 2008 10:39:41 +0000 (10:39 +0000)]
Store pack with correct suffix and also update refs appropriately
John Carr [Thu, 18 Dec 2008 10:25:50 +0000 (10:25 +0000)]
Really simple API for updating refs
Jelmer Vernooij [Wed, 17 Dec 2008 20:52:42 +0000 (20:52 +0000)]
Merge fix for opening pack files.
Jelmer Vernooij [Wed, 17 Dec 2008 20:44:43 +0000 (20:44 +0000)]
Merge john.
John Carr [Wed, 17 Dec 2008 17:24:23 +0000 (17:24 +0000)]
dul-daemon: Implement has_revision in backend
John Carr [Wed, 17 Dec 2008 16:56:23 +0000 (16:56 +0000)]
Add comments
John Carr [Wed, 17 Dec 2008 15:58:55 +0000 (15:58 +0000)]
Pop from the front, or we just keep examining the same object forever
John Carr [Wed, 17 Dec 2008 15:35:08 +0000 (15:35 +0000)]
Fix off by 20 bug in iterator
John Carr [Wed, 17 Dec 2008 11:36:34 +0000 (11:36 +0000)]
Add some extra checks to the protocol and enchance dul-daemon
John Carr [Wed, 17 Dec 2008 11:22:47 +0000 (11:22 +0000)]
dul-daemon can accept incoming packs (store them in the repository, and index them).
John Carr [Wed, 17 Dec 2008 00:39:24 +0000 (00:39 +0000)]
Fix off-by-one
John Carr [Wed, 17 Dec 2008 00:33:31 +0000 (00:33 +0000)]
Return list of heads from a git repository
John Carr [Wed, 17 Dec 2008 00:33:02 +0000 (00:33 +0000)]
Repo class fails to load jhbuild git-svn clone because there are tags in refs/tags/svn/foo. Support loading refs from sub directories
John Carr [Tue, 16 Dec 2008 23:58:26 +0000 (23:58 +0000)]
\0x0a is a typo. Use \n as its prettier
Jelmer Vernooij [Tue, 16 Dec 2008 23:49:48 +0000 (23:49 +0000)]
Check to only open pack files.
John Carr [Tue, 16 Dec 2008 23:49:05 +0000 (23:49 +0000)]
More doc strings
John Carr [Tue, 16 Dec 2008 23:42:29 +0000 (23:42 +0000)]
Tidy up. Document.
Jelmer Vernooij [Tue, 16 Dec 2008 23:17:26 +0000 (23:17 +0000)]
Fix conflict to work around bug in bzr..
Jelmer Vernooij [Tue, 16 Dec 2008 22:59:38 +0000 (22:59 +0000)]
Merge server implementation.
John Carr [Tue, 16 Dec 2008 22:27:07 +0000 (22:27 +0000)]
Add a test program
John Carr [Tue, 16 Dec 2008 21:56:27 +0000 (21:56 +0000)]
Server side git protocols
Jelmer Vernooij [Fri, 12 Dec 2008 23:01:47 +0000 (23:01 +0000)]
Support writing packs (no deltas are written yet though).
Jelmer Vernooij [Fri, 12 Dec 2008 17:43:05 +0000 (17:43 +0000)]
Look in packs when looking for objects.
Jelmer Vernooij [Fri, 12 Dec 2008 17:29:46 +0000 (17:29 +0000)]
Add close operation, be lazier when opening pack files.
Jelmer Vernooij [Fri, 12 Dec 2008 17:24:53 +0000 (17:24 +0000)]
Deltas work.
Jelmer Vernooij [Fri, 12 Dec 2008 17:09:23 +0000 (17:09 +0000)]
Fix offsets in pack files.
Jelmer Vernooij [Fri, 12 Dec 2008 15:57:07 +0000 (15:57 +0000)]
remove unused multi_ord.
Jelmer Vernooij [Fri, 12 Dec 2008 15:37:07 +0000 (15:37 +0000)]
Change README to be about Dulwich rather than Python-git.
Jelmer Vernooij [Thu, 11 Dec 2008 16:52:29 +0000 (16:52 +0000)]
Add iterentries().
Jelmer Vernooij [Thu, 11 Dec 2008 16:46:11 +0000 (16:46 +0000)]
Some more work resolving objects.
Jelmer Vernooij [Thu, 11 Dec 2008 16:20:31 +0000 (16:20 +0000)]
Support generating index files.
Jelmer Vernooij [Thu, 11 Dec 2008 15:52:25 +0000 (15:52 +0000)]
Add PackData.iterobjects().
Jelmer Vernooij [Thu, 11 Dec 2008 15:35:59 +0000 (15:35 +0000)]
More work handling delta objects in packs.
Jelmer Vernooij [Thu, 11 Dec 2008 14:34:27 +0000 (14:34 +0000)]
Fix the build.
Jelmer Vernooij [Thu, 11 Dec 2008 14:04:22 +0000 (14:04 +0000)]
Add helper code for applying deltas.