Jelmer Vernooij [Sun, 3 Jul 2016 19:12:17 +0000 (19:12 +0000)]
Release 0.14.0.
Jelmer Vernooij [Sun, 3 Jul 2016 15:53:45 +0000 (15:53 +0000)]
Allow ZERO_SHA to mean 'does not exist' when setting/removing refs.
Jelmer Vernooij [Sun, 3 Jul 2016 15:41:39 +0000 (15:41 +0000)]
Fix some pyflakes warnings.
Jelmer Vernooij [Sun, 3 Jul 2016 13:43:37 +0000 (13:43 +0000)]
Stop magic protocol ref `capabilities^{}` from leaking out to users.
Fixes #254
Jelmer Vernooij [Sun, 3 Jul 2016 13:23:02 +0000 (13:23 +0000)]
Support removing refs from porcelain.push(). Fixes #437.
Jelmer Vernooij [Sun, 3 Jul 2016 12:50:45 +0000 (12:50 +0000)]
Add some documentation.
Jelmer Vernooij [Sun, 3 Jul 2016 11:11:23 +0000 (11:11 +0000)]
Add backwards compatibility wrapper for RefsContainer._follow.
Jelmer Vernooij [Sat, 2 Jul 2016 15:22:29 +0000 (15:22 +0000)]
Allow ZERO_SHA to be used to mean 'ref should not exist'.
Jelmer Vernooij [Sat, 2 Jul 2016 15:00:51 +0000 (15:00 +0000)]
Add test for pushing of ref deletes.
Jelmer Vernooij [Sat, 2 Jul 2016 14:49:17 +0000 (14:49 +0000)]
Use conditional set/remove to cope with race conditions.
Jelmer Vernooij [Sat, 2 Jul 2016 14:31:54 +0000 (14:31 +0000)]
Add RefsContainer.follow() method. Addresses issue #438.
Julian Berman [Fri, 24 Jun 2016 20:01:15 +0000 (16:01 -0400)]
A test for default tag timing.
Julian Berman [Fri, 24 Jun 2016 19:55:19 +0000 (15:55 -0400)]
Fix ref parsing for refs with no left side.
Julian Berman [Thu, 23 Jun 2016 14:53:26 +0000 (10:53 -0400)]
Properly set default tag times to now when unprovided.
Julian Berman [Wed, 22 Jun 2016 20:08:14 +0000 (16:08 -0400)]
Fix a presumed typo, which breaks deleting refs.
Jelmer Vernooij [Wed, 8 Jun 2016 00:14:28 +0000 (00:14 +0000)]
Fix python3 compatibility.
Jelmer Vernooij [Wed, 8 Jun 2016 00:07:00 +0000 (00:07 +0000)]
Add parse_submodules function.
Jelmer Vernooij [Tue, 7 Jun 2016 23:37:51 +0000 (23:37 +0000)]
Check refname/sha1 types.
Jelmer Vernooij [Tue, 7 Jun 2016 22:27:19 +0000 (22:27 +0000)]
Presence in the index doesn't imply presence on disk.
Julian Berman [Tue, 31 May 2016 19:34:10 +0000 (15:34 -0400)]
file_like.encoding can be None.
It is specifically if stdout or stderr is just a regular open file, i.e.
open("foo", "w").encoding == None.
Jelmer Vernooij [Mon, 6 Jun 2016 16:18:07 +0000 (16:18 +0000)]
Fix tests when running in ASCII environment. (#433).
Jelmer Vernooij [Wed, 18 May 2016 00:05:11 +0000 (00:05 +0000)]
Fix markdown syntax for installation with pure mode.
Elan Ruusamäe [Tue, 3 May 2016 18:57:59 +0000 (21:57 +0300)]
Update protocol.txt
typo
Kyle Kelly [Fri, 29 Apr 2016 20:49:49 +0000 (13:49 -0700)]
porcelain add and commit correctly
Jelmer Vernooij [Thu, 28 Apr 2016 21:49:23 +0000 (21:49 +0000)]
Fix syntax for dulwich.config.StackedConfig.default_backends docstring.
Julian Berman [Thu, 28 Apr 2016 19:44:49 +0000 (15:44 -0400)]
Add support for $XDG_CONFIG_HOME/git/config and GIT_CONFIG_NOSYSTEM.
git also looks here.
Jelmer Vernooij [Wed, 27 Apr 2016 00:44:59 +0000 (00:44 +0000)]
Improve fix for ShaFile.id behaviour after as_raw_chunks.
Félix Mattrat [Tue, 26 Apr 2016 08:51:58 +0000 (10:51 +0200)]
updated the copy method of ShaFile to make sure that the id is always correct when it's copied
Jelmer Vernooij [Wed, 27 Apr 2016 00:19:17 +0000 (00:19 +0000)]
Remove deprecated _needs_parsing logic; never used.
Jelmer Vernooij [Wed, 27 Apr 2016 00:13:22 +0000 (00:13 +0000)]
Remove unused ShaFile._make_sha.
Jelmer Vernooij [Mon, 25 Apr 2016 00:20:23 +0000 (00:20 +0000)]
Disable gevent/greenlet for pypy.
Jelmer Vernooij [Sun, 24 Apr 2016 22:08:38 +0000 (22:08 +0000)]
Add dependencies for running test_greenthreads and test_swift on python3.
Jelmer Vernooij [Sun, 24 Apr 2016 21:54:14 +0000 (21:54 +0000)]
Also fix dulwich.test.test_greenthreads on python3.4.
Jelmer Vernooij [Sun, 24 Apr 2016 21:19:56 +0000 (21:19 +0000)]
Fix python3 compatibility in dulwich.greenthreads, enable travis testing. Fixes: #422
Jelmer Vernooij [Sun, 24 Apr 2016 15:17:31 +0000 (15:17 +0000)]
Start on 0.14.0.
Jelmer Vernooij [Sun, 24 Apr 2016 15:15:04 +0000 (15:15 +0000)]
Release 0.13.0.
Jelmer Vernooij [Sun, 24 Apr 2016 15:05:56 +0000 (15:05 +0000)]
Update NEWS, README.md to reflect fixing of #295.
Re-enable compat tests for web on Python3.
Jelmer Vernooij [Sun, 24 Apr 2016 14:54:09 +0000 (14:54 +0000)]
Fix fastimport support on python3.4.
Jelmer Vernooij [Sun, 24 Apr 2016 14:45:42 +0000 (14:45 +0000)]
Use assertIn / assertNotIn for easier debugging.
Jonas Haag [Sat, 23 Apr 2016 22:17:09 +0000 (00:17 +0200)]
Fix unit tests
Jonas Haag [Sat, 23 Apr 2016 21:57:33 +0000 (23:57 +0200)]
Fix #295: Python 3 compatibility for dulwich.web
Jelmer Vernooij [Fri, 22 Apr 2016 21:57:11 +0000 (21:57 +0000)]
Use copies rather than references in MemoryObjectStore.
Jelmer Vernooij [Fri, 22 Apr 2016 21:54:57 +0000 (21:54 +0000)]
Don't rely on MemoryObjectStore returning the exact same object.
Félix Mattrat [Fri, 22 Apr 2016 11:01:19 +0000 (13:01 +0200)]
Add test to verify objects stored in MemoryObjectStore can not be lost when they are modified.
Félix Mattrat [Tue, 19 Apr 2016 10:58:50 +0000 (12:58 +0200)]
when emitting a fastimport.FileModifyCommand referencing a Blob the marker need to be prefixed by :
Jelmer Vernooij [Mon, 18 Apr 2016 18:36:48 +0000 (18:36 +0000)]
Fastimport python3 support.
Jelmer Vernooij [Wed, 13 Apr 2016 02:30:00 +0000 (02:30 +0000)]
Fix Python3 client web support.
Jelmer Vernooij [Wed, 13 Apr 2016 01:39:28 +0000 (01:39 +0000)]
Avoid getheaders() - incompatible with Python3.
Jelmer Vernooij [Wed, 13 Apr 2016 01:35:23 +0000 (01:35 +0000)]
Use headers.get() to get Content-Type; improves Python3 compatibility.
Jelmer Vernooij [Wed, 13 Apr 2016 01:03:49 +0000 (01:03 +0000)]
Merge remote-tracking branch 'jonashaag/fix-140'
Jelmer Vernooij [Wed, 13 Apr 2016 01:02:24 +0000 (01:02 +0000)]
Update NEWS.
Jonas Haag [Tue, 12 Apr 2016 13:40:38 +0000 (15:40 +0200)]
Fix hang on Gzip decompression
'LimitedInputFilter' should be applied before the Gzip middleware as
'CONTENT_LENGTH' refers to the size of the *compressed* body. If
applied in wrong order, this may cause 'copyfileobj()' to try to read
more data from the socket than is available, resulting in a call to
'recv()' that hangs forever.
Jonas Haag [Tue, 12 Apr 2016 09:16:44 +0000 (11:16 +0200)]
Don't expect 'wsgi.input' to have working 'seek' method
This is a follow-up to
5a69c46 which misses the fact that even though an
input stream might have 'seek' and 'tell' methods, they do not
necessarily have to be implemented. See also http://bugs.python.org/issue12877
Jelmer Vernooij [Sun, 3 Apr 2016 15:59:47 +0000 (15:59 +0000)]
Don't use deprecated assertEquals.
Jelmer Vernooij [Sun, 3 Apr 2016 15:47:16 +0000 (15:47 +0000)]
Drop support for python 2.6.
Jelmer Vernooij [Sun, 21 Feb 2016 19:10:10 +0000 (19:10 +0000)]
Fix 'status' in newly initialized trees.
Jelmer Vernooij [Sun, 21 Feb 2016 02:16:26 +0000 (02:16 +0000)]
Merge support for empty messages in git commits and tags by Nicolas Dandrimont.
Nicolas Dandrimont [Wed, 17 Feb 2016 11:19:59 +0000 (12:19 +0100)]
.travis.yml: add Python 3.5
Nicolas Dandrimont [Wed, 17 Feb 2016 10:47:29 +0000 (11:47 +0100)]
Support completely empty messages in git objects
As it turns out, a git object can be terminated by the last header,
without empty lines. In that case, dulwich currently "eats" the last
header line, which is obviously wrong.
When such a case happens, return an object with a None message instead
of an empty line. We make sure that serialization/deserialization
still works as expected.
Nicolas Dandrimont [Wed, 17 Feb 2016 11:13:26 +0000 (12:13 +0100)]
tox.ini: add support for Python 3.5
Jonas Haag [Sun, 7 Feb 2016 18:19:09 +0000 (19:19 +0100)]
Fix a couple of compiler warnings
Damien Tournoud [Mon, 8 Feb 2016 09:37:39 +0000 (10:37 +0100)]
server: trivial comment fix
Jakub Wilk [Fri, 15 Jan 2016 23:20:42 +0000 (00:20 +0100)]
Fix typos in the documentation.
Jelmer Vernooij [Mon, 4 Jan 2016 20:51:25 +0000 (20:51 +0000)]
Support the ssh: URL scheme.
Jelmer Vernooij [Mon, 28 Dec 2015 16:34:15 +0000 (16:34 +0000)]
Provide abort() when working in thin client mode.
Gary van der Merwe [Wed, 16 Dec 2015 08:43:16 +0000 (10:43 +0200)]
Agree to relicensing.
Jelmer Vernooij [Sun, 13 Dec 2015 15:46:16 +0000 (15:46 +0000)]
Ship .travis.yml.
Jelmer Vernooij [Sun, 13 Dec 2015 15:46:07 +0000 (15:46 +0000)]
Start on 0.12.1.
Jelmer Vernooij [Sun, 13 Dec 2015 15:28:59 +0000 (15:28 +0000)]
Release 0.12.0.
Jelmer Vernooij [Sun, 13 Dec 2015 14:10:00 +0000 (14:10 +0000)]
Ship .testr.conf and TODO.
Jelmer Vernooij [Thu, 3 Dec 2015 16:04:56 +0000 (16:04 +0000)]
Clarify in docstrings that Client.{fetch_pack,fetch} returns all remote
refs, not just those fetched.
Jelmer Vernooij [Thu, 3 Dec 2015 15:57:40 +0000 (15:57 +0000)]
Add note about performance, update NEWS.
jsbain [Tue, 1 Dec 2015 12:28:34 +0000 (12:28 +0000)]
Fix thinpack support over http
Jelmer Vernooij [Thu, 3 Dec 2015 14:50:06 +0000 (14:50 +0000)]
Update NEWS.
Jelmer Vernooij [Thu, 3 Dec 2015 14:49:39 +0000 (14:49 +0000)]
Remove unused import.
Jelmer Vernooij [Thu, 3 Dec 2015 14:49:26 +0000 (14:49 +0000)]
Avoid hasattr.
Jelmer Vernooij [Thu, 3 Dec 2015 14:48:41 +0000 (14:48 +0000)]
Merge branch 'py3-c-modules' of git://github.com/lelit/dulwich
Lele Gaifax [Thu, 3 Dec 2015 12:38:28 +0000 (13:38 +0100)]
Avoid deprecation warning due to renamed assertion method in Py3.2+
Lele Gaifax [Thu, 3 Dec 2015 12:20:55 +0000 (13:20 +0100)]
Treat pathnames as bytes in the Python 3 C modules
Lele Gaifax [Thu, 3 Dec 2015 09:37:29 +0000 (10:37 +0100)]
Make the C accelerator modules compatible with Python 3
This is just the first step toward full compatibility with Python 3: it
discloses some problems related to bytes-vs-str stricter rules that
needs to be sorted out.
Lele Gaifax [Thu, 3 Dec 2015 09:31:05 +0000 (10:31 +0100)]
Add missing DECREF on local variable
Jelmer Vernooij [Wed, 2 Dec 2015 19:51:50 +0000 (19:51 +0000)]
Fix tests.
Jelmer Vernooij [Wed, 2 Dec 2015 19:39:39 +0000 (19:39 +0000)]
Add read_reflog.
Jelmer Vernooij [Wed, 2 Dec 2015 15:38:15 +0000 (15:38 +0000)]
Add parse_reflog_line.
Jelmer Vernooij [Wed, 2 Dec 2015 15:29:07 +0000 (15:29 +0000)]
Add format_reflog_line.
Jelmer Vernooij [Tue, 1 Dec 2015 00:14:58 +0000 (00:14 +0000)]
Update NEWS, fix style.
Chris Bunney [Mon, 30 Nov 2015 20:40:27 +0000 (20:40 +0000)]
Enhanced parsing of partial/ambiguous refs based on https://git-scm.com/docs/gitrevisions
Jelmer Vernooij [Mon, 23 Nov 2015 00:40:21 +0000 (00:40 +0000)]
Avoid using regular expressions for gitfile parsing.
Jelmer Vernooij [Mon, 23 Nov 2015 00:32:36 +0000 (00:32 +0000)]
Add constant for control dir name.
Jelmer Vernooij [Sun, 22 Nov 2015 22:41:58 +0000 (22:41 +0000)]
Distinguish code written by and copyright.
Jelmer Vernooij [Sun, 15 Nov 2015 14:35:01 +0000 (14:35 +0000)]
Remove Chris.
Jelmer Vernooij [Sat, 7 Nov 2015 15:52:39 +0000 (15:52 +0000)]
Add basic porcelain page in tutorial.
Jelmer Vernooij [Sat, 7 Nov 2015 14:52:43 +0000 (14:52 +0000)]
Clarify that tox and travis can be used for running tests.
Stefano Rivera [Wed, 4 Nov 2015 23:27:51 +0000 (23:27 +0000)]
subprocess's mswindows attribute has gone private in 3.5
See: https://bugs.python.org/issue10838
Elsewhere, we look at sys.platform directly, so do it here too.
Jelmer Vernooij [Wed, 4 Nov 2015 03:04:21 +0000 (03:04 +0000)]
Mark archive tests as known failing on python2.6.
Jelmer Vernooij [Wed, 4 Nov 2015 02:19:48 +0000 (02:19 +0000)]
s/ListCBytesIO/ChunkedBytesIO/g
Jelmer Vernooij [Wed, 4 Nov 2015 02:07:26 +0000 (02:07 +0000)]
Add note saying this will be the last release supporting Python2.6
Steven Myint [Tue, 3 Nov 2015 01:33:56 +0000 (01:33 +0000)]
Previously the following would crash under Python 3.
$ python examples/clone.py . /tmp/clone
Jelmer Vernooij [Tue, 3 Nov 2015 01:24:44 +0000 (01:24 +0000)]
Skip second archive test for now, as it's known broken on some platforms and needs more debugging.
Jelmer Vernooij [Sun, 1 Nov 2015 04:33:02 +0000 (04:33 +0000)]
Once again, fix tests on python3.