Jelmer Vernooij [Tue, 27 Nov 2012 15:54:45 +0000 (16:54 +0100)]
Release 0.8.7.
David Carr [Thu, 22 Nov 2012 15:01:09 +0000 (15:01 +0000)]
Fix compatibilithy with Python 2.4.
Jelmer Vernooij [Wed, 14 Nov 2012 10:30:57 +0000 (11:30 +0100)]
Merge fix for use of alternates in DiskObjectStore.__contains__ and DiskObjectStore.__iter__.
Jelmer Vernooij [Wed, 14 Nov 2012 10:30:30 +0000 (11:30 +0100)]
Update NEWS.
Jelmer Vernooij [Wed, 14 Nov 2012 10:27:04 +0000 (11:27 +0100)]
Simplify checking of alternates in __contains__.
Dmitriy [Tue, 13 Nov 2012 15:11:55 +0000 (10:11 -0500)]
alternates: remove contains_alternate() and move the code inside __contains__
Dmitriy [Mon, 12 Nov 2012 21:41:59 +0000 (16:41 -0500)]
alternates: test for __contains__
Dmitriy [Mon, 12 Nov 2012 17:09:26 +0000 (12:09 -0500)]
alternates: add alternates check to __contains__ and __iter__ to make it match __getitem__.
Jelmer Vernooij [Wed, 14 Nov 2012 10:02:35 +0000 (11:02 +0100)]
Start on 0.9.0.
Jelmer Vernooij [Fri, 9 Nov 2012 22:37:21 +0000 (23:37 +0100)]
Release 0.8.6.
Jelmer Vernooij [Tue, 30 Oct 2012 23:23:57 +0000 (00:23 +0100)]
Merge support for large pack index files.
Jelmer Vernooij [Tue, 30 Oct 2012 23:23:02 +0000 (00:23 +0100)]
pack: Split testing of large pack index files into separate test.
Jameson Nash [Mon, 29 Oct 2012 07:52:48 +0000 (03:52 -0400)]
add a test for reading and writing large offsets into index files
Jameson Nash [Mon, 29 Oct 2012 07:16:56 +0000 (03:16 -0400)]
add support for writing large pack files
Jameson Nash [Sat, 27 Oct 2012 06:11:54 +0000 (02:11 -0400)]
add large table support to reading PackIndex2 files
Jelmer Vernooij [Wed, 3 Oct 2012 14:22:54 +0000 (16:22 +0200)]
client: Invert logic for thin-packs.
Jelmer Vernooij [Wed, 3 Oct 2012 13:53:02 +0000 (15:53 +0200)]
Print refs after fetch.
Jelmer Vernooij [Mon, 24 Sep 2012 18:57:24 +0000 (20:57 +0200)]
client: In get_transport_and_path, pass kwargs on to HttpGitClient.
Jonathan Chu [Mon, 3 Sep 2012 01:21:42 +0000 (18:21 -0700)]
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>
Jelmer Vernooij [Sun, 26 Aug 2012 19:25:56 +0000 (21:25 +0200)]
Add function for testing whether to ignore specific error.
Jelmer Vernooij [Sun, 26 Aug 2012 19:25:44 +0000 (21:25 +0200)]
Add 'make check-compat'.
Jelmer Vernooij [Sun, 26 Aug 2012 18:07:29 +0000 (20:07 +0200)]
gitignore: Ignore vim swap files.
DeeKey [Fri, 3 Aug 2012 21:25:47 +0000 (17:25 -0400)]
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>
Yifan Zhang [Tue, 26 Jun 2012 22:32:20 +0000 (23:32 +0100)]
fix http test on osx
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Sun, 26 Aug 2012 12:38:44 +0000 (14:38 +0200)]
Prevent errors about string formatting when tuples are passed.
Jelmer Vernooij [Sun, 26 Aug 2012 12:33:59 +0000 (14:33 +0200)]
Support MemoryRepo.get_config.
Jelmer Vernooij [Fri, 3 Aug 2012 22:04:10 +0000 (00:04 +0200)]
Merge fix for cloning repositories without HEAD set.
Jelmer Vernooij [Fri, 3 Aug 2012 22:01:23 +0000 (00:01 +0200)]
Don't create a working tree if there is no HEAD in Repo.clone.
Jelmer Vernooij [Fri, 3 Aug 2012 22:01:07 +0000 (00:01 +0200)]
Add test for cloning a repository without a HEAD.
Jelmer Vernooij [Fri, 3 Aug 2012 21:52:12 +0000 (23:52 +0200)]
Fix syntax errors in docstrings.
Jelmer Vernooij [Fri, 3 Aug 2012 21:51:17 +0000 (23:51 +0200)]
Fix syntax error in NEWS.
Jelmer Vernooij [Fri, 3 Aug 2012 21:43:18 +0000 (23:43 +0200)]
Merge fix for handling None elements in list of TreeChange objects.
D-Key [Thu, 2 Aug 2012 21:22:27 +0000 (18:22 -0300)]
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.
Jelmer Vernooij [Wed, 18 Jul 2012 10:32:39 +0000 (12:32 +0200)]
Merge support for fallback_app argument to HTTPGitApplication.
Jonas Haag [Mon, 16 Jul 2012 20:37:49 +0000 (22:37 +0200)]
Jonas Haag [Mon, 16 Jul 2012 17:26:16 +0000 (19:26 +0200)]
Added a `fallback_app` to Smart HTTP support to allow easy integration with other WSGI apps
Jelmer Vernooij [Fri, 13 Jul 2012 16:56:14 +0000 (18:56 +0200)]
Cherry-pick test for large buffer deltas.
Original change from yifanzhang at https://github.com/yifanzhang/dulwich
Jelmer Vernooij [Fri, 13 Jul 2012 13:48:24 +0000 (15:48 +0200)]
Merge fix for crashing empty time-based walkers.
Benjamin Pollack [Fri, 13 Jul 2012 13:29:50 +0000 (09:29 -0400)]
Add unit test for crash-on-empty-walk
Andi McClure [Fri, 13 Jul 2012 11:51:15 +0000 (13:51 +0200)]
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>
Jelmer Vernooij [Wed, 11 Jul 2012 23:42:57 +0000 (01:42 +0200)]
Run all tests in ``setup.py test``.
Benjamin Pollack [Wed, 11 Jul 2012 14:37:34 +0000 (10:37 -0400)]
Do not crash when trying to walk an empty set
Jelmer Vernooij [Wed, 11 Jul 2012 12:48:11 +0000 (14:48 +0200)]
Use skipTest rather than skip, as the latter isn't available without testtools. Thanks, milki.
Jelmer Vernooij [Wed, 11 Jul 2012 12:45:50 +0000 (14:45 +0200)]
Merge typo fix in docstring from milki.
milki [Wed, 11 Jul 2012 06:02:00 +0000 (23:02 -0700)]
typo
milki [Wed, 11 Jul 2012 05:42:27 +0000 (22:42 -0700)]
skip isn't a valid function. its skipTest!
Jelmer Vernooij [Sat, 23 Jun 2012 10:55:56 +0000 (12:55 +0200)]
Merge fix for Commit._deserialize actually using passed in chunks. Thanks Yifan Zhang.
Yifan Zhang [Fri, 22 Jun 2012 23:08:52 +0000 (00:08 +0100)]
test for commit _deserialize
Yifan Zhang [Fri, 22 Jun 2012 22:26:22 +0000 (23:26 +0100)]
typo fix
Jelmer Vernooij [Mon, 18 Jun 2012 00:10:20 +0000 (02:10 +0200)]
Merge support for ConfigDict behaving more like a dictionary.
Adam 'Cezar' Jenkins [Wed, 13 Jun 2012 02:21:23 +0000 (21:21 -0500)]
Wrote tests for the ConfigDict dict changes
Adam "Cezar" Jenkins [Tue, 12 Jun 2012 19:22:56 +0000 (14:22 -0500)]
ConfigDict should act like a dictionary
Nick Ward [Mon, 14 May 2012 15:09:28 +0000 (16:09 +0100)]
Unit test for loading a git submodule
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Nick Ward [Thu, 10 May 2012 16:43:04 +0000 (17:43 +0100)]
Quick fix for git submodules
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Marcin Kuzminski [Fri, 27 Apr 2012 16:32:50 +0000 (18:32 +0200)]
fixes dulwich issue #54
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Tue, 24 Apr 2012 20:16:53 +0000 (22:16 +0200)]
Rename .bzrignore to .gitignore.
Nix [Tue, 24 Apr 2012 20:15:59 +0000 (22:15 +0200)]
Support DESTDIR in the Makefile.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Thu, 19 Apr 2012 23:46:29 +0000 (01:46 +0200)]
_pack.c: Check for NULL return from Py_BuildValue.
Jelmer Vernooij [Thu, 19 Apr 2012 23:42:28 +0000 (01:42 +0200)]
_pack.c: Consistently use tabs for indentation.
Jelmer Vernooij [Thu, 19 Apr 2012 10:48:13 +0000 (12:48 +0200)]
_objects.c: Cope with sha_to_pyhex returning NULL.
Thanks to Lawrence D'Oliveiro for pointing this out.
Jelmer Vernooij [Mon, 2 Apr 2012 10:37:42 +0000 (12:37 +0200)]
Make index entry tests a little bit less strict, to cope with
slightly different behaviour on various platforms.
Jelmer Vernooij [Mon, 2 Apr 2012 10:29:11 +0000 (12:29 +0200)]
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.
Alex Holmes [Sun, 1 Apr 2012 00:32:55 +0000 (01:32 +0100)]
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...".
Jelmer Vernooij [Thu, 29 Mar 2012 13:35:28 +0000 (15:35 +0200)]
dulwich.__init__ no longer imports client, protocol, repo and
server modules.
Jelmer Vernooij [Thu, 29 Mar 2012 13:34:51 +0000 (15:34 +0200)]
Start on 0.8.6.
Jelmer Vernooij [Thu, 29 Mar 2012 13:30:55 +0000 (15:30 +0200)]
Release 0.8.5.
Jelmer Vernooij [Thu, 29 Mar 2012 00:21:54 +0000 (02:21 +0200)]
Be a little bit strict about OS behaviour in index tests.
Should fix the tests on Debian GNU/kFreeBSD.
Jelmer Vernooij [Wed, 28 Mar 2012 20:42:25 +0000 (22:42 +0200)]
Avoid use of 'with' in dulwich.index, fixes compatibility with python < 2.5.
Jelmer Vernooij [Wed, 28 Mar 2012 12:08:35 +0000 (14:08 +0200)]
Start on 0.8.5.
Jelmer Vernooij [Wed, 28 Mar 2012 12:05:50 +0000 (14:05 +0200)]
Release 0.8.4.
Jelmer Vernooij [Mon, 26 Mar 2012 21:16:25 +0000 (23:16 +0200)]
objects: Fix default type of Commit.extra.
Jelmer Vernooij [Mon, 26 Mar 2012 21:16:03 +0000 (23:16 +0200)]
client: Fix check for 'report-status' capability.
Jelmer Vernooij [Wed, 21 Mar 2012 19:27:22 +0000 (20:27 +0100)]
Merge addition of dulwich.index.build_index_from_tree from milki.
Jelmer Vernooij [Mon, 19 Mar 2012 23:44:54 +0000 (00:44 +0100)]
Merge fix from kankri to reset environment variables during tests, to avoid
test isolation leaks reading ~/.gitconfig.
Jelmer Vernooij [Mon, 19 Mar 2012 23:42:22 +0000 (00:42 +0100)]
Some refactoring, put all os.environ-cleaning functionality in TestCase.setUp().
Jelmer Vernooij [Mon, 19 Mar 2012 23:33:16 +0000 (00:33 +0100)]
merge trunk
Jelmer Vernooij [Tue, 13 Mar 2012 01:19:34 +0000 (02:19 +0100)]
Merge removal of unused variable.
codingtony [Tue, 13 Mar 2012 01:10:49 +0000 (21:10 -0400)]
removed unused variable
Jelmer Vernooij [Mon, 12 Mar 2012 14:49:51 +0000 (15:49 +0100)]
Remove more uses of deprecated assertEquals.
Jelmer Vernooij [Mon, 12 Mar 2012 11:20:43 +0000 (12:20 +0100)]
Merge gzip filter support.
Jelmer Vernooij [Mon, 12 Mar 2012 02:57:55 +0000 (03:57 +0100)]
Avoid using custom gzip module and incrementally parse.
David Blewett [Mon, 12 Mar 2012 02:38:56 +0000 (03:38 +0100)]
Added WSGI middleware to handle transparent gzip decoding
(dulwich.web.GunzipFilter).
Added WSGI middleware to handle ensuring the wsgi.input is correctly
limited to the Content-Length value (dulwich.web.LimitedInputFilter).
Added a factory function (dulwich.web.make_wsgi_chain) to create an
instance of HTTPGitApplication, wrapped in the WSGI middleware.
Added tests to ensure the gzip decoder functions correctly.
Jelmer Vernooij [Sun, 11 Mar 2012 02:01:52 +0000 (03:01 +0100)]
Use TestCase.assertEqual rather than TestCase.assertEquals.
Jelmer Vernooij [Sun, 4 Mar 2012 20:57:41 +0000 (21:57 +0100)]
Fix formatting timezones so that it is possible to regenerate --700 timezones.
Jelmer Vernooij [Sun, 4 Mar 2012 17:09:38 +0000 (18:09 +0100)]
Fix two pydoctor warnings.
Jelmer Vernooij [Sat, 3 Mar 2012 18:39:49 +0000 (19:39 +0100)]
Merge fix for parsing of invalid timezones from Jason R. Coombs.
Jason R. Coombs [Sat, 3 Mar 2012 03:11:38 +0000 (22:11 -0500)]
Expanded parse_timezone to accept double-negatives to be consistent with cgit implementation. Fixes #697828.
Jelmer Vernooij [Thu, 1 Mar 2012 20:25:03 +0000 (21:25 +0100)]
Merge patch from Sam Vilain to pass arguments to get_transport_and_path on to the constructor of the transport.
Sam Vilain [Thu, 1 Mar 2012 20:04:42 +0000 (12:04 -0800)]
Add support for client init args in get_transport_and_path
If you want to pass arguments to the client construction, without re–
producing the logic in get_transport_and_path which decides on the
appropriate client class to use, you're pretty much out of luck. So,
accept and pass through keyword arguments.
Jelmer Vernooij [Mon, 20 Feb 2012 12:04:20 +0000 (13:04 +0100)]
Fix python2.4 compatibility.
Jelmer Vernooij [Mon, 20 Feb 2012 11:59:58 +0000 (12:59 +0100)]
Merge support for only negotiating capabilities that are also supported by the
server.
Rod Cloutier [Mon, 20 Feb 2012 02:31:16 +0000 (21:31 -0500)]
Added test to validate side bank 64k is not parsed if server does not specify it
Risto Kankkunen [Sat, 18 Feb 2012 21:43:16 +0000 (23:43 +0200)]
Fix capability negotiation in dulwich.client
Assume only capabilities the server announced.
milki [Sun, 12 Feb 2012 00:20:11 +0000 (16:20 -0800)]
Change add_object to add_objects
milki [Sun, 12 Feb 2012 00:02:27 +0000 (16:02 -0800)]
Fix pep8
milki [Sat, 11 Feb 2012 23:56:49 +0000 (15:56 -0800)]
Construct modes instead of magic modes
milki [Sat, 11 Feb 2012 23:53:16 +0000 (15:53 -0800)]
Make index entry tests explicit
Jelmer Vernooij [Thu, 9 Feb 2012 23:03:57 +0000 (00:03 +0100)]
Merge fix for formatting of 'extension not found' messages.
Jelmer Vernooij [Thu, 9 Feb 2012 23:00:58 +0000 (00:00 +0100)]
Merge fix to call parent constructor rather than grandparent. Thanks, kankri.
Jelmer Vernooij [Thu, 9 Feb 2012 22:41:58 +0000 (23:41 +0100)]
Some more docstrings.