jelmer/dulwich.git
5 hours agoFix formatting of docstrings in dulwich._compat. master
Jelmer Vernooij [Sun, 19 May 2013 15:03:29 +0000]
Fix formatting of docstrings in dulwich._compat.

5 hours agoUpdate NEWS about tag chapter in tutorial.
Jelmer Vernooij [Sun, 19 May 2013 15:01:03 +0000]
Update NEWS about tag chapter in tutorial.

13 days agoadd. Initial draft of git tag documentation in dulwich.
rfaulk [Mon, 6 May 2013 01:54:09 +0000]
add. Initial draft of git tag documentation in dulwich.

2 weeks agoUpdate NEWS for alternate paths patch.
Jelmer Vernooij [Sat, 4 May 2013 16:15:28 +0000]
Update NEWS for alternate paths patch.

2 weeks agoAdd relative path git alternates support
milki [Thu, 2 May 2013 22:21:56 +0000]
Add relative path git alternates support

Original patch provided by walken@google.com

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

2 weeks agoAdd bug # and author for relative path SSH patch.
Jelmer Vernooij [Sat, 4 May 2013 16:10:04 +0000]
Add bug # and author for relative path SSH patch.

2 weeks agoUpdate NEWS for SSH client ~ expansion patch.
Jelmer Vernooij [Sat, 4 May 2013 16:07:24 +0000]
Update NEWS for SSH client ~ expansion patch.

2 weeks agoAdd test_connect for SSHGitClient
milki [Sat, 19 Jan 2013 05:23:23 +0000]
Add test_connect for SSHGitClient

Mock SSHVendor.connect_ssh and verify arguments

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

2 weeks agoSupport username expansion in SSHGitClient
milki [Thu, 10 Jan 2013 04:02:01 +0000]
Support username expansion in SSHGitClient

Use same expansion present in TCPGitClient

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

2 weeks agoClarify HACKING, add note on unit tests.
Jelmer Vernooij [Sat, 4 May 2013 15:17:23 +0000]
Clarify HACKING, add note on unit tests.

2 weeks agoProvide OrderedDict fallback for Python < 2.6, fix test.
Jelmer Vernooij [Sat, 4 May 2013 14:58:55 +0000]
Provide OrderedDict fallback for Python < 2.6, fix test.

2 weeks agoPreserve the order of configuration files.
Benjamin Pollack [Thu, 10 Jan 2013 17:30:40 +0000]
Preserve the order of configuration files.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

2 weeks agoAdd support for honoring core/filemode when building trees.
Jelmer Vernooij [Sat, 4 May 2013 14:41:26 +0000]
Add support for honoring core/filemode when building trees.

2 weeks agoadd honor_filemode flag to build_index_from_tree
Mark Mikofski [Tue, 9 Apr 2013 06:12:01 +0000]
add honor_filemode flag to build_index_from_tree

Signed-off-by: Mark Mikofski <mark.mikofski@sunpowercorp.com>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

2 weeks agoUpdate NEWS for get_transport_and_path relative path fix.
Jelmer Vernooij [Sat, 4 May 2013 14:28:36 +0000]
Update NEWS for get_transport_and_path relative path fix.

2 weeks agoUpdate NEWS, provide way to force diffing of binary files.
Jelmer Vernooij [Sat, 4 May 2013 14:26:37 +0000]
Update NEWS, provide way to force diffing of binary files.

2 weeks agoAdded tests for write_object_diff with binary files
Takeshi Kanemoto [Sun, 13 Jan 2013 20:56:05 +0000]
Added tests for write_object_diff with binary files

Added tests for patch.write_object_diff's binary comparison
behaviour.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

2 weeks agoMake patch.write_object_diff suppress diff for binary files
Takeshi Kanemoto [Wed, 19 Dec 2012 16:19:45 +0000]
Make patch.write_object_diff suppress diff for binary files

For commits with lots of binary files or large binary files, the
memory usage in write_object_diff could get quite nasty.

Moreover, it is not really interesting to see the binary level
diff for binary files.

This change makes write_object_diff display a line saying
"Binary files a/<old_path> and b/<new_path> differ" instead
of the unified diff for files that it deems "binary" like, using
the same strategy used in the `git diff` command [1].

1. http://git.kernel.org/?p=git/git.git;a=blob;f=xdiff-interface.c#l197

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

2 weeks agotest_client: Put separate tests into their own methods.
Jelmer Vernooij [Thu, 2 May 2013 23:03:18 +0000]
test_client: Put separate tests into their own methods.

2 weeks agoFix URL handling so that git+ssh:// is treated like git's ssh:// * fixed unit test...
Brian Visel [Thu, 2 May 2013 03:57:09 +0000]
Fix URL handling so that git+ssh:// is treated like git's ssh:// * fixed unit test as well

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

2 weeks agoweb: Some formatting fixes.
Jelmer Vernooij [Thu, 2 May 2013 22:56:17 +0000]
web: Some formatting fixes.

2 weeks agoFix PEP8 compatibility of setup.py.
Jelmer Vernooij [Thu, 2 May 2013 22:33:37 +0000]
Fix PEP8 compatibility of setup.py.

2 weeks agoSimplify parsing for multi-line fields.
Jelmer Vernooij [Thu, 2 May 2013 22:14:11 +0000]
Simplify parsing for multi-line fields.

2 weeks agoAdd support for mergetags.
milki [Thu, 2 May 2013 21:26:53 +0000]
Add support for mergetags.

Bug: https://bugs.launchpad.net/dulwich/+bug/963525

2 weeks agoUse indentation in config file consistent with C Git.
Jelmer Vernooij [Thu, 2 May 2013 02:31:50 +0000]
Use indentation in config file consistent with C Git.

Bug: https://bugs.launchpad.net/dulwich/+bug/1031356

5 months agoReplace docstring with comments; breaks epydoc.
Jelmer Vernooij [Wed, 5 Dec 2012 04:36:52 +0000]
Replace docstring with comments; breaks epydoc.

5 months agoMerge push efficiency fixes from Artem Tikhomirov.
Jelmer Vernooij [Wed, 5 Dec 2012 04:31:07 +0000]
Merge push efficiency fixes from Artem Tikhomirov.

5 months agoSome more formatting fixes.
Jelmer Vernooij [Wed, 5 Dec 2012 04:29:34 +0000]
Some more formatting fixes.

5 months agoUpdate NEWS.
Jelmer Vernooij [Wed, 5 Dec 2012 04:29:26 +0000]
Update NEWS.

5 months agoformatting fixes, trailing whitespace, unused imports.
Jelmer Vernooij [Wed, 5 Dec 2012 04:25:07 +0000]
formatting fixes, trailing whitespace, unused imports.

5 months agoBug 562676: Push efficiency - report missing objects only.
Artem Tikhomirov [Wed, 5 Dec 2012 04:21:44 +0000]
Bug 562676: Push efficiency - report missing objects only.

Fix with tests.

5 months agoStart on 0.9.0 (again).
Jelmer Vernooij [Tue, 27 Nov 2012 15:56:24 +0000]
Start on 0.9.0 (again).

5 months agoRelease 0.8.7. dulwich-0.8.7
Jelmer Vernooij [Tue, 27 Nov 2012 15:54:45 +0000]
Release 0.8.7.

5 months agoFix compatibilithy with Python 2.4.
David Carr [Thu, 22 Nov 2012 15:01:09 +0000]
Fix compatibilithy with Python 2.4.

6 months agoMerge fix for use of alternates in DiskObjectStore.__contains__ and DiskObjectStore...
Jelmer Vernooij [Wed, 14 Nov 2012 10:30:57 +0000]
Merge fix for use of alternates in DiskObjectStore.__contains__ and DiskObjectStore.__iter__.

6 months agoUpdate NEWS.
Jelmer Vernooij [Wed, 14 Nov 2012 10:30:30 +0000]
Update NEWS.

6 months agoSimplify checking of alternates in __contains__.
Jelmer Vernooij [Wed, 14 Nov 2012 10:27:04 +0000]
Simplify checking of alternates in __contains__.

6 months agoalternates: remove contains_alternate() and move the code inside __contains__
Dmitriy [Tue, 13 Nov 2012 15:11:55 +0000]
alternates: remove contains_alternate() and move the code inside __contains__

6 months agoalternates: test for __contains__
Dmitriy [Mon, 12 Nov 2012 21:41:59 +0000]
alternates: test for __contains__

6 months agoalternates: add alternates check to __contains__ and __iter__ to make it match __geti...
Dmitriy [Mon, 12 Nov 2012 17:09:26 +0000]
alternates: add alternates check to __contains__ and __iter__ to make it match __getitem__.

6 months agoStart on 0.9.0.
Jelmer Vernooij [Wed, 14 Nov 2012 10:02:35 +0000]
Start on 0.9.0.

6 months agoRelease 0.8.6. dulwich-0.8.6
Jelmer Vernooij [Fri, 9 Nov 2012 22:37:21 +0000]
Release 0.8.6.

6 months agoMerge support for large pack index files.
Jelmer Vernooij [Tue, 30 Oct 2012 23:23:57 +0000]
Merge support for large pack index files.

6 months agopack: Split testing of large pack index files into separate test.
Jelmer Vernooij [Tue, 30 Oct 2012 23:23:02 +0000]
pack: Split testing of large pack index files into separate test.

6 months agoadd a test for reading and writing large offsets into index files
Jameson Nash [Mon, 29 Oct 2012 07:52:48 +0000]
add a test for reading and writing large offsets into index files

6 months agoadd support for writing large pack files
Jameson Nash [Mon, 29 Oct 2012 07:16:56 +0000]
add support for writing large pack files

6 months agoadd large table support to reading PackIndex2 files
Jameson Nash [Sat, 27 Oct 2012 06:11:54 +0000]
add large table support to reading PackIndex2 files

7 months agoclient: Invert logic for thin-packs.
Jelmer Vernooij [Wed, 3 Oct 2012 14:22:54 +0000]
client: Invert logic for thin-packs.

7 months agoPrint refs after fetch.
Jelmer Vernooij [Wed, 3 Oct 2012 13:53:02 +0000]
Print refs after fetch.

7 months agoclient: In get_transport_and_path, pass kwargs on to HttpGitClient.
Jelmer Vernooij [Mon, 24 Sep 2012 18:57:24 +0000]
client: In get_transport_and_path, pass kwargs on to HttpGitClient.

8 months agoProtocol does not have a recv attritbue.
Jonathan Chu [Mon, 3 Sep 2012 01:21:42 +0000]
Protocol does not have a recv attritbue.
This causes dul-receive-pack to throw an error.

Fixes a bug where an AttributeError is thrown when dul-receive-pack is
run. This is caused due to the fact that the default protocol used is
the Protocol class, which does not have recv defined.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

8 months agoAdd function for testing whether to ignore specific error.
Jelmer Vernooij [Sun, 26 Aug 2012 19:25:56 +0000]
Add function for testing whether to ignore specific error.

8 months agoAdd 'make check-compat'.
Jelmer Vernooij [Sun, 26 Aug 2012 19:25:44 +0000]
Add 'make check-compat'.

8 months agogitignore: Ignore vim swap files.
Jelmer Vernooij [Sun, 26 Aug 2012 18:07:29 +0000]
gitignore: Ignore vim swap files.

8 months agoadd a test for "Do not crash when cloning HEAD-less repo" with empty.git test data
DeeKey [Fri, 3 Aug 2012 21:25:47 +0000]
add a test for "Do not crash when cloning HEAD-less repo" with empty.git test data

Conflicts:
dulwich/tests/test_repository.py

Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>

8 months agofix http test on osx
Yifan Zhang [Tue, 26 Jun 2012 22:32:20 +0000]
fix http test on osx

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

8 months agoPrevent errors about string formatting when tuples are passed.
Jelmer Vernooij [Sun, 26 Aug 2012 12:38:44 +0000]
Prevent errors about string formatting when tuples are passed.

8 months agoSupport MemoryRepo.get_config.
Jelmer Vernooij [Sun, 26 Aug 2012 12:33:59 +0000]
Support MemoryRepo.get_config.

9 months agoMerge fix for cloning repositories without HEAD set.
Jelmer Vernooij [Fri, 3 Aug 2012 22:04:10 +0000]
Merge fix for cloning repositories without HEAD set.

9 months agoDon't create a working tree if there is no HEAD in Repo.clone.
Jelmer Vernooij [Fri, 3 Aug 2012 22:01:23 +0000]
Don't create a working tree if there is no HEAD in Repo.clone.

9 months agoAdd test for cloning a repository without a HEAD.
Jelmer Vernooij [Fri, 3 Aug 2012 22:01:07 +0000]
Add test for cloning a repository without a HEAD.

9 months agoFix syntax errors in docstrings.
Jelmer Vernooij [Fri, 3 Aug 2012 21:52:12 +0000]
Fix syntax errors in docstrings.

9 months agoFix syntax error in NEWS.
Jelmer Vernooij [Fri, 3 Aug 2012 21:51:17 +0000]
Fix syntax error in NEWS.

9 months agoMerge fix for handling None elements in list of TreeChange objects.
Jelmer Vernooij [Fri, 3 Aug 2012 21:43:18 +0000]
Merge fix for handling None elements in list of TreeChange objects.

9 months agoDo not crash when cloning HEAD-less repo
D-Key [Thu, 2 Aug 2012 21:22:27 +0000]
Do not crash when cloning HEAD-less repo

For a git repository HEAD reference is optional.
.clone() would crash at the attempt to update
target repo 'HEAD' reference if source repo is HEAD-less.

10 months agoMerge support for fallback_app argument to HTTPGitApplication.
Jelmer Vernooij [Wed, 18 Jul 2012 10:32:39 +0000]
Merge support for fallback_app argument to HTTPGitApplication.

10 months agoTest for `fallback_app` (236052093a22fabbb52657f8d36bd02642e5e288)
Jonas Haag [Mon, 16 Jul 2012 20:37:49 +0000]
Test for `fallback_app` (236052093a22fabbb52657f8d36bd02642e5e288)

10 months agoAdded a `fallback_app` to Smart HTTP support to allow easy integration with other...
Jonas Haag [Mon, 16 Jul 2012 17:26:16 +0000]
Added a `fallback_app` to Smart HTTP support to allow easy integration with other WSGI apps

10 months agoCherry-pick test for large buffer deltas.
Jelmer Vernooij [Fri, 13 Jul 2012 16:56:14 +0000]
Cherry-pick test for large buffer deltas.

Original change from yifanzhang at https://github.com/yifanzhang/dulwich

10 months agoMerge fix for crashing empty time-based walkers.
Jelmer Vernooij [Fri, 13 Jul 2012 13:48:24 +0000]
Merge fix for crashing empty time-based walkers.

10 months agoAdd unit test for crash-on-empty-walk
Benjamin Pollack [Fri, 13 Jul 2012 13:29:50 +0000]
Add unit test for crash-on-empty-walk

10 months agoTake copy of refs when invoking determine_wants callback.
Andi McClure [Fri, 13 Jul 2012 11:51:15 +0000]
Take copy of refs when invoking determine_wants callback.

This avoids breakage if the callback happens to change the value that was
passed in.

Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>

10 months agoRun all tests in ``setup.py test``.
Jelmer Vernooij [Wed, 11 Jul 2012 23:42:57 +0000]
Run all tests in ``setup.py test``.

10 months agoDo not crash when trying to walk an empty set
Benjamin Pollack [Wed, 11 Jul 2012 14:37:34 +0000]
Do not crash when trying to walk an empty set

10 months agoUse skipTest rather than skip, as the latter isn't available without testtools. Thank...
Jelmer Vernooij [Wed, 11 Jul 2012 12:48:11 +0000]
Use skipTest rather than skip, as the latter isn't available without testtools. Thanks, milki.

10 months agoMerge typo fix in docstring from milki.
Jelmer Vernooij [Wed, 11 Jul 2012 12:45:50 +0000]
Merge typo fix in docstring from milki.

10 months agotypo
milki [Wed, 11 Jul 2012 06:02:00 +0000]
typo

10 months agoskip isn't a valid function. its skipTest!
milki [Wed, 11 Jul 2012 05:42:27 +0000]
skip isn't a valid function. its skipTest!

10 months agoMerge fix for Commit._deserialize actually using passed in chunks. Thanks Yifan Zhang.
Jelmer Vernooij [Sat, 23 Jun 2012 10:55:56 +0000]
Merge fix for Commit._deserialize actually using passed in chunks. Thanks Yifan Zhang.

10 months agotest for commit _deserialize
Yifan Zhang [Fri, 22 Jun 2012 23:08:52 +0000]
test for commit _deserialize

10 months agotypo fix
Yifan Zhang [Fri, 22 Jun 2012 22:26:22 +0000]
typo fix

11 months agoMerge support for ConfigDict behaving more like a dictionary.
Jelmer Vernooij [Mon, 18 Jun 2012 00:10:20 +0000]
Merge support for ConfigDict behaving more like a dictionary.

11 months agoWrote tests for the ConfigDict dict changes
Adam 'Cezar' Jenkins [Wed, 13 Jun 2012 02:21:23 +0000]
Wrote tests for the ConfigDict dict changes

11 months agoConfigDict should act like a dictionary
Adam "Cezar" Jenkins [Tue, 12 Jun 2012 19:22:56 +0000]
ConfigDict should act like a dictionary

11 months agoUnit test for loading a git submodule
Nick Ward [Mon, 14 May 2012 15:09:28 +0000]
Unit test for loading a git submodule

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

11 months agoQuick fix for git submodules
Nick Ward [Thu, 10 May 2012 16:43:04 +0000]
Quick fix for git submodules

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

12 months agofixes dulwich issue #54
Marcin Kuzminski [Fri, 27 Apr 2012 16:32:50 +0000]
fixes dulwich issue #54

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

12 months agoRename .bzrignore to .gitignore.
Jelmer Vernooij [Tue, 24 Apr 2012 20:16:53 +0000]
Rename .bzrignore to .gitignore.

12 months agoSupport DESTDIR in the Makefile.
Nix [Tue, 24 Apr 2012 20:15:59 +0000]
Support DESTDIR in the Makefile.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

12 months ago_pack.c: Check for NULL return from Py_BuildValue.
Jelmer Vernooij [Thu, 19 Apr 2012 23:46:29 +0000]
_pack.c: Check for NULL return from Py_BuildValue.

12 months ago_pack.c: Consistently use tabs for indentation.
Jelmer Vernooij [Thu, 19 Apr 2012 23:42:28 +0000]
_pack.c: Consistently use tabs for indentation.

12 months ago_objects.c: Cope with sha_to_pyhex returning NULL.
Jelmer Vernooij [Thu, 19 Apr 2012 10:48:13 +0000]
_objects.c: Cope with sha_to_pyhex returning NULL.

Thanks to Lawrence D'Oliveiro for pointing this out.

13 months agoMake index entry tests a little bit less strict, to cope with
Jelmer Vernooij [Mon, 2 Apr 2012 10:37:42 +0000]
Make index entry tests a little bit less strict, to cope with
slightly different behaviour on various platforms.

13 months agoRemove explicit testing of uid and gid in tests of index files.
Jelmer Vernooij [Mon, 2 Apr 2012 10:29:11 +0000]
Remove explicit testing of uid and gid in tests of index files.

These tend to be the cause of failures on various systems, they're
not as predictable as we were hoping.

13 months agoHandle None elements in lists of TreeChange objects
Alex Holmes [Sun, 1 Apr 2012 00:32:55 +0000]
Handle None elements in lists of TreeChange objects

The docstring of diff_tree.tree_changes_for_merge reports that it yields
lists of TreeChange objects, and that "An element may be None...".

13 months agodulwich.__init__ no longer imports client, protocol, repo and
Jelmer Vernooij [Thu, 29 Mar 2012 13:35:28 +0000]
dulwich.__init__ no longer imports client, protocol, repo and
server modules.

13 months agoStart on 0.8.6.
Jelmer Vernooij [Thu, 29 Mar 2012 13:34:51 +0000]
Start on 0.8.6.

13 months agoRelease 0.8.5. dulwich-0.8.5
Jelmer Vernooij [Thu, 29 Mar 2012 13:30:55 +0000]
Release 0.8.5.

13 months agoBe a little bit strict about OS behaviour in index tests.
Jelmer Vernooij [Thu, 29 Mar 2012 00:21:54 +0000]
Be a little bit strict about OS behaviour in index tests.

Should fix the tests on Debian GNU/kFreeBSD.

13 months agoAvoid use of 'with' in dulwich.index, fixes compatibility with python < 2.5.
Jelmer Vernooij [Wed, 28 Mar 2012 20:42:25 +0000]
Avoid use of 'with' in dulwich.index, fixes compatibility with python < 2.5.