jelmer/dulwich.git
10 years agoNo longer build for Python 2.6.
Jelmer Vernooij [Sun, 30 Mar 2014 01:56:33 +0000 (03:56 +0200)]
No longer build for Python 2.6.

10 years agoDrop support for Python < 2.7.
Jelmer Vernooij [Sun, 30 Mar 2014 01:53:25 +0000 (03:53 +0200)]
Drop support for Python < 2.7.

10 years agoSort command names in bin/dulwich.
Jelmer Vernooij [Thu, 27 Mar 2014 13:38:20 +0000 (13:38 +0000)]
Sort command names in bin/dulwich.

10 years agoAdd bin/dulwich support for reset command.
Jelmer Vernooij [Thu, 27 Mar 2014 13:31:04 +0000 (13:31 +0000)]
Add bin/dulwich support for reset command.

10 years agoSupport str timezones.
Jelmer Vernooij [Thu, 27 Mar 2014 13:22:17 +0000 (13:22 +0000)]
Support str timezones.

10 years agoAdd time and timezone arguments for tag.
Jelmer Vernooij [Thu, 27 Mar 2014 13:07:35 +0000 (13:07 +0000)]
Add time and timezone arguments for tag.

10 years agoAdd objectish argument to porcelain.tag.
Jelmer Vernooij [Thu, 27 Mar 2014 12:59:00 +0000 (12:59 +0000)]
Add objectish argument to porcelain.tag.

10 years agoSupport creating unannotated tags.
Jelmer Vernooij [Thu, 27 Mar 2014 12:47:51 +0000 (12:47 +0000)]
Support creating unannotated tags.

10 years agoUpdate NEWS.
Jelmer Vernooij [Wed, 26 Mar 2014 21:00:38 +0000 (21:00 +0000)]
Update NEWS.

10 years agoReplace 'unlink' with 'rm' in tests.
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>
10 years agoAdd ConfigFile support to MemoryRepos
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>
10 years agoAllow do_commit to make dangling commits
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>
10 years agoAdd support for recursive add.
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.

10 years agoBreak long lines, update NEWS.
Jelmer Vernooij [Fri, 7 Mar 2014 19:53:37 +0000 (19:53 +0000)]
Break long lines, update NEWS.

10 years agoMerge branch 'ticket-144' of git://github.com/jonashaag/dulwich
Jelmer Vernooij [Fri, 7 Mar 2014 19:51:28 +0000 (19:51 +0000)]
Merge branch 'ticket-144' of git://github.com/jonashaag/dulwich

10 years agoFix long line, running with -O.
Jelmer Vernooij [Fri, 7 Mar 2014 19:46:50 +0000 (19:46 +0000)]
Fix long line, running with -O.

10 years agoFix #140: Don't expect 'wsgi.input' to have 'seek' method
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>
10 years ago_compat: Fix some lint.
Jelmer Vernooij [Fri, 7 Mar 2014 19:40:54 +0000 (19:40 +0000)]
_compat: Fix some lint.

10 years agoAdd lint support.
Jelmer Vernooij [Fri, 7 Mar 2014 19:39:47 +0000 (19:39 +0000)]
Add lint support.

10 years agoAdd a few more test cases.
Jonas Haag [Fri, 7 Mar 2014 09:42:25 +0000 (10:42 +0100)]
Add a few more test cases.

10 years agoRaise TypeError if unicode string is used as key
Jonas Haag [Thu, 6 Mar 2014 14:31:50 +0000 (15:31 +0100)]
Raise TypeError if unicode string is used as key

Fixes #144.

10 years agoFix typo in parameter name.
Jelmer Vernooij [Fri, 28 Feb 2014 22:23:45 +0000 (22:23 +0000)]
Fix typo in parameter name.

10 years agoAdd porcelain 'list-tags'.
Ryan Faulkner [Fri, 28 Feb 2014 21:29:22 +0000 (21:29 +0000)]
Add porcelain 'list-tags'.

10 years agoAdd porcelain 'pull'.
Ryan Faulkner [Wed, 26 Feb 2014 01:03:59 +0000 (01:03 +0000)]
Add porcelain 'pull'.

10 years agoAdd porcelain 'push'.
Ryan Faulkner [Wed, 26 Feb 2014 00:56:47 +0000 (00:56 +0000)]
Add porcelain 'push'.

10 years agoStart on 0.9.6.
Jelmer Vernooij [Sun, 23 Feb 2014 14:38:18 +0000 (14:38 +0000)]
Start on 0.9.6.

10 years agoRelease 0.9.5. dulwich-0.9.5
Jelmer Vernooij [Sun, 23 Feb 2014 14:35:15 +0000 (14:35 +0000)]
Release 0.9.5.

10 years agoUse PackData.filename attribute.
Jelmer Vernooij [Sun, 23 Feb 2014 02:52:42 +0000 (02:52 +0000)]
Use PackData.filename attribute.

10 years agoAdd DiskObjectStore.__repr__.
Jelmer Vernooij [Sun, 23 Feb 2014 02:49:27 +0000 (02:49 +0000)]
Add DiskObjectStore.__repr__.

10 years agoAvoid relying on ~/.gitconfig existing.
Jelmer Vernooij [Sun, 23 Feb 2014 01:37:16 +0000 (01:37 +0000)]
Avoid relying on ~/.gitconfig existing.

10 years agoUpdate NEWS, switch to opener rather than handlers in HttpGitClient.
Jelmer Vernooij [Wed, 12 Feb 2014 00:47:39 +0000 (00:47 +0000)]
Update NEWS, switch to opener rather than handlers in HttpGitClient.

10 years agouse handlers without affecting the global state
Dov Feldstern [Wed, 12 Feb 2014 00:36:59 +0000 (00:36 +0000)]
use handlers without affecting the global state

10 years agoadd support for handlers when opening http urls (e.g., for authentication)
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)

10 years agoMerge milki's shallow branch support.
Jelmer Vernooij [Tue, 28 Jan 2014 03:04:35 +0000 (03:04 +0000)]
Merge milki's shallow branch support.

10 years agoSimplify handling of shallows, without involving temporary grafts.
Jelmer Vernooij [Tue, 28 Jan 2014 03:04:19 +0000 (03:04 +0000)]
Simplify handling of shallows, without involving temporary grafts.

10 years agoSimplify shallows handling.
Jelmer Vernooij [Tue, 28 Jan 2014 02:56:22 +0000 (02:56 +0000)]
Simplify shallows handling.

10 years agoPass in commit during shallow clone, to avoid extra lookup.
Jelmer Vernooij [Sat, 25 Jan 2014 21:22:09 +0000 (21:22 +0000)]
Pass in commit during shallow clone, to avoid extra lookup.

10 years agoAdd porcelain 'reset'.
Ryan Faulkner [Sat, 25 Jan 2014 01:54:41 +0000 (01:54 +0000)]
Add porcelain 'reset'.

10 years agoSimplify use of getattr.
Jelmer Vernooij [Sat, 25 Jan 2014 00:54:31 +0000 (00:54 +0000)]
Simplify use of getattr.

10 years agoCleanup temporary repos in compat test
milki [Mon, 6 Jan 2014 06:29:07 +0000 (22:29 -0800)]
Cleanup temporary repos in compat test

10 years agoLook for shallow graft file in new Repos
milki [Sun, 29 Dec 2013 13:29:04 +0000 (05:29 -0800)]
Look for shallow graft file in new Repos

10 years agoSpecify custom get_parents
milki [Mon, 25 Nov 2013 07:17:41 +0000 (23:17 -0800)]
Specify custom get_parents

10 years agoAdd shallow grafts to repo before fetching objects
milki [Sat, 12 Oct 2013 04:41:41 +0000 (21:41 -0700)]
Add shallow grafts to repo before fetching objects

10 years agoAdd shallow support to ProtocolGraphWalker
Dave Borowitz [Tue, 25 May 2010 18:52:31 +0000 (11:52 -0700)]
Add shallow support to ProtocolGraphWalker

10 years agoDetermine new shallow/unshallow
Dave Borowitz [Tue, 25 May 2010 18:52:31 +0000 (11:52 -0700)]
Determine new shallow/unshallow

10 years agoAdd tests for shallow
Dave Borowitz [Tue, 25 May 2010 18:52:31 +0000 (11:52 -0700)]
Add tests for shallow

10 years agoStop pointing users at Launchpad for bug reporting.
Jelmer Vernooij [Sat, 18 Jan 2014 22:35:04 +0000 (22:35 +0000)]
Stop pointing users at Launchpad for bug reporting.

10 years agoUploadPackHandler must return if objects_iter is empty
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>
10 years agoAdd compat test for git ls-remote
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>
10 years agoInstall fastimport in travis.
Jelmer Vernooij [Sat, 18 Jan 2014 19:45:17 +0000 (19:45 +0000)]
Install fastimport in travis.

10 years agoAvoid deprecated Exception.message.
Jelmer Vernooij [Sat, 18 Jan 2014 19:44:44 +0000 (19:44 +0000)]
Avoid deprecated Exception.message.

10 years agoAdd max_entries argument to 'log' porcelain.
Jelmer Vernooij [Sat, 18 Jan 2014 18:19:57 +0000 (18:19 +0000)]
Add max_entries argument to 'log' porcelain.

10 years agoAdd `dulwich.objectspec`.
Jelmer Vernooij [Sat, 18 Jan 2014 18:13:23 +0000 (18:13 +0000)]
Add `dulwich.objectspec`.

10 years agoSupport non-commit objects and multiple objects in 'show' porcelain.
Jelmer Vernooij [Sat, 18 Jan 2014 17:55:26 +0000 (17:55 +0000)]
Support non-commit objects and multiple objects in 'show' porcelain.

10 years agoClarify committish argument of 'show'.
Jelmer Vernooij [Sat, 18 Jan 2014 17:26:24 +0000 (17:26 +0000)]
Clarify committish argument of 'show'.

10 years agoAdd porcelain 'tag'.
Ryan Faulkner [Thu, 16 Jan 2014 00:16:59 +0000 (00:16 +0000)]
Add porcelain 'tag'.

10 years agoUpdate before installing git.
Jelmer Vernooij [Thu, 16 Jan 2014 00:08:21 +0000 (00:08 +0000)]
Update before installing git.

10 years agoFix empty pack test.
Jelmer Vernooij [Wed, 15 Jan 2014 23:30:38 +0000 (23:30 +0000)]
Fix empty pack test.

10 years agoAdd test for determine_wants (advertise_refs True)
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.

10 years agodetermine_wants must return a list
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.

10 years agoImplement LocalGitClient.fetch_pack().
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>
10 years agoFix typos in remote repositories tutorial
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>
10 years agoRaise KeyError rather than TypeError when passing in 20 or 40-length
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__.

10 years agoUse sudo for apt-get command.
Jelmer Vernooij [Sun, 8 Dec 2013 19:46:17 +0000 (19:46 +0000)]
Use sudo for apt-get command.

10 years agoInstall git in travis, for compat checks.
Jelmer Vernooij [Sun, 8 Dec 2013 19:40:10 +0000 (19:40 +0000)]
Install git in travis, for compat checks.

10 years agoInstall unittest2 in travis for python2.6.
Jelmer Vernooij [Sun, 8 Dec 2013 19:33:59 +0000 (19:33 +0000)]
Install unittest2 in travis for python2.6.

10 years agoAdd basic travis config file.
Jelmer Vernooij [Sun, 8 Dec 2013 17:56:03 +0000 (17:56 +0000)]
Add basic travis config file.

10 years agoAdd example of finding latest change to a file.
Jelmer Vernooij [Sat, 7 Dec 2013 14:25:44 +0000 (14:25 +0000)]
Add example of finding latest change to a file.

10 years agoUse https in homepage URL.
Jelmer Vernooij [Wed, 4 Dec 2013 02:29:16 +0000 (02:29 +0000)]
Use https in homepage URL.

10 years agoUse new style exception handling in a few more places.
Jelmer Vernooij [Wed, 4 Dec 2013 02:25:14 +0000 (02:25 +0000)]
Use new style exception handling in a few more places.

10 years agoRemove long deprecated Tree.entries.
Jelmer Vernooij [Wed, 4 Dec 2013 02:25:03 +0000 (02:25 +0000)]
Remove long deprecated Tree.entries.

10 years agoRemove long deprecated Repo.ref and Repo.revision_history.
Jelmer Vernooij [Wed, 4 Dec 2013 02:21:44 +0000 (02:21 +0000)]
Remove long deprecated Repo.ref and Repo.revision_history.

10 years agoRemove some long deprecated methods on Repo.
Jelmer Vernooij [Wed, 4 Dec 2013 02:18:35 +0000 (02:18 +0000)]
Remove some long deprecated methods on Repo.

10 years agoAdd explanation of porcelain and plumbing terms.
Jelmer Vernooij [Wed, 4 Dec 2013 02:14:43 +0000 (02:14 +0000)]
Add explanation of porcelain and plumbing terms.

10 years agoLine wrap.
Jelmer Vernooij [Wed, 4 Dec 2013 02:13:35 +0000 (02:13 +0000)]
Line wrap.

10 years agoFix description for pypi.
Jelmer Vernooij [Wed, 4 Dec 2013 01:54:51 +0000 (01:54 +0000)]
Fix description for pypi.

10 years agoUpdate README, add link to homepage.
Jelmer Vernooij [Wed, 4 Dec 2013 01:42:03 +0000 (01:42 +0000)]
Update README, add link to homepage.

10 years agoUpdate NEWS.
Jelmer Vernooij [Tue, 3 Dec 2013 01:13:37 +0000 (01:13 +0000)]
Update NEWS.

10 years agoDrop compatibility wrapper for `SEEK_END` and `SEEK_CUR`.
Jelmer Vernooij [Tue, 3 Dec 2013 01:12:25 +0000 (01:12 +0000)]
Drop compatibility wrapper for `SEEK_END` and `SEEK_CUR`.

10 years agoDrop compatibility wrapper for `parse_qs`.
Jelmer Vernooij [Tue, 3 Dec 2013 01:10:53 +0000 (01:10 +0000)]
Drop compatibility wrapper for `parse_qs`.

10 years agoDrop compatibility functions for `hashlib.sha1`.
Jelmer Vernooij [Tue, 3 Dec 2013 01:09:22 +0000 (01:09 +0000)]
Drop compatibility functions for `hashlib.sha1`.

10 years agoDrop compatibility function for namedtuple.
Jelmer Vernooij [Tue, 3 Dec 2013 01:05:02 +0000 (01:05 +0000)]
Drop compatibility function for namedtuple.

10 years agoDrop compatibility replacement for 'all'.
Jelmer Vernooij [Tue, 3 Dec 2013 01:02:58 +0000 (01:02 +0000)]
Drop compatibility replacement for 'all'.

10 years agoDrop compatibility replacement for unpack_from.
Jelmer Vernooij [Tue, 3 Dec 2013 01:01:07 +0000 (01:01 +0000)]
Drop compatibility replacement for unpack_from.

10 years agoRemove compatibility code for itertools.permutations, in preparation of
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.

10 years agoRemove compatibility code for collections.defaultdict, in preparation of
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.

10 years agoMove refs tests to dulwich.tests.test_refs.
Jelmer Vernooij [Sun, 1 Dec 2013 00:05:03 +0000 (00:05 +0000)]
Move refs tests to dulwich.tests.test_refs.

10 years agoStart on 0.9.5.
Jelmer Vernooij [Sat, 30 Nov 2013 16:14:00 +0000 (16:14 +0000)]
Start on 0.9.5.

10 years agoRelease 0.9.4. dulwich-0.9.4
Jelmer Vernooij [Sat, 30 Nov 2013 16:12:55 +0000 (16:12 +0000)]
Release 0.9.4.

10 years agoTwo minor optimizations in heavily used code paths.
Jelmer Vernooij [Sat, 30 Nov 2013 16:12:03 +0000 (16:12 +0000)]
Two minor optimizations in heavily used code paths.

10 years agoSupport filesystems with 64bit inode and device numbers.
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>
10 years agoUpdate NEWS, add tests for clone with bare.
Jelmer Vernooij [Fri, 29 Nov 2013 22:36:30 +0000 (22:36 +0000)]
Update NEWS, add tests for clone with bare.

10 years agoAdded checkout support to porcelain.clone. It's enabled by default
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>
10 years agoAdd LocalGitClient.
Jelmer Vernooij [Wed, 27 Nov 2013 00:22:17 +0000 (00:22 +0000)]
Add LocalGitClient.

10 years agoSplit out tests for get_transport_and_path.
Jelmer Vernooij [Tue, 26 Nov 2013 23:51:15 +0000 (23:51 +0000)]
Split out tests for get_transport_and_path.

10 years agoFix typo: URI -> URL.
Jelmer Vernooij [Tue, 26 Nov 2013 23:47:24 +0000 (23:47 +0000)]
Fix typo: URI -> URL.

10 years agoAllow overriding default class for local git client access.
Jelmer Vernooij [Tue, 26 Nov 2013 23:38:34 +0000 (23:38 +0000)]
Allow overriding default class for local git client access.

10 years agoSplit get_transport_and_path_from_url() out of get_transport_and_path().
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().

10 years agoPass in known sha.
Jelmer Vernooij [Tue, 26 Nov 2013 02:30:08 +0000 (02:30 +0000)]
Pass in known sha.

10 years agoSupport reusing known sha during object creation.
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.