Jelmer Vernooij [Sat, 11 Aug 2018 13:46:57 +0000 (14:46 +0100)]
Update AUTHORS.
Jelmer Vernooij [Fri, 10 Aug 2018 23:17:37 +0000 (00:17 +0100)]
Merge fix for custom auth parameters for dulwich.porcelain.clone.
semyon-slepov [Fri, 10 Aug 2018 12:52:25 +0000 (14:52 +0200)]
Fix style (long line)
semyon-slepov [Fri, 10 Aug 2018 12:24:37 +0000 (14:24 +0200)]
Pass optional arguments to fetch() while cloning
Jelmer Vernooij [Tue, 7 Aug 2018 19:15:43 +0000 (20:15 +0100)]
Avoid use of urllib2.splituser (removed in python 3.8).
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.
Daniel M. Capella [Mon, 6 Aug 2018 06:58:10 +0000 (06:58 +0000)]
Test on Python 3.7 and 3.8-dev
Jelmer Vernooij [Wed, 25 Jul 2018 18:01:57 +0000 (19:01 +0100)]
Support bytes paths in dulwich.index.
grun [Sun, 22 Jul 2018 03:17:17 +0000 (20:17 -0700)]
Pass the <errstream> parameter through from porcelain.clone() to porcelain.fetch().
Jelmer Vernooij [Wed, 18 Jul 2018 10:12:23 +0000 (11:12 +0100)]
Remove unnecessary abspath calls.
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
Jelmer Vernooij [Sun, 8 Jul 2018 12:44:26 +0000 (13:44 +0100)]
Start on 0.19.6.
Jelmer Vernooij [Sun, 8 Jul 2018 12:38:38 +0000 (13:38 +0100)]
Release 0.19.5
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>
Jelmer Vernooij [Tue, 3 Jul 2018 16:44:13 +0000 (17:44 +0100)]
Fix build on Python3, update NEWS.
Sylvia van Os [Tue, 3 Jul 2018 15:33:28 +0000 (17:33 +0200)]
Add unit tests for describe
Sylvia van Os [Sun, 1 Jul 2018 18:02:39 +0000 (20:02 +0200)]
Simple describe implementation
Jelmer Vernooij [Fri, 29 Jun 2018 19:51:38 +0000 (20:51 +0100)]
Update NEWS.
Damien Tournoud [Fri, 29 Jun 2018 14:02:07 +0000 (16:02 +0200)]
refs: Clean-up parent directories when removing references
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
Jelmer Vernooij [Sun, 24 Jun 2018 00:41:23 +0000 (01:41 +0100)]
Start on 0.19.5.
Jelmer Vernooij [Sun, 24 Jun 2018 00:39:13 +0000 (01:39 +0100)]
Release 0.19.4
Jelmer Vernooij [Sun, 24 Jun 2018 00:38:30 +0000 (01:38 +0100)]
Add Index.items.
Jelmer Vernooij [Fri, 22 Jun 2018 16:55:06 +0000 (17:55 +0100)]
Note Index.iteritems in NEWS.
Jelmer Vernooij [Wed, 20 Jun 2018 17:54:50 +0000 (18:54 +0100)]
Implement dulwich.porcelain.ls_files, avoid digraph in setup.cfg.
Jelmer Vernooij [Sun, 17 Jun 2018 22:12:13 +0000 (23:12 +0100)]
Fix description file.
Jelmer Vernooij [Sun, 17 Jun 2018 18:29:38 +0000 (19:29 +0100)]
Start on 0.19.4.
Jelmer Vernooij [Sun, 17 Jun 2018 18:25:02 +0000 (19:25 +0100)]
Release 0.19.3
Jelmer Vernooij [Sun, 17 Jun 2018 15:57:26 +0000 (16:57 +0100)]
Support a prefix argument to dulwich.archive.tar_stream.
Jelmer Vernooij [Fri, 15 Jun 2018 22:21:14 +0000 (23:21 +0100)]
Add bug tracker URL.
Jelmer Vernooij [Fri, 15 Jun 2018 22:19:41 +0000 (23:19 +0100)]
Merge basic stash support.
Jelmer Vernooij [Fri, 15 Jun 2018 15:44:37 +0000 (16:44 +0100)]
Add a setup.cfg file.
Filipp Frizzy [Mon, 2 Apr 2018 20:13:43 +0000 (23:13 +0300)]
fix TypeError in _ParamikoWrapper
cannot concatenate 'str' and 'NoneType' objects
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>
Jelmer Vernooij [Sun, 3 Jun 2018 20:59:06 +0000 (21:59 +0100)]
Add example for using memoryrepo.
Jelmer Vernooij [Sun, 3 Jun 2018 20:35:03 +0000 (21:35 +0100)]
Use constant for LOCAL_BRANCH_PREFIX.
Jelmer Vernooij [Sat, 19 May 2018 02:09:45 +0000 (03:09 +0100)]
Add support for subdirs and prefix arguments in GitClient.archive.
Jelmer Vernooij [Fri, 18 May 2018 21:24:01 +0000 (22:24 +0100)]
Fix restricted build for python3.3.
Jelmer Vernooij [Fri, 18 May 2018 20:57:13 +0000 (21:57 +0100)]
Add --remote argument to 'dulwich archive'.
Boris Feld [Thu, 17 May 2018 16:30:22 +0000 (18:30 +0200)]
Fix a typo in dulwich.porcelain.status
s/ignoed/ignored
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.
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.
Jelmer Vernooij [Wed, 9 May 2018 20:03:38 +0000 (21:03 +0100)]
Fix indentation.
Jelmer Vernooij [Wed, 9 May 2018 19:40:10 +0000 (20:40 +0100)]
Use os.replace if available.
Jelmer Vernooij [Wed, 9 May 2018 19:25:07 +0000 (20:25 +0100)]
Make fancy_rename python3-compatible.
Jelmer Vernooij [Wed, 9 May 2018 19:17:21 +0000 (20:17 +0100)]
Fix indentation.
Jelmer Vernooij [Wed, 9 May 2018 19:14:53 +0000 (20:14 +0100)]
Fix os.path.sep replacement on Python3.
Daniel Andersson [Tue, 8 May 2018 14:55:46 +0000 (16:55 +0200)]
More robust pack file rename on Windows
Simplify the existing solution for `DiskObjectStore._complete_thin_pack`
and repeat it for `MemoryObjectStore.move_in_pack` that has the same
need.
Checking the platform before unlinking was needed before since
`WindowsError` was caught, which is only defined on Windows. Since this
is a subclass of `OSError`, there is no real need to be that specific.
The platform check can remain as a minor time saver, since it seems to
be guaranteed that unlinking is never necessary on other platforms.
Another alternative could be using `shutil.move`, which silently
replaces existing targets. Python 3.3 and newer also have `os.replace`
for similar functionality.
The previous code comment mentioning that a possibly existing target
file should have the same content as the source file seems to be false,
which is the reason for
`test_object_store.DiskObjectStoreTests.test_repack_existing` failing on
Windows. This commit should mend this test.
Jelmer Vernooij [Mon, 7 May 2018 14:44:14 +0000 (15:44 +0100)]
Set source in coveragerc rather than passing on command-line.
Jelmer Vernooij [Mon, 7 May 2018 12:39:04 +0000 (13:39 +0100)]
Update my email address. jelmer@samba.org => jelmer@jelmer.uk.
Jelmer Vernooij [Fri, 4 May 2018 21:44:00 +0000 (22:44 +0100)]
Fix tests on python3.
Jelmer Vernooij [Fri, 4 May 2018 19:04:04 +0000 (20:04 +0100)]
Merge branch 'fix-porcelain-fetch' of https://github.com/dandersson/dulwich
Daniel Andersson [Fri, 4 May 2018 14:58:35 +0000 (16:58 +0200)]
Add NEWS entry
Daniel Andersson [Fri, 4 May 2018 09:35:58 +0000 (11:35 +0200)]
Reuse remote ref construction logic from clone
Move the fetch logic from `porcelain.clone` into `porcelain.fetch` to
fix issues with creating refs for the remote in `porcelain.fetch`, and
just let `porcelain.clone` call `porcelain.fetch` for this action to
avoid code duplication.
This should mend the failing tests added in the parent commit.
Daniel Andersson [Fri, 4 May 2018 14:12:45 +0000 (16:12 +0200)]
Add failing test cases for bad fetch
Add assertion that the local knowledge of the remote repository is
correct immediately following `dulwich.porcelain.fetch`.
Jelmer Vernooij [Mon, 16 Apr 2018 18:16:48 +0000 (19:16 +0100)]
Add Repo.get_shallow.
Jelmer Vernooij [Fri, 13 Apr 2018 09:22:59 +0000 (10:22 +0100)]
Fix appveyor build link.
Jelmer Vernooij [Thu, 12 Apr 2018 23:00:58 +0000 (00:00 +0100)]
Fix style errors.
Jelmer Vernooij [Thu, 12 Apr 2018 22:55:12 +0000 (23:55 +0100)]
Add checkout argument to clone. Fixes #503
Jelmer Vernooij [Thu, 12 Apr 2018 22:45:16 +0000 (23:45 +0100)]
Fix check-tutorial.
Jelmer Vernooij [Thu, 12 Apr 2018 22:23:45 +0000 (23:23 +0100)]
Fix the tutorial tests on python3. Fixes: #573
Jelmer Vernooij [Thu, 12 Apr 2018 20:32:59 +0000 (21:32 +0100)]
Build on pypy3.5.
Jelmer Vernooij [Thu, 12 Apr 2018 18:41:56 +0000 (19:41 +0100)]
Fix style.
Jelmer Vernooij [Thu, 12 Apr 2018 00:50:16 +0000 (01:50 +0100)]
Use pack data rather than actual objects during fetch.
Jelmer Vernooij [Thu, 12 Apr 2018 00:37:08 +0000 (01:37 +0100)]
Pass along progress function for pack writing progress.
Jelmer Vernooij [Thu, 12 Apr 2018 00:15:27 +0000 (01:15 +0100)]
Primarily use encoded paths in DiskRefsContainer.
Jelmer Vernooij [Thu, 12 Apr 2018 00:15:05 +0000 (01:15 +0100)]
Support byte filenames in GitFile.
Jelmer Vernooij [Thu, 12 Apr 2018 00:00:46 +0000 (01:00 +0100)]
Followup fix for #608; also handle Repo.get_refs.
Jelmer Vernooij [Wed, 11 Apr 2018 23:52:08 +0000 (00:52 +0100)]
Support setting DULWICH_PDB to have SIGQUIT trigger pdb.
Jelmer Vernooij [Mon, 9 Apr 2018 02:42:50 +0000 (03:42 +0100)]
Use errno rather than hardcoded windows error number.
Jelmer Vernooij [Mon, 9 Apr 2018 02:29:12 +0000 (03:29 +0100)]
Be os.path.sep-independent.
Jelmer Vernooij [Mon, 9 Apr 2018 02:27:07 +0000 (03:27 +0100)]
Fix os.path.sep replacement on Windows.
Jelmer Vernooij [Mon, 9 Apr 2018 02:25:13 +0000 (03:25 +0100)]
Strip forward slashes after conversion from os.path.sep.
Jelmer Vernooij [Mon, 9 Apr 2018 02:23:26 +0000 (03:23 +0100)]
Clean up repo in test.
Jelmer Vernooij [Mon, 9 Apr 2018 02:14:22 +0000 (03:14 +0100)]
Allow rename error when the target already exists, on Windows. #559
Jelmer Vernooij [Mon, 9 Apr 2018 01:46:55 +0000 (02:46 +0100)]
Fix handling of encoding for tags. #608
Jelmer Vernooij [Sun, 8 Apr 2018 17:10:30 +0000 (18:10 +0100)]
Fix tests on python3.
Jelmer Vernooij [Sun, 8 Apr 2018 16:51:20 +0000 (17:51 +0100)]
Add really basic dulwich.porcelain.fsck.
Jelmer Vernooij [Sun, 8 Apr 2018 16:50:20 +0000 (17:50 +0100)]
Start on 0.19.3.
Jelmer Vernooij [Sat, 7 Apr 2018 13:49:22 +0000 (14:49 +0100)]
Release 0.19.2
Jelmer Vernooij [Sat, 7 Apr 2018 13:26:51 +0000 (14:26 +0100)]
Fix Index.iterblobs behaviour, add test.
Jelmer Vernooij [Sat, 7 Apr 2018 01:06:54 +0000 (02:06 +0100)]
Disallow .git entries in trees, like C git.
Jelmer Vernooij [Thu, 5 Apr 2018 23:21:02 +0000 (00:21 +0100)]
Start on 0.19.2.
Jelmer Vernooij [Thu, 5 Apr 2018 23:13:07 +0000 (00:13 +0100)]
Release 0.19.1
Jelmer Vernooij [Thu, 5 Apr 2018 23:03:02 +0000 (00:03 +0100)]
Only pass key_filename and password into SSHVendor.run_command if they are set (for backwards compatibility)
Jelmer Vernooij [Thu, 5 Apr 2018 22:58:41 +0000 (23:58 +0100)]
SSHVendor: password is independent of key_filename.
Jelmer Vernooij [Mon, 2 Apr 2018 18:46:56 +0000 (19:46 +0100)]
Use keyword arguments to prevent accidentally passing in the wrong arguments to super constructor.
Jelmer Vernooij [Mon, 2 Apr 2018 17:20:33 +0000 (18:20 +0100)]
Merge change from PuttySSHVendor => PLinkSSHVendor.
Adam Bradley [Mon, 2 Apr 2018 16:51:21 +0000 (12:51 -0400)]
Removing PuttySSHVendor tests.
Adam Bradley [Mon, 2 Apr 2018 16:36:33 +0000 (12:36 -0400)]
Removing PuttySSHVendor.
Jelmer Vernooij [Mon, 2 Apr 2018 15:28:27 +0000 (16:28 +0100)]
Remove duplicate empty line.
Jelmer Vernooij [Mon, 2 Apr 2018 15:27:23 +0000 (16:27 +0100)]
add basic tests for stash.
Jelmer Vernooij [Sat, 31 Mar 2018 16:58:18 +0000 (17:58 +0100)]
Add stash push.
Jelmer Vernooij [Sat, 31 Mar 2018 15:38:35 +0000 (16:38 +0100)]
Add basic Stash class.
Jelmer Vernooij [Mon, 2 Apr 2018 14:47:25 +0000 (15:47 +0100)]
Fix repeat HTTP requests using the same smart HTTP client.
Jelmer Vernooij [Mon, 2 Apr 2018 13:21:02 +0000 (14:21 +0100)]
Factor out a parse_rsync_url function.
Jelmer Vernooij [Sat, 31 Mar 2018 19:25:38 +0000 (20:25 +0100)]
Only import urllib3 when it's used.
Jelmer Vernooij [Sat, 31 Mar 2018 17:29:14 +0000 (18:29 +0100)]
Add LOCAL_TAG_PREFIX constant.
Jelmer Vernooij [Sat, 31 Mar 2018 16:59:02 +0000 (17:59 +0100)]
Add object_store argument to index_entry_from_path.
Jelmer Vernooij [Sat, 31 Mar 2018 15:39:09 +0000 (16:39 +0100)]
Fix 'remote add' command.