jelmer/dulwich.git
5 years agoImport upstream version 0.19.7, md5 b342e41d768bc85c4d2d6ae80842e4a3 upstream/0.19.7
Jelmer Vernooij [Mon, 5 Nov 2018 19:27:02 +0000 (19:27 +0000)]
Import upstream version 0.19.7, md5 b342e41d768bc85c4d2d6ae80842e4a3

5 years agoRelease 0.19.7 dulwich-0.19.7
Jelmer Vernooij [Mon, 5 Nov 2018 19:21:01 +0000 (19:21 +0000)]
Release 0.19.7

5 years agoMove shallow implementation into BaseRepo.
Jelmer Vernooij [Mon, 5 Nov 2018 18:48:10 +0000 (18:48 +0000)]
Move shallow implementation into BaseRepo.

5 years agoDrop support for Python 3 < 3.4. This is because pkg_resources (which get used by...
Jelmer Vernooij [Sun, 4 Nov 2018 22:18:18 +0000 (22:18 +0000)]
Drop support for Python 3 < 3.4. This is because pkg_resources (which get used by setuptools and mock) no longer supports 3.3 and earlier.

5 years agoFix tests on older versions of Python 3.
Jelmer Vernooij [Sun, 4 Nov 2018 21:50:08 +0000 (21:50 +0000)]
Fix tests on older versions of Python 3.

5 years agoFix style.
Jelmer Vernooij [Sun, 4 Nov 2018 19:52:59 +0000 (19:52 +0000)]
Fix style.

5 years agoFix shallow handling for HTTP.
Jelmer Vernooij [Sun, 4 Nov 2018 19:14:20 +0000 (19:14 +0000)]
Fix shallow handling for HTTP.

5 years agoSupport shallow clone, and add basic compat tests.
Jelmer Vernooij [Sun, 4 Nov 2018 18:35:53 +0000 (18:35 +0000)]
Support shallow clone, and add basic compat tests.

5 years agoAdd Repo.update_shallow.
Jelmer Vernooij [Sun, 4 Nov 2018 17:41:10 +0000 (17:41 +0000)]
Add Repo.update_shallow.

5 years agoTrack depth.
Jelmer Vernooij [Sun, 4 Nov 2018 16:46:24 +0000 (16:46 +0000)]
Track depth.

5 years agoPass through deepen flag.
Jelmer Vernooij [Sun, 4 Nov 2018 14:14:44 +0000 (14:14 +0000)]
Pass through deepen flag.

5 years agoFix encoding on python 3.
Jelmer Vernooij [Sat, 20 Oct 2018 21:51:23 +0000 (21:51 +0000)]
Fix encoding on python 3.

5 years agoFix spacing.
Jelmer Vernooij [Sat, 20 Oct 2018 20:36:59 +0000 (20:36 +0000)]
Fix spacing.

5 years agoFix duplicate test name.
Jelmer Vernooij [Sat, 20 Oct 2018 20:23:42 +0000 (20:23 +0000)]
Fix duplicate test name.

5 years agoSupport the i18n.commitEncoding setting.
Jelmer Vernooij [Sat, 20 Oct 2018 19:17:51 +0000 (19:17 +0000)]
Support the i18n.commitEncoding setting.

5 years agoAdd get_object_by_path.
Jelmer Vernooij [Sat, 20 Oct 2018 19:08:50 +0000 (19:08 +0000)]
Add get_object_by_path.

5 years agoUpdate NEWS.
Jelmer Vernooij [Fri, 19 Oct 2018 21:26:10 +0000 (22:26 +0100)]
Update NEWS.

5 years agoSplit authorship lines from the right instead of from the left
Nicolas Dandrimont [Fri, 19 Oct 2018 15:44:12 +0000 (17:44 +0200)]
Split authorship lines from the right instead of from the left

Git authorship lines are in the form 'author Name <em@i.l> timestamp timezone'.
Some clients mess up the 'Name <em@i.l>' part badly, for instance by setting two
email addresses. Splitting identity and timestamp by looking at the '> ' part
from the right instead of the left helps parse some of those messed up commits.

Such commits still fail the check() method (and they raise a warning in git fsck
upstream as well), but we can at least work with them.

(This edge case brought to you by https://forge.softwareheritage.org/T1280)

5 years agoFix long line.
Jelmer Vernooij [Tue, 16 Oct 2018 22:31:59 +0000 (22:31 +0000)]
Fix long line.

5 years agoDecode error message.
Jelmer Vernooij [Tue, 16 Oct 2018 22:02:10 +0000 (22:02 +0000)]
Decode error message.

5 years agoRemove silly messages in server output.
Jelmer Vernooij [Sun, 14 Oct 2018 16:29:16 +0000 (16:29 +0000)]
Remove silly messages in server output.

5 years agoDisable python 3.8-dev for now; flakes checker is broken on 3.8-dev.
Jelmer Vernooij [Fri, 5 Oct 2018 16:09:31 +0000 (17:09 +0100)]
Disable python 3.8-dev for now; flakes checker is broken on 3.8-dev.

5 years agoFix style errors.
Jelmer Vernooij [Fri, 5 Oct 2018 09:27:28 +0000 (10:27 +0100)]
Fix style errors.

5 years agoAdd read_packs_file function.
Jelmer Vernooij [Fri, 5 Oct 2018 09:15:28 +0000 (10:15 +0100)]
Add read_packs_file function.

5 years agoFix style.
Jelmer Vernooij [Fri, 28 Sep 2018 05:37:12 +0000 (06:37 +0100)]
Fix style.

5 years agoSupport error lines with ERROR: as well.
Jelmer Vernooij [Fri, 28 Sep 2018 05:03:19 +0000 (06:03 +0100)]
Support error lines with ERROR: as well.

5 years agoRaise more useful error messages when unable to access repositories over SSH, subprocess.
Jelmer Vernooij [Fri, 28 Sep 2018 02:07:00 +0000 (03:07 +0100)]
Raise more useful error messages when unable to access repositories over SSH, subprocess.

5 years agoFix arguments to setup.py - summary doesn't exist.
Jelmer Vernooij [Fri, 28 Sep 2018 02:06:29 +0000 (03:06 +0100)]
Fix arguments to setup.py - summary doesn't exist.

5 years agoAvoid setup.cfg for now, since it seems to break pypi. Fixes #658
Jelmer Vernooij [Sun, 16 Sep 2018 22:24:33 +0000 (23:24 +0100)]
Avoid setup.cfg for now, since it seems to break pypi. Fixes #658

5 years agoRemove unused import, fix style.
Jelmer Vernooij [Fri, 14 Sep 2018 22:29:27 +0000 (23:29 +0100)]
Remove unused import, fix style.

5 years agoFix tests on Python 3.
Jelmer Vernooij [Fri, 14 Sep 2018 21:48:27 +0000 (22:48 +0100)]
Fix tests on Python 3.

5 years agoMerge branch 'bugfix/http-client-gzip-responses' of git://github.com/olasd/dulwich
Jelmer Vernooij [Fri, 14 Sep 2018 17:34:28 +0000 (18:34 +0100)]
Merge branch 'bugfix/http-client-gzip-responses' of git://github.com/olasd/dulwich

5 years agoFix style.
Jelmer Vernooij [Fri, 14 Sep 2018 17:33:48 +0000 (18:33 +0100)]
Fix style.

5 years agoDon't double-decompress gzipped HTTP responses
Nicolas Dandrimont [Fri, 14 Sep 2018 16:46:54 +0000 (18:46 +0200)]
Don't double-decompress gzipped HTTP responses

When using urllib3.response.HTTPResponse's data attribute, decompression of the
response contents is transparent.

Reference: https://forge.softwareheritage.org/T1195
Test-Repository: https://forge.softwareheritage.org/source/helloworld.git

5 years agoRaise exception when a caller tries to fetch SHA1s that are not in any refs.
Jelmer Vernooij [Wed, 12 Sep 2018 00:31:31 +0000 (01:31 +0100)]
Raise exception when a caller tries to fetch SHA1s that are not in any refs.

The alternative is a cryptic message saying the server has disconnected.

5 years agoUse constant for ANNOTATED_TAG_SUFFIX.
Jelmer Vernooij [Tue, 11 Sep 2018 22:57:19 +0000 (23:57 +0100)]
Use constant for ANNOTATED_TAG_SUFFIX.

5 years agoAdd check_wants.
Jelmer Vernooij [Tue, 11 Sep 2018 22:43:23 +0000 (23:43 +0100)]
Add check_wants.

5 years agoFix compatibility with newer versions of git, which expect CONTENT_LENGTH to be set...
Jelmer Vernooij [Wed, 5 Sep 2018 20:17:23 +0000 (21:17 +0100)]
Fix compatibility with newer versions of git, which expect CONTENT_LENGTH to be set to 0 for empty body requests.

Fixes #657

5 years agoDrop travis build on python 3.5-dev.
Jelmer Vernooij [Fri, 24 Aug 2018 02:04:55 +0000 (03:04 +0100)]
Drop travis build on python 3.5-dev.

5 years agoRemove unused variable.
Jelmer Vernooij [Fri, 24 Aug 2018 01:06:41 +0000 (02:06 +0100)]
Remove unused variable.

5 years agoAllow username and password to be overridden in calls to HttpGitClient.from_parsed_ur...
Jelmer Vernooij [Fri, 24 Aug 2018 00:34:18 +0000 (01:34 +0100)]
Allow username and password to be overridden in calls to HttpGitClient.from_parsed_url. #654

5 years agoMerge fix for handling of stderr/stdout on pythonw.
Jelmer Vernooij [Tue, 21 Aug 2018 22:33:13 +0000 (23:33 +0100)]
Merge fix for handling of stderr/stdout on pythonw.

5 years agoReplace / with \ on windows.
Jelmer Vernooij [Tue, 21 Aug 2018 22:28:46 +0000 (23:28 +0100)]
Replace / with \ on windows.

5 years agoFix Python 2
Sylvia van Os [Tue, 21 Aug 2018 20:44:40 +0000 (22:44 +0200)]
Fix Python 2

5 years agoSwitch test to other function
Sylvia van Os [Tue, 21 Aug 2018 19:17:47 +0000 (21:17 +0200)]
Switch test to other function

5 years agoAdd test for automatic pythonw fallback of outstream/errstream
Sylvia van Os [Tue, 21 Aug 2018 11:36:45 +0000 (13:36 +0200)]
Add test for automatic pythonw fallback of outstream/errstream

5 years agoAdd fallback for unavailable stdout/stderr
Sylvia van Os [Sun, 19 Aug 2018 18:45:14 +0000 (20:45 +0200)]
Add fallback for unavailable stdout/stderr

5 years agoNew upstream version 0.19.6 salsa/upstream samba.org/upstream upstream/0.19.6
Jelmer Vernooij [Sat, 11 Aug 2018 13:54:38 +0000 (14:54 +0100)]
New upstream version 0.19.6

5 years agoStart on 0.19.7.
Jelmer Vernooij [Sat, 11 Aug 2018 13:52:49 +0000 (14:52 +0100)]
Start on 0.19.7.

5 years agoRelease 0.19.6 dulwich-0.19.6
Jelmer Vernooij [Sat, 11 Aug 2018 13:50:19 +0000 (14:50 +0100)]
Release 0.19.6

5 years agoUpdate NEWS.
Jelmer Vernooij [Sat, 11 Aug 2018 13:49:46 +0000 (14:49 +0100)]
Update NEWS.

5 years agoUpdate AUTHORS.
Jelmer Vernooij [Sat, 11 Aug 2018 13:46:57 +0000 (14:46 +0100)]
Update AUTHORS.

5 years agoMerge fix for custom auth parameters for dulwich.porcelain.clone.
Jelmer Vernooij [Fri, 10 Aug 2018 23:17:37 +0000 (00:17 +0100)]
Merge fix for custom auth parameters for dulwich.porcelain.clone.

5 years agoFix style (long line)
semyon-slepov [Fri, 10 Aug 2018 12:52:25 +0000 (14:52 +0200)]
Fix style (long line)

5 years agoPass optional arguments to fetch() while cloning
semyon-slepov [Fri, 10 Aug 2018 12:24:37 +0000 (14:24 +0200)]
Pass optional arguments to fetch() while cloning

5 years agoAvoid use of urllib2.splituser (removed in python 3.8).
Jelmer Vernooij [Tue, 7 Aug 2018 19:15:43 +0000 (20:15 +0100)]
Avoid use of urllib2.splituser (removed in python 3.8).

5 years agoDon't run greenlet-based tests on 3.7/3.8-dev.
Jelmer Vernooij [Mon, 6 Aug 2018 23:15:41 +0000 (00:15 +0100)]
Don't run greenlet-based tests on 3.7/3.8-dev.

5 years agoTest on Python 3.7 and 3.8-dev
Daniel M. Capella [Mon, 6 Aug 2018 06:58:10 +0000 (06:58 +0000)]
Test on Python 3.7 and 3.8-dev

5 years agoSupport bytes paths in dulwich.index.
Jelmer Vernooij [Wed, 25 Jul 2018 18:01:57 +0000 (19:01 +0100)]
Support bytes paths in dulwich.index.

5 years agoPass the <errstream> parameter through from porcelain.clone() to porcelain.fetch().
grun [Sun, 22 Jul 2018 03:17:17 +0000 (20:17 -0700)]
Pass the <errstream> parameter through from porcelain.clone() to porcelain.fetch().

5 years agoRemove unnecessary abspath calls.
Jelmer Vernooij [Wed, 18 Jul 2018 10:12:23 +0000 (11:12 +0100)]
Remove unnecessary abspath calls.

5 years agoMerge branch 'fix/tree_path' of git://github.com/r0mainK/dulwich
Jelmer Vernooij [Wed, 18 Jul 2018 10:09:22 +0000 (11:09 +0100)]
Merge branch 'fix/tree_path' of git://github.com/r0mainK/dulwich

Fixes #598

5 years agoStart on 0.19.6.
Jelmer Vernooij [Sun, 8 Jul 2018 12:44:26 +0000 (13:44 +0100)]
Start on 0.19.6.

5 years agoNew upstream version 0.19.5 upstream/0.19.5
Jelmer Vernooij [Sun, 8 Jul 2018 12:43:43 +0000 (13:43 +0100)]
New upstream version 0.19.5

5 years agoRelease 0.19.5 dulwich-0.19.5
Jelmer Vernooij [Sun, 8 Jul 2018 12:38:38 +0000 (13:38 +0100)]
Release 0.19.5

5 years agoFix path_to_tree_path
Romain Keramitas [Mon, 25 Jun 2018 10:49:58 +0000 (12:49 +0200)]
Fix path_to_tree_path

Signed-off-by: Romain Keramitas <r.keramitas@gmail.com>
5 years agoFix build on Python3, update NEWS.
Jelmer Vernooij [Tue, 3 Jul 2018 16:44:13 +0000 (17:44 +0100)]
Fix build on Python3, update NEWS.

5 years agoAdd unit tests for describe
Sylvia van Os [Tue, 3 Jul 2018 15:33:28 +0000 (17:33 +0200)]
Add unit tests for describe

5 years agoSimple describe implementation
Sylvia van Os [Sun, 1 Jul 2018 18:02:39 +0000 (20:02 +0200)]
Simple describe implementation

5 years agoUpdate NEWS.
Jelmer Vernooij [Fri, 29 Jun 2018 19:51:38 +0000 (20:51 +0100)]
Update NEWS.

5 years agorefs: Clean-up parent directories when removing references
Damien Tournoud [Fri, 29 Jun 2018 14:02:07 +0000 (16:02 +0200)]
refs: Clean-up parent directories when removing references

5 years agoFix regression in porcelain.clone that prevented cloning of remote repositories....
Jelmer Vernooij [Mon, 25 Jun 2018 18:27:25 +0000 (19:27 +0100)]
Fix regression in porcelain.clone that prevented cloning of remote repositories. Fixes #639

5 years agoNew upstream version 0.19.4 upstream/0.19.4
Jelmer Vernooij [Sun, 24 Jun 2018 00:41:55 +0000 (01:41 +0100)]
New upstream version 0.19.4

5 years agoStart on 0.19.5.
Jelmer Vernooij [Sun, 24 Jun 2018 00:41:23 +0000 (01:41 +0100)]
Start on 0.19.5.

5 years agoRelease 0.19.4 dulwich-0.19.4
Jelmer Vernooij [Sun, 24 Jun 2018 00:39:13 +0000 (01:39 +0100)]
Release 0.19.4

5 years agoAdd Index.items.
Jelmer Vernooij [Sun, 24 Jun 2018 00:38:30 +0000 (01:38 +0100)]
Add Index.items.

5 years agoNote Index.iteritems in NEWS.
Jelmer Vernooij [Fri, 22 Jun 2018 16:55:06 +0000 (17:55 +0100)]
Note Index.iteritems in NEWS.

5 years agoImplement dulwich.porcelain.ls_files, avoid digraph in setup.cfg.
Jelmer Vernooij [Wed, 20 Jun 2018 17:54:50 +0000 (18:54 +0100)]
Implement dulwich.porcelain.ls_files, avoid digraph in setup.cfg.

5 years agoFix description file.
Jelmer Vernooij [Sun, 17 Jun 2018 22:12:13 +0000 (23:12 +0100)]
Fix description file.

5 years agoNew upstream version 0.19.3 upstream/0.19.3
Jelmer Vernooij [Sun, 17 Jun 2018 18:44:24 +0000 (19:44 +0100)]
New upstream version 0.19.3

5 years agoStart on 0.19.4.
Jelmer Vernooij [Sun, 17 Jun 2018 18:29:38 +0000 (19:29 +0100)]
Start on 0.19.4.

5 years agoRelease 0.19.3 dulwich-0.19.3
Jelmer Vernooij [Sun, 17 Jun 2018 18:25:02 +0000 (19:25 +0100)]
Release 0.19.3

5 years agoSupport a prefix argument to dulwich.archive.tar_stream.
Jelmer Vernooij [Sun, 17 Jun 2018 15:57:26 +0000 (16:57 +0100)]
Support a prefix argument to dulwich.archive.tar_stream.

5 years agoAdd bug tracker URL.
Jelmer Vernooij [Fri, 15 Jun 2018 22:21:14 +0000 (23:21 +0100)]
Add bug tracker URL.

5 years agoMerge basic stash support.
Jelmer Vernooij [Fri, 15 Jun 2018 22:19:41 +0000 (23:19 +0100)]
Merge basic stash support.

5 years agoAdd a setup.cfg file.
Jelmer Vernooij [Fri, 15 Jun 2018 15:44:37 +0000 (16:44 +0100)]
Add a setup.cfg file.

5 years agofix TypeError in _ParamikoWrapper
Filipp Frizzy [Mon, 2 Apr 2018 20:13:43 +0000 (23:13 +0300)]
fix TypeError in _ParamikoWrapper
cannot concatenate 'str' and 'NoneType' objects

5 years agoFix ls_tree function
Romain Keramitas [Thu, 14 Jun 2018 08:14:28 +0000 (10:14 +0200)]
Fix ls_tree function

Signed-off-by: Romain Keramitas <r.keramitas@gmail.com>
5 years agoAdd example for using memoryrepo.
Jelmer Vernooij [Sun, 3 Jun 2018 20:59:06 +0000 (21:59 +0100)]
Add example for using memoryrepo.

5 years agoUse constant for LOCAL_BRANCH_PREFIX.
Jelmer Vernooij [Sun, 3 Jun 2018 20:35:03 +0000 (21:35 +0100)]
Use constant for LOCAL_BRANCH_PREFIX.

6 years agoAdd support for subdirs and prefix arguments in GitClient.archive.
Jelmer Vernooij [Sat, 19 May 2018 02:09:45 +0000 (03:09 +0100)]
Add support for subdirs and prefix arguments in GitClient.archive.

6 years agoFix restricted build for python3.3.
Jelmer Vernooij [Fri, 18 May 2018 21:24:01 +0000 (22:24 +0100)]
Fix restricted build for python3.3.

6 years agoAdd --remote argument to 'dulwich archive'.
Jelmer Vernooij [Fri, 18 May 2018 20:57:13 +0000 (21:57 +0100)]
Add --remote argument to 'dulwich archive'.

6 years agoFix a typo in dulwich.porcelain.status
Boris Feld [Thu, 17 May 2018 16:30:22 +0000 (18:30 +0200)]
Fix a typo in dulwich.porcelain.status

s/ignoed/ignored

6 years agoDon't install gevent on python3.3; gevent no longer supports 3.3.
Jelmer Vernooij [Thu, 17 May 2018 18:14:41 +0000 (19:14 +0100)]
Don't install gevent on python3.3; gevent no longer supports 3.3.

6 years agoMore robust symlink creation test
Daniel Andersson [Fri, 11 May 2018 17:14:05 +0000 (19:14 +0200)]
More robust symlink creation test

The current test suite fails when running on a new enough Python version
on Windows to have the `os.symlink` function available (Python 3.2 and
later), but without privileges to create symlinks, which is the general
case when not running as administrator.

This fix skips the symlink creation tests when the test process either
does not have symlink capabilities, or has them but not enough privilege
to create symlinks.

6 years agoFix indentation.
Jelmer Vernooij [Wed, 9 May 2018 20:03:38 +0000 (21:03 +0100)]
Fix indentation.

6 years agoUse os.replace if available.
Jelmer Vernooij [Wed, 9 May 2018 19:40:10 +0000 (20:40 +0100)]
Use os.replace if available.

6 years agoMake fancy_rename python3-compatible.
Jelmer Vernooij [Wed, 9 May 2018 19:25:07 +0000 (20:25 +0100)]
Make fancy_rename python3-compatible.

6 years agoFix indentation.
Jelmer Vernooij [Wed, 9 May 2018 19:17:21 +0000 (20:17 +0100)]
Fix indentation.