Jelmer Vernooij [Sun, 30 Mar 2014 01:56:33 +0000 (03:56 +0200)]
No longer build for Python 2.6.
Jelmer Vernooij [Sun, 30 Mar 2014 01:53:25 +0000 (03:53 +0200)]
Drop support for Python < 2.7.
Jelmer Vernooij [Thu, 27 Mar 2014 13:38:20 +0000 (13:38 +0000)]
Sort command names in bin/dulwich.
Jelmer Vernooij [Thu, 27 Mar 2014 13:31:04 +0000 (13:31 +0000)]
Add bin/dulwich support for reset command.
Jelmer Vernooij [Thu, 27 Mar 2014 13:22:17 +0000 (13:22 +0000)]
Support str timezones.
Jelmer Vernooij [Thu, 27 Mar 2014 13:07:35 +0000 (13:07 +0000)]
Add time and timezone arguments for tag.
Jelmer Vernooij [Thu, 27 Mar 2014 12:59:00 +0000 (12:59 +0000)]
Add objectish argument to porcelain.tag.
Jelmer Vernooij [Thu, 27 Mar 2014 12:47:51 +0000 (12:47 +0000)]
Support creating unannotated tags.
Jelmer Vernooij [Wed, 26 Mar 2014 21:00:38 +0000 (21:00 +0000)]
Update NEWS.
Dmitrij D. Czarkoff [Wed, 26 Mar 2014 11:27:19 +0000 (12:27 +0100)]
Replace 'unlink' with 'rm' in tests.
Several Unix-like systems (eg. OpenBSD) don't have 'unlink' utility. 'rm' does
exactly the same job, so using 'rm' instead of 'unlink' makes dulwich tests
more portable.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
milki [Sun, 16 Mar 2014 01:10:00 +0000 (18:10 -0700)]
Add ConfigFile support to MemoryRepos
Store the config in repo.config
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
milki [Sun, 16 Mar 2014 04:04:02 +0000 (21:04 -0700)]
Allow do_commit to make dangling commits
do_commit has a lot of process that is useful for any arbitrary commit.
do_commit creates dangling commits by setting ref=None and specifying
the commit parents with merge_heads.
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Thu, 13 Mar 2014 02:27:39 +0000 (02:27 +0000)]
Add support for recursive add.
Patch by Ryan Faulkner with modifications by me to support recursive
add.
Jelmer Vernooij [Fri, 7 Mar 2014 19:53:37 +0000 (19:53 +0000)]
Break long lines, update NEWS.
Jelmer Vernooij [Fri, 7 Mar 2014 19:51:28 +0000 (19:51 +0000)]
Merge branch 'ticket-144' of git://github.com/jonashaag/dulwich
Jelmer Vernooij [Fri, 7 Mar 2014 19:46:50 +0000 (19:46 +0000)]
Fix long line, running with -O.
Jonas Haag [Fri, 7 Mar 2014 13:23:20 +0000 (14:23 +0100)]
Fix #140: Don't expect 'wsgi.input' to have 'seek' method
The WSGI specification does not require 'wsgi.input' to have a 'seek'
method. However, the gunzipping code in the standard library of Python
2.x uses that method. We work around this by buffering data from a
'wsgi.input' that lacks this method into a temporary file.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Fri, 7 Mar 2014 19:40:54 +0000 (19:40 +0000)]
_compat: Fix some lint.
Jelmer Vernooij [Fri, 7 Mar 2014 19:39:47 +0000 (19:39 +0000)]
Add lint support.
Jonas Haag [Fri, 7 Mar 2014 09:42:25 +0000 (10:42 +0100)]
Add a few more test cases.
Jonas Haag [Thu, 6 Mar 2014 14:31:50 +0000 (15:31 +0100)]
Raise TypeError if unicode string is used as key
Fixes #144.
Jelmer Vernooij [Fri, 28 Feb 2014 22:23:45 +0000 (22:23 +0000)]
Fix typo in parameter name.
Ryan Faulkner [Fri, 28 Feb 2014 21:29:22 +0000 (21:29 +0000)]
Add porcelain 'list-tags'.
Ryan Faulkner [Wed, 26 Feb 2014 01:03:59 +0000 (01:03 +0000)]
Add porcelain 'pull'.
Ryan Faulkner [Wed, 26 Feb 2014 00:56:47 +0000 (00:56 +0000)]
Add porcelain 'push'.
Jelmer Vernooij [Sun, 23 Feb 2014 14:38:18 +0000 (14:38 +0000)]
Start on 0.9.6.
Jelmer Vernooij [Sun, 23 Feb 2014 14:35:15 +0000 (14:35 +0000)]
Release 0.9.5.
Jelmer Vernooij [Sun, 23 Feb 2014 02:52:42 +0000 (02:52 +0000)]
Use PackData.filename attribute.
Jelmer Vernooij [Sun, 23 Feb 2014 02:49:27 +0000 (02:49 +0000)]
Add DiskObjectStore.__repr__.
Jelmer Vernooij [Sun, 23 Feb 2014 01:37:16 +0000 (01:37 +0000)]
Avoid relying on ~/.gitconfig existing.
Jelmer Vernooij [Wed, 12 Feb 2014 00:47:39 +0000 (00:47 +0000)]
Update NEWS, switch to opener rather than handlers in HttpGitClient.
Dov Feldstern [Wed, 12 Feb 2014 00:36:59 +0000 (00:36 +0000)]
use handlers without affecting the global state
Dov Feldstern [Wed, 12 Feb 2014 00:35:13 +0000 (00:35 +0000)]
add support for handlers when opening http urls (e.g., for authentication)
Jelmer Vernooij [Tue, 28 Jan 2014 03:04:35 +0000 (03:04 +0000)]
Merge milki's shallow branch support.
Jelmer Vernooij [Tue, 28 Jan 2014 03:04:19 +0000 (03:04 +0000)]
Simplify handling of shallows, without involving temporary grafts.
Jelmer Vernooij [Tue, 28 Jan 2014 02:56:22 +0000 (02:56 +0000)]
Simplify shallows handling.
Jelmer Vernooij [Sat, 25 Jan 2014 21:22:09 +0000 (21:22 +0000)]
Pass in commit during shallow clone, to avoid extra lookup.
Ryan Faulkner [Sat, 25 Jan 2014 01:54:41 +0000 (01:54 +0000)]
Add porcelain 'reset'.
Jelmer Vernooij [Sat, 25 Jan 2014 00:54:31 +0000 (00:54 +0000)]
Simplify use of getattr.
milki [Mon, 6 Jan 2014 06:29:07 +0000 (22:29 -0800)]
Cleanup temporary repos in compat test
milki [Sun, 29 Dec 2013 13:29:04 +0000 (05:29 -0800)]
Look for shallow graft file in new Repos
milki [Mon, 25 Nov 2013 07:17:41 +0000 (23:17 -0800)]
Specify custom get_parents
milki [Sat, 12 Oct 2013 04:41:41 +0000 (21:41 -0700)]
Add shallow grafts to repo before fetching objects
Dave Borowitz [Tue, 25 May 2010 18:52:31 +0000 (11:52 -0700)]
Add shallow support to ProtocolGraphWalker
Dave Borowitz [Tue, 25 May 2010 18:52:31 +0000 (11:52 -0700)]
Determine new shallow/unshallow
Dave Borowitz [Tue, 25 May 2010 18:52:31 +0000 (11:52 -0700)]
Add tests for shallow
Jelmer Vernooij [Sat, 18 Jan 2014 22:35:04 +0000 (22:35 +0000)]
Stop pointing users at Launchpad for bug reporting.
Fabien Boucher [Thu, 9 Jan 2014 11:31:37 +0000 (12:31 +0100)]
UploadPackHandler must return if objects_iter is empty
objects_iter is not None if client does not want any refs.
This patch avoids UploadPackHandler to continue pack creation and raise
GitProtocolError "Server attempts to access capability before
asking client".
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Fabien Boucher [Wed, 15 Jan 2014 18:20:52 +0000 (19:20 +0100)]
Add compat test for git ls-remote
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Sat, 18 Jan 2014 19:45:17 +0000 (19:45 +0000)]
Install fastimport in travis.
Jelmer Vernooij [Sat, 18 Jan 2014 19:44:44 +0000 (19:44 +0000)]
Avoid deprecated Exception.message.
Jelmer Vernooij [Sat, 18 Jan 2014 18:19:57 +0000 (18:19 +0000)]
Add max_entries argument to 'log' porcelain.
Jelmer Vernooij [Sat, 18 Jan 2014 18:13:23 +0000 (18:13 +0000)]
Add `dulwich.objectspec`.
Jelmer Vernooij [Sat, 18 Jan 2014 17:55:26 +0000 (17:55 +0000)]
Support non-commit objects and multiple objects in 'show' porcelain.
Jelmer Vernooij [Sat, 18 Jan 2014 17:26:24 +0000 (17:26 +0000)]
Clarify committish argument of 'show'.
Ryan Faulkner [Thu, 16 Jan 2014 00:16:59 +0000 (00:16 +0000)]
Add porcelain 'tag'.
Jelmer Vernooij [Thu, 16 Jan 2014 00:08:21 +0000 (00:08 +0000)]
Update before installing git.
Jelmer Vernooij [Wed, 15 Jan 2014 23:30:38 +0000 (23:30 +0000)]
Fix empty pack test.
Fabien Boucher [Wed, 15 Jan 2014 14:01:27 +0000 (15:01 +0100)]
Add test for determine_wants (advertise_refs True)
Add test to ensure that determine_wants return an empty
list when advertise_refs is True.
Fabien Boucher [Thu, 9 Jan 2014 11:49:13 +0000 (12:49 +0100)]
determine_wants must return a list
This patch forces determine_wants to return an empty list
when advertise_refs is True.
Jelmer Vernooij [Thu, 19 Dec 2013 00:41:35 +0000 (00:41 +0000)]
Implement LocalGitClient.fetch_pack().
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
David Pursehouse [Wed, 11 Dec 2013 05:49:47 +0000 (14:49 +0900)]
Fix typos in remote repositories tutorial
Change-Id: I3d6b9d57c6080fc7f360c077a0d70497f5700045
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Sun, 8 Dec 2013 23:00:34 +0000 (23:00 +0000)]
Raise KeyError rather than TypeError when passing in 20 or 40-length
unicode object to Repo.__getitem__.
Jelmer Vernooij [Sun, 8 Dec 2013 19:46:17 +0000 (19:46 +0000)]
Use sudo for apt-get command.
Jelmer Vernooij [Sun, 8 Dec 2013 19:40:10 +0000 (19:40 +0000)]
Install git in travis, for compat checks.
Jelmer Vernooij [Sun, 8 Dec 2013 19:33:59 +0000 (19:33 +0000)]
Install unittest2 in travis for python2.6.
Jelmer Vernooij [Sun, 8 Dec 2013 17:56:03 +0000 (17:56 +0000)]
Add basic travis config file.
Jelmer Vernooij [Sat, 7 Dec 2013 14:25:44 +0000 (14:25 +0000)]
Add example of finding latest change to a file.
Jelmer Vernooij [Wed, 4 Dec 2013 02:29:16 +0000 (02:29 +0000)]
Use https in homepage URL.
Jelmer Vernooij [Wed, 4 Dec 2013 02:25:14 +0000 (02:25 +0000)]
Use new style exception handling in a few more places.
Jelmer Vernooij [Wed, 4 Dec 2013 02:25:03 +0000 (02:25 +0000)]
Remove long deprecated Tree.entries.
Jelmer Vernooij [Wed, 4 Dec 2013 02:21:44 +0000 (02:21 +0000)]
Remove long deprecated Repo.ref and Repo.revision_history.
Jelmer Vernooij [Wed, 4 Dec 2013 02:18:35 +0000 (02:18 +0000)]
Remove some long deprecated methods on Repo.
Jelmer Vernooij [Wed, 4 Dec 2013 02:14:43 +0000 (02:14 +0000)]
Add explanation of porcelain and plumbing terms.
Jelmer Vernooij [Wed, 4 Dec 2013 02:13:35 +0000 (02:13 +0000)]
Line wrap.
Jelmer Vernooij [Wed, 4 Dec 2013 01:54:51 +0000 (01:54 +0000)]
Fix description for pypi.
Jelmer Vernooij [Wed, 4 Dec 2013 01:42:03 +0000 (01:42 +0000)]
Update README, add link to homepage.
Jelmer Vernooij [Tue, 3 Dec 2013 01:13:37 +0000 (01:13 +0000)]
Update NEWS.
Jelmer Vernooij [Tue, 3 Dec 2013 01:12:25 +0000 (01:12 +0000)]
Drop compatibility wrapper for `SEEK_END` and `SEEK_CUR`.
Jelmer Vernooij [Tue, 3 Dec 2013 01:10:53 +0000 (01:10 +0000)]
Drop compatibility wrapper for `parse_qs`.
Jelmer Vernooij [Tue, 3 Dec 2013 01:09:22 +0000 (01:09 +0000)]
Drop compatibility functions for `hashlib.sha1`.
Jelmer Vernooij [Tue, 3 Dec 2013 01:05:02 +0000 (01:05 +0000)]
Drop compatibility function for namedtuple.
Jelmer Vernooij [Tue, 3 Dec 2013 01:02:58 +0000 (01:02 +0000)]
Drop compatibility replacement for 'all'.
Jelmer Vernooij [Tue, 3 Dec 2013 01:01:07 +0000 (01:01 +0000)]
Drop compatibility replacement for unpack_from.
Jelmer Vernooij [Tue, 3 Dec 2013 00:59:41 +0000 (00:59 +0000)]
Remove compatibility code for itertools.permutations, in preparation of
dropping Python2.4 and 2.5 support.
Jelmer Vernooij [Tue, 3 Dec 2013 00:56:51 +0000 (00:56 +0000)]
Remove compatibility code for collections.defaultdict, in preparation of
dropping support for Python < 2.6.
Jelmer Vernooij [Sun, 1 Dec 2013 00:05:03 +0000 (00:05 +0000)]
Move refs tests to dulwich.tests.test_refs.
Jelmer Vernooij [Sat, 30 Nov 2013 16:14:00 +0000 (16:14 +0000)]
Start on 0.9.5.
Jelmer Vernooij [Sat, 30 Nov 2013 16:12:55 +0000 (16:12 +0000)]
Release 0.9.4.
Jelmer Vernooij [Sat, 30 Nov 2013 16:12:03 +0000 (16:12 +0000)]
Two minor optimizations in heavily used code paths.
André Roth [Fri, 29 Nov 2013 23:29:53 +0000 (00:29 +0100)]
Support filesystems with 64bit inode and device numbers.
stat(2) can return 64bit filesystem inode and device, truncate them to 32bit.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Fri, 29 Nov 2013 22:36:30 +0000 (22:36 +0000)]
Update NEWS, add tests for clone with bare.
Marcin Kuzminski [Fri, 29 Nov 2013 01:40:23 +0000 (02:40 +0100)]
Added checkout support to porcelain.clone. It's enabled by default
to mimick default git clone behaviour
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jelmer Vernooij [Wed, 27 Nov 2013 00:22:17 +0000 (00:22 +0000)]
Add LocalGitClient.
Jelmer Vernooij [Tue, 26 Nov 2013 23:51:15 +0000 (23:51 +0000)]
Split out tests for get_transport_and_path.
Jelmer Vernooij [Tue, 26 Nov 2013 23:47:24 +0000 (23:47 +0000)]
Fix typo: URI -> URL.
Jelmer Vernooij [Tue, 26 Nov 2013 23:38:34 +0000 (23:38 +0000)]
Allow overriding default class for local git client access.
Jelmer Vernooij [Tue, 26 Nov 2013 23:35:32 +0000 (23:35 +0000)]
Split get_transport_and_path_from_url() out of get_transport_and_path().
Jelmer Vernooij [Tue, 26 Nov 2013 02:30:08 +0000 (02:30 +0000)]
Pass in known sha.
Jelmer Vernooij [Tue, 26 Nov 2013 02:08:22 +0000 (02:08 +0000)]
Support reusing known sha during object creation.
This results in > 10% performance improvement during operations like rev-list.