jelmer/dulwich-libgit2.git
15 years agoFix typos
John Carr [Thu, 25 Dec 2008 07:44:19 +0000 (07:44 +0000)]
Fix typos

15 years agoIf no capabilities, still return a tuple or we get unpacking fail
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

15 years agoRename mixin so nosetests leaves it alone
John Carr [Thu, 25 Dec 2008 07:29:10 +0000 (07:29 +0000)]
Rename mixin so nosetests leaves it alone

15 years agoOnly TCPGitClient cares about host
John Carr [Thu, 25 Dec 2008 07:11:20 +0000 (07:11 +0000)]
Only TCPGitClient cares about host

15 years agoMerge upstream
John Carr [Thu, 25 Dec 2008 06:54:39 +0000 (06:54 +0000)]
Merge upstream

15 years agoFix imports, fix pack fetching when there are no changes.
Jelmer Vernooij [Thu, 25 Dec 2008 00:54:56 +0000 (00:54 +0000)]
Fix imports, fix pack fetching when there are no changes.

15 years agoMake dul-daemon start once more :)
John Carr [Wed, 24 Dec 2008 23:51:08 +0000 (23:51 +0000)]
Make dul-daemon start once more :)

15 years agoMove the git:// specific bits to TCPGitClient
John Carr [Wed, 24 Dec 2008 23:35:48 +0000 (23:35 +0000)]
Move the git:// specific bits to TCPGitClient

15 years agoMove send/read cmd out of way - not convinced protocol.py is the right place, but...
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

15 years agoMove send_cmd and read_cmd out of the protocol.
John Carr [Wed, 24 Dec 2008 23:29:03 +0000 (23:29 +0000)]
Move send_cmd and read_cmd out of the protocol.

15 years agoDon't need to descend from Handler really. Just use protocol directly
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

15 years agoMerge upstream
John Carr [Wed, 24 Dec 2008 23:13:57 +0000 (23:13 +0000)]
Merge upstream

15 years agoShare capabilities extractor, port number.
Jelmer Vernooij [Wed, 24 Dec 2008 22:58:16 +0000 (22:58 +0000)]
Share capabilities extractor, port number.

15 years agoShare port constant.
Jelmer Vernooij [Wed, 24 Dec 2008 22:51:55 +0000 (22:51 +0000)]
Share port constant.

15 years agoMerge John.
Jelmer Vernooij [Wed, 24 Dec 2008 22:50:25 +0000 (22:50 +0000)]
Merge John.

15 years agoMissed one
John Carr [Wed, 24 Dec 2008 22:48:53 +0000 (22:48 +0000)]
Missed one

15 years agoFactor out common code
John Carr [Wed, 24 Dec 2008 22:47:35 +0000 (22:47 +0000)]
Factor out common code

15 years agoFix crc32 overflow error in struct, raise KeyError if referenced objects can't be...
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.

15 years agoTidy up
John Carr [Wed, 24 Dec 2008 22:43:28 +0000 (22:43 +0000)]
Tidy up

15 years agoUse common, shared, code
John Carr [Wed, 24 Dec 2008 22:42:23 +0000 (22:42 +0000)]
Use common, shared, code

15 years agoShare some code between client and server
John Carr [Wed, 24 Dec 2008 22:37:45 +0000 (22:37 +0000)]
Share some code between client and server

15 years agoMerge upstream
John Carr [Wed, 24 Dec 2008 22:17:26 +0000 (22:17 +0000)]
Merge upstream

15 years agoDon't retrieve all pack files when fetching.
Jelmer Vernooij [Wed, 24 Dec 2008 22:08:18 +0000 (22:08 +0000)]
Don't retrieve all pack files when fetching.

15 years agoMore typo. I suck at refactoring :(
John Carr [Wed, 24 Dec 2008 22:05:36 +0000 (22:05 +0000)]
More typo. I suck at refactoring :(

15 years agoMore typo :(
John Carr [Wed, 24 Dec 2008 22:04:06 +0000 (22:04 +0000)]
More typo :(

15 years agoTypo?
John Carr [Wed, 24 Dec 2008 22:03:28 +0000 (22:03 +0000)]
Typo?

15 years agoAbstract away magic in moving pack files into place.
Jelmer Vernooij [Wed, 24 Dec 2008 21:00:27 +0000 (21:00 +0000)]
Abstract away magic in moving pack files into place.

15 years agodul-upload-pack and dul-receive-pack
John Carr [Wed, 24 Dec 2008 20:43:49 +0000 (20:43 +0000)]
dul-upload-pack and dul-receive-pack

15 years agoSort entries before writing index file.
Jelmer Vernooij [Wed, 24 Dec 2008 20:27:49 +0000 (20:27 +0000)]
Sort entries before writing index file.

15 years agoBrain dump protocol details
John Carr [Wed, 24 Dec 2008 20:25:23 +0000 (20:25 +0000)]
Brain dump protocol details

15 years agoPrint object names sha1 in dumppack.
Jelmer Vernooij [Wed, 24 Dec 2008 20:23:20 +0000 (20:23 +0000)]
Print object names sha1 in dumppack.

15 years agoAdd simple function for returning SHA1 over all objects in a pack (used for filename).
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).

15 years agoRefactor pack writing
John Carr [Wed, 24 Dec 2008 20:15:07 +0000 (20:15 +0000)]
Refactor pack writing

15 years agoMerge upstream
John Carr [Wed, 24 Dec 2008 20:14:27 +0000 (20:14 +0000)]
Merge upstream

15 years agoAdd simple add_pack() command that will return a file object for a temporary pack...
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.

15 years agoAdd simple dul-fetch-pack command.
Jelmer Vernooij [Wed, 24 Dec 2008 19:44:53 +0000 (19:44 +0000)]
Add simple dul-fetch-pack command.

15 years agoUse standard pack write functions in daemon.
Jelmer Vernooij [Wed, 24 Dec 2008 15:55:48 +0000 (15:55 +0000)]
Use standard pack write functions in daemon.

15 years agoPass fileobject rather than filename to write_pack_data().
Jelmer Vernooij [Wed, 24 Dec 2008 15:49:29 +0000 (15:49 +0000)]
Pass fileobject rather than filename to write_pack_data().

15 years agoMerge John.
Jelmer Vernooij [Wed, 24 Dec 2008 04:13:03 +0000 (04:13 +0000)]
Merge John.

15 years agoRename Repo.get_tree() -> Repo.tree() for consistency with git-python.
Jelmer Vernooij [Wed, 24 Dec 2008 02:30:06 +0000 (02:30 +0000)]
Rename Repo.get_tree() -> Repo.tree() for consistency with git-python.

15 years agomake .id available for all sha_files.
Jelmer Vernooij [Wed, 24 Dec 2008 02:07:01 +0000 (02:07 +0000)]
make .id available for all sha_files.

15 years agoBlob.text() -> Blob.data
Jelmer Vernooij [Wed, 24 Dec 2008 02:06:03 +0000 (02:06 +0000)]
Blob.text() -> Blob.data

15 years agoOpen packs more lazily.
Jelmer Vernooij [Wed, 24 Dec 2008 01:46:51 +0000 (01:46 +0000)]
Open packs more lazily.

15 years agoTurn more bits into properties.
Jelmer Vernooij [Wed, 24 Dec 2008 01:26:20 +0000 (01:26 +0000)]
Turn more bits into properties.

15 years agoFix parsing pack objects.
Jelmer Vernooij [Wed, 24 Dec 2008 01:19:51 +0000 (01:19 +0000)]
Fix parsing pack objects.

15 years agoRemove unused _contents member.
Jelmer Vernooij [Wed, 24 Dec 2008 01:17:31 +0000 (01:17 +0000)]
Remove unused _contents member.

15 years agoDon't need these imports
John Carr [Tue, 23 Dec 2008 09:42:57 +0000 (09:42 +0000)]
Don't need these imports

15 years agoMissing imports
John Carr [Tue, 23 Dec 2008 09:42:26 +0000 (09:42 +0000)]
Missing imports

15 years agoTurn Commit.parents into a property, for compatibility with python-git.
Jelmer Vernooij [Mon, 22 Dec 2008 20:27:50 +0000 (20:27 +0000)]
Turn Commit.parents into a property, for compatibility with python-git.

15 years agoMove default Git implementation from bin/ to dulwich/ - want to reuse this for dul...
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

15 years agoDifferent capabilities for upload and receive
John Carr [Sun, 21 Dec 2008 12:36:12 +0000 (12:36 +0000)]
Different capabilities for upload and receive

15 years agoSend caps when no refs
John Carr [Fri, 19 Dec 2008 10:37:50 +0000 (10:37 +0000)]
Send caps when no refs

15 years agoStart refactoring to handle the capability exchange
John Carr [Fri, 19 Dec 2008 09:43:18 +0000 (09:43 +0000)]
Start refactoring to handle the capability exchange

15 years agoGenerate and send useful packs
John Carr [Fri, 19 Dec 2008 01:11:06 +0000 (01:11 +0000)]
Generate and send useful packs

15 years agoAfter sending pack, close off.
John Carr [Thu, 18 Dec 2008 14:55:20 +0000 (14:55 +0000)]
After sending pack, close off.

15 years agoFix pack sending
John Carr [Thu, 18 Dec 2008 14:41:57 +0000 (14:41 +0000)]
Fix pack sending

15 years agoMore stuff needed for pack writing
John Carr [Thu, 18 Dec 2008 14:30:29 +0000 (14:30 +0000)]
More stuff needed for pack writing

15 years agoWrite using the sideband for now (need to implement capabilities properly)
John Carr [Thu, 18 Dec 2008 12:31:41 +0000 (12:31 +0000)]
Write using the sideband for now (need to implement capabilities properly)

15 years agoOnly try and load .pack files
John Carr [Thu, 18 Dec 2008 12:31:19 +0000 (12:31 +0000)]
Only try and load .pack files

15 years agoRemove old cruft
John Carr [Thu, 18 Dec 2008 12:26:22 +0000 (12:26 +0000)]
Remove old cruft

15 years agoFix typos
John Carr [Thu, 18 Dec 2008 12:25:24 +0000 (12:25 +0000)]
Fix typos

15 years agosha_queue now holds tuple(type, sha)
John Carr [Thu, 18 Dec 2008 12:19:22 +0000 (12:19 +0000)]
sha_queue now holds tuple(type, sha)

15 years agoStub out 'sha1 as we go' implementation
John Carr [Thu, 18 Dec 2008 12:16:48 +0000 (12:16 +0000)]
Stub out 'sha1 as we go' implementation

15 years agoStart stubbing out packer
John Carr [Thu, 18 Dec 2008 12:02:02 +0000 (12:02 +0000)]
Start stubbing out packer

15 years agogit push handling fixes
John Carr [Thu, 18 Dec 2008 11:28:33 +0000 (11:28 +0000)]
git push handling fixes

15 years agoStore pack with correct suffix and also update refs appropriately
John Carr [Thu, 18 Dec 2008 10:39:41 +0000 (10:39 +0000)]
Store pack with correct suffix and also update refs appropriately

15 years agoReally simple API for updating refs
John Carr [Thu, 18 Dec 2008 10:25:50 +0000 (10:25 +0000)]
Really simple API for updating refs

15 years agoMerge fix for opening pack files.
Jelmer Vernooij [Wed, 17 Dec 2008 20:52:42 +0000 (20:52 +0000)]
Merge fix for opening pack files.

15 years agoMerge john.
Jelmer Vernooij [Wed, 17 Dec 2008 20:44:43 +0000 (20:44 +0000)]
Merge john.

15 years agodul-daemon: Implement has_revision in backend
John Carr [Wed, 17 Dec 2008 17:24:23 +0000 (17:24 +0000)]
dul-daemon: Implement has_revision in backend

15 years agoAdd comments
John Carr [Wed, 17 Dec 2008 16:56:23 +0000 (16:56 +0000)]
Add comments

15 years agoPop from the front, or we just keep examining the same object forever
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

15 years agoFix off by 20 bug in iterator
John Carr [Wed, 17 Dec 2008 15:35:08 +0000 (15:35 +0000)]
Fix off by 20 bug in iterator

15 years agoAdd some extra checks to the protocol and enchance dul-daemon
John Carr [Wed, 17 Dec 2008 11:36:34 +0000 (11:36 +0000)]
Add some extra checks to the protocol and enchance dul-daemon

15 years agodul-daemon can accept incoming packs (store them in the repository, and index them).
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).

15 years agoFix off-by-one
John Carr [Wed, 17 Dec 2008 00:39:24 +0000 (00:39 +0000)]
Fix off-by-one

15 years agoReturn list of heads from a git repository
John Carr [Wed, 17 Dec 2008 00:33:31 +0000 (00:33 +0000)]
Return list of heads from a git repository

15 years agoRepo class fails to load jhbuild git-svn clone because there are tags in refs/tags...
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

15 years ago\0x0a is a typo. Use \n as its prettier
John Carr [Tue, 16 Dec 2008 23:58:26 +0000 (23:58 +0000)]
\0x0a is a typo. Use \n as its prettier

15 years agoCheck to only open pack files.
Jelmer Vernooij [Tue, 16 Dec 2008 23:49:48 +0000 (23:49 +0000)]
Check to only open pack files.

15 years agoMore doc strings
John Carr [Tue, 16 Dec 2008 23:49:05 +0000 (23:49 +0000)]
More doc strings

15 years agoTidy up. Document.
John Carr [Tue, 16 Dec 2008 23:42:29 +0000 (23:42 +0000)]
Tidy up. Document.

15 years agoFix conflict to work around bug in bzr..
Jelmer Vernooij [Tue, 16 Dec 2008 23:17:26 +0000 (23:17 +0000)]
Fix conflict to work around bug in bzr..

15 years agoMerge server implementation.
Jelmer Vernooij [Tue, 16 Dec 2008 22:59:38 +0000 (22:59 +0000)]
Merge server implementation.

15 years agoAdd a test program
John Carr [Tue, 16 Dec 2008 22:27:07 +0000 (22:27 +0000)]
Add a test program

15 years agoServer side git protocols
John Carr [Tue, 16 Dec 2008 21:56:27 +0000 (21:56 +0000)]
Server side git protocols

15 years agoSupport writing packs (no deltas are written yet though).
Jelmer Vernooij [Fri, 12 Dec 2008 23:01:47 +0000 (23:01 +0000)]
Support writing packs (no deltas are written yet though).

15 years agoLook in packs when looking for objects.
Jelmer Vernooij [Fri, 12 Dec 2008 17:43:05 +0000 (17:43 +0000)]
Look in packs when looking for objects.

15 years agoAdd close operation, be lazier when opening pack files.
Jelmer Vernooij [Fri, 12 Dec 2008 17:29:46 +0000 (17:29 +0000)]
Add close operation, be lazier when opening pack files.

15 years agoDeltas work.
Jelmer Vernooij [Fri, 12 Dec 2008 17:24:53 +0000 (17:24 +0000)]
Deltas work.

15 years agoFix offsets in pack files.
Jelmer Vernooij [Fri, 12 Dec 2008 17:09:23 +0000 (17:09 +0000)]
Fix offsets in pack files.

15 years agoremove unused multi_ord.
Jelmer Vernooij [Fri, 12 Dec 2008 15:57:07 +0000 (15:57 +0000)]
remove unused multi_ord.

15 years agoChange README to be about Dulwich rather than Python-git.
Jelmer Vernooij [Fri, 12 Dec 2008 15:37:07 +0000 (15:37 +0000)]
Change README to be about Dulwich rather than Python-git.

15 years agoAdd iterentries().
Jelmer Vernooij [Thu, 11 Dec 2008 16:52:29 +0000 (16:52 +0000)]
Add iterentries().

15 years agoSome more work resolving objects.
Jelmer Vernooij [Thu, 11 Dec 2008 16:46:11 +0000 (16:46 +0000)]
Some more work resolving objects.

15 years agoSupport generating index files.
Jelmer Vernooij [Thu, 11 Dec 2008 16:20:31 +0000 (16:20 +0000)]
Support generating index files.

15 years agoAdd PackData.iterobjects().
Jelmer Vernooij [Thu, 11 Dec 2008 15:52:25 +0000 (15:52 +0000)]
Add PackData.iterobjects().

15 years agoMore work handling delta objects in packs.
Jelmer Vernooij [Thu, 11 Dec 2008 15:35:59 +0000 (15:35 +0000)]
More work handling delta objects in packs.

15 years agoFix the build.
Jelmer Vernooij [Thu, 11 Dec 2008 14:34:27 +0000 (14:34 +0000)]
Fix the build.

15 years agoAdd helper code for applying deltas.
Jelmer Vernooij [Thu, 11 Dec 2008 14:04:22 +0000 (14:04 +0000)]
Add helper code for applying deltas.