jelmer/dulwich.git
6 years agoRelease 0.18.3 dulwich-0.18.3
Jelmer Vernooij [Sun, 3 Sep 2017 02:19:18 +0000 (02:19 +0000)]
Release 0.18.3

6 years ago[object_store] Flush before fsync when adding pack
Earl Chew [Sat, 26 Aug 2017 14:30:52 +0000 (07:30 -0700)]
[object_store] Flush before fsync when adding pack

Signed-off-by: Earl Chew <earl_chew@yahoo.com>
6 years ago[object_store] Avoid leaking previous pack when adding known pack
Earl Chew [Sat, 26 Aug 2017 14:29:24 +0000 (07:29 -0700)]
[object_store] Avoid leaking previous pack when adding known pack

Signed-off-by: Earl Chew <earl_chew@yahoo.com>
6 years ago[object_store] Simplify evasive action for repacked store
Earl Chew [Sat, 26 Aug 2017 14:51:13 +0000 (07:51 -0700)]
[object_store] Simplify evasive action for repacked store

Signed-off-by: Earl Chew <earl_chew@yahoo.com>
6 years agoUpdate AUTHORS/NEWS.
Jelmer Vernooij [Sat, 26 Aug 2017 11:08:25 +0000 (11:08 +0000)]
Update AUTHORS/NEWS.

6 years agoSimplify repack code a bit.
Jelmer Vernooij [Sat, 26 Aug 2017 11:03:35 +0000 (11:03 +0000)]
Simplify repack code a bit.

6 years agoAdd test for repeated repacking.
Jelmer Vernooij [Sat, 26 Aug 2017 10:47:43 +0000 (10:47 +0000)]
Add test for repeated repacking.

6 years agoTake care not to remove consolidated pack after repacking
Earl Chew [Fri, 25 Aug 2017 17:21:13 +0000 (10:21 -0700)]
Take care not to remove consolidated pack after repacking

Signed-off-by: Earl Chew <earl_chew@yahoo.com>
6 years agoPoint to current doc folder (doc -> docs)
François Violette [Sun, 20 Aug 2017 21:12:04 +0000 (23:12 +0200)]
Point to current doc folder (doc -> docs)

6 years agoFix test.
Jelmer Vernooij [Sat, 19 Aug 2017 04:14:44 +0000 (04:14 +0000)]
Fix test.

6 years agoProperly follow redirects over HTTP/HTTPS. Fixes #117
Jelmer Vernooij [Sat, 19 Aug 2017 03:14:27 +0000 (03:14 +0000)]
Properly follow redirects over HTTP/HTTPS. Fixes #117

6 years agoSupport gzip compression in smart HTTP requests.
Jelmer Vernooij [Sat, 19 Aug 2017 02:41:06 +0000 (02:41 +0000)]
Support gzip compression in smart HTTP requests.

6 years agoAdd basic repack implementation.
Jelmer Vernooij [Sat, 19 Aug 2017 01:40:19 +0000 (01:40 +0000)]
Add basic repack implementation.

This doesn't have any of the knobs that ``git repack`` currently has,
it's fairly inefficient with memory, and it's not yet automatically
triggered.

6 years agoFix style and python3 compatibility.
Jelmer Vernooij [Fri, 18 Aug 2017 20:34:02 +0000 (20:34 +0000)]
Fix style and python3 compatibility.

6 years agoAdd commit_tree_changes.
Jelmer Vernooij [Fri, 18 Aug 2017 10:00:07 +0000 (10:00 +0000)]
Add commit_tree_changes.

6 years agoFix build on python3.
Jelmer Vernooij [Mon, 14 Aug 2017 22:59:10 +0000 (22:59 +0000)]
Fix build on python3.

6 years agoFix syntax error.
Jelmer Vernooij [Sun, 30 Jul 2017 18:52:03 +0000 (18:52 +0000)]
Fix syntax error.

6 years agoFix python3 support.
Jelmer Vernooij [Mon, 14 Aug 2017 21:26:43 +0000 (21:26 +0000)]
Fix python3 support.

6 years agoHandle proxy and useragent being missing.
Jelmer Vernooij [Mon, 14 Aug 2017 20:39:19 +0000 (20:39 +0000)]
Handle proxy and useragent being missing.

6 years agoSupport __eq__, __contains__, __getitem__, __len__ and __iter__ on FetchPackResult...
Jelmer Vernooij [Thu, 10 Aug 2017 10:17:02 +0000 (10:17 +0000)]
Support __eq__, __contains__, __getitem__, __len__ and __iter__ on FetchPackResult. Fixes #548

6 years agoFix python3 compatibility.
Jelmer Vernooij [Mon, 7 Aug 2017 00:56:02 +0000 (00:56 +0000)]
Fix python3 compatibility.

6 years agoReturn user agent in FetchPackResult.
Jelmer Vernooij [Sun, 6 Aug 2017 21:14:48 +0000 (21:14 +0000)]
Return user agent in FetchPackResult.

6 years agoHandle probes that hit directories.
Jelmer Vernooij [Sun, 6 Aug 2017 21:10:09 +0000 (21:10 +0000)]
Handle probes that hit directories.

6 years agoImplement 'dulwich push'.
Jelmer Vernooij [Sun, 6 Aug 2017 21:09:42 +0000 (21:09 +0000)]
Implement 'dulwich push'.

6 years agoFix style.
Jelmer Vernooij [Sun, 6 Aug 2017 20:57:26 +0000 (20:57 +0000)]
Fix style.

6 years agoProvide symrefs in server. Fixes #485
Jelmer Vernooij [Sun, 6 Aug 2017 20:50:18 +0000 (20:50 +0000)]
Provide symrefs in server. Fixes #485

6 years agoAdd docstring for FetchPackResult.
Jelmer Vernooij [Sun, 6 Aug 2017 20:24:52 +0000 (20:24 +0000)]
Add docstring for FetchPackResult.

6 years agoReturn symrefs from fetch_pack.
Jelmer Vernooij [Sun, 6 Aug 2017 20:21:30 +0000 (20:21 +0000)]
Return symrefs from fetch_pack.

6 years agoFix compat tests.
Jelmer Vernooij [Sun, 6 Aug 2017 20:15:33 +0000 (20:15 +0000)]
Fix compat tests.

6 years agoAdd RefsContainer.get_symrefs.
Jelmer Vernooij [Sun, 6 Aug 2017 19:53:19 +0000 (19:53 +0000)]
Add RefsContainer.get_symrefs.

6 years agoFix style.
Jelmer Vernooij [Sun, 6 Aug 2017 17:43:04 +0000 (17:43 +0000)]
Fix style.

6 years agoAdd parse_symref_value.
Jelmer Vernooij [Sun, 6 Aug 2017 17:37:51 +0000 (17:37 +0000)]
Add parse_symref_value.

6 years agoAllow for capabilities to be extended with custom capabilities.
Jelmer Vernooij [Sun, 6 Aug 2017 15:27:18 +0000 (15:27 +0000)]
Allow for capabilities to be extended with custom capabilities.

6 years agoparse symrefs.
Jelmer Vernooij [Sun, 6 Aug 2017 15:12:37 +0000 (15:12 +0000)]
parse symrefs.

6 years agoFactor out negotiating capabilities.
Jelmer Vernooij [Sun, 6 Aug 2017 15:07:09 +0000 (15:07 +0000)]
Factor out negotiating capabilities.

6 years agoFix style.
Jelmer Vernooij [Sun, 6 Aug 2017 14:59:23 +0000 (14:59 +0000)]
Fix style.

6 years agoList all known capabilities.
Jelmer Vernooij [Sun, 6 Aug 2017 13:36:24 +0000 (13:36 +0000)]
List all known capabilities.

6 years agoAdd capability_symref.
Jelmer Vernooij [Sun, 6 Aug 2017 13:13:47 +0000 (13:13 +0000)]
Add capability_symref.

6 years agoAdd dulwich.porcelain.update_head. Fixes #439
Jelmer Vernooij [Sun, 6 Aug 2017 12:52:05 +0000 (12:52 +0000)]
Add dulwich.porcelain.update_head. Fixes #439

6 years agoMerge fix for treatment of empty chunks in unified diff writer. Fixes #543
Jelmer Vernooij [Sat, 5 Aug 2017 23:46:07 +0000 (23:46 +0000)]
Merge fix for treatment of empty chunks in unified diff writer. Fixes #543

6 years agoadded docstring for unified_diff implementation
Taras Postument [Sat, 5 Aug 2017 18:13:18 +0000 (21:13 +0300)]
added docstring for unified_diff implementation

6 years agofix unified_diff implementation for issue #543
Taras Postument [Sat, 5 Aug 2017 11:57:57 +0000 (14:57 +0300)]
fix unified_diff implementation for issue #543

6 years agoPass in config when running operations from porcelain. Fixes #545
Jelmer Vernooij [Sat, 5 Aug 2017 09:36:24 +0000 (09:36 +0000)]
Pass in config when running operations from porcelain. Fixes #545

6 years agoUpdate appveyor URL.
Jelmer Vernooij [Wed, 2 Aug 2017 22:34:33 +0000 (22:34 +0000)]
Update appveyor URL.

6 years agoStart on 0.18.3.
Jelmer Vernooij [Tue, 1 Aug 2017 23:16:54 +0000 (23:16 +0000)]
Start on 0.18.3.

6 years agoRelease 0.18.2 dulwich-0.18.2
Jelmer Vernooij [Tue, 1 Aug 2017 23:00:16 +0000 (23:00 +0000)]
Release 0.18.2

6 years agoSet default time that's not dependent on local timezone.
Jelmer Vernooij [Tue, 1 Aug 2017 10:05:02 +0000 (10:05 +0000)]
Set default time that's not dependent on local timezone.

6 years agoFix test of show against other commit.
Jelmer Vernooij [Tue, 1 Aug 2017 10:02:44 +0000 (10:02 +0000)]
Fix test of show against other commit.

6 years agoStart on 0.18.2.
Jelmer Vernooij [Mon, 31 Jul 2017 09:45:31 +0000 (09:45 +0000)]
Start on 0.18.2.

6 years agoRelease 0.18.1 dulwich-0.18.1
Jelmer Vernooij [Mon, 31 Jul 2017 09:30:49 +0000 (09:30 +0000)]
Release 0.18.1

6 years agoStart on 0.18.1.
Jelmer Vernooij [Mon, 31 Jul 2017 01:13:14 +0000 (01:13 +0000)]
Start on 0.18.1.

6 years agoRelease 0.18.0 dulwich-0.18.0
Jelmer Vernooij [Mon, 31 Jul 2017 01:10:04 +0000 (01:10 +0000)]
Release 0.18.0

6 years agoserver: `_want_satisfied` should not travel all the paths.
Damien Tournoud [Tue, 19 Aug 2014 16:49:04 +0000 (18:49 +0200)]
server: `_want_satisfied` should not travel all the paths.

6 years agoIgnore style errors under .tox/
Jelmer Vernooij [Sun, 30 Jul 2017 18:46:59 +0000 (18:46 +0000)]
Ignore style errors under .tox/

6 years agoFix dulwich.porcelain.show on commits with Python3. Fixes #532
Jelmer Vernooij [Sun, 30 Jul 2017 18:43:46 +0000 (18:43 +0000)]
Fix dulwich.porcelain.show on commits with Python3. Fixes #532

6 years agoAvoid unnecessary porcelain import.
Jelmer Vernooij [Sat, 29 Jul 2017 13:41:10 +0000 (13:41 +0000)]
Avoid unnecessary porcelain import.

6 years agoHandle race conditions with pack directory's mtime. Fixes #541
Jelmer Vernooij [Fri, 28 Jul 2017 00:40:14 +0000 (00:40 +0000)]
Handle race conditions with pack directory's mtime. Fixes #541

6 years agoFix comment - set_ack_level->set_ack_type.
Jelmer Vernooij [Wed, 26 Jul 2017 11:43:02 +0000 (11:43 +0000)]
Fix comment - set_ack_level->set_ack_type.

6 years agoFix exit code for check-ignore.
Jelmer Vernooij [Fri, 21 Jul 2017 09:31:49 +0000 (09:31 +0000)]
Fix exit code for check-ignore.

6 years agoAdd and use parse_tree.
Jelmer Vernooij [Thu, 20 Jul 2017 16:59:31 +0000 (16:59 +0000)]
Add and use parse_tree.

6 years agoUse correct types.
Jelmer Vernooij [Thu, 20 Jul 2017 14:12:53 +0000 (14:12 +0000)]
Use correct types.

6 years agoFix another test case mentioned by Segev in #526
Jelmer Vernooij [Thu, 20 Jul 2017 10:09:38 +0000 (10:09 +0000)]
Fix another test case mentioned by Segev in #526

6 years agoSupport printing directories in check-ignore.
Jelmer Vernooij [Wed, 19 Jul 2017 21:37:46 +0000 (21:37 +0000)]
Support printing directories in check-ignore.

6 years agoAdd test for reset behaviour fixes, simplify handling of ZERO_SHA a bit.
Jelmer Vernooij [Wed, 19 Jul 2017 21:10:54 +0000 (21:10 +0000)]
Add test for reset behaviour fixes, simplify handling of ZERO_SHA a bit.

6 years agoGitImportProcessor: handle markers for merges
Antoine Pietri [Wed, 19 Jul 2017 16:28:35 +0000 (18:28 +0200)]
GitImportProcessor: handle markers for merges

6 years agoGitImportProcessor: handle repositories with multiple roots
Antoine Pietri [Wed, 19 Jul 2017 16:40:13 +0000 (18:40 +0200)]
GitImportProcessor: handle repositories with multiple roots

6 years agoGitImportProcessor: handle commit markers
Antoine Pietri [Wed, 19 Jul 2017 12:15:31 +0000 (14:15 +0200)]
GitImportProcessor: handle commit markers

6 years agoSanitize handling of paths for porcelain.add.
Jelmer Vernooij [Sun, 16 Jul 2017 17:51:24 +0000 (17:51 +0000)]
Sanitize handling of paths for porcelain.add.

6 years agoRequire that callers pass in a relative path to IgnoreFilterManager.
Jelmer Vernooij [Sun, 16 Jul 2017 14:49:38 +0000 (14:49 +0000)]
Require that callers pass in a relative path to IgnoreFilterManager.

6 years agoMake sure path is encoded before using it in e.g. tree lookups.
Jelmer Vernooij [Sun, 16 Jul 2017 14:42:51 +0000 (14:42 +0000)]
Make sure path is encoded before using it in e.g. tree lookups.

Should fix tests on Windows.

6 years agoActually remove files from disk in ``dulwich.porcelain.remove``. Fixes
Jelmer Vernooij [Sun, 16 Jul 2017 14:26:58 +0000 (14:26 +0000)]
Actually remove files from disk in ``dulwich.porcelain.remove``. Fixes

6 years agoAdd example based on gitignore manpage.
Jelmer Vernooij [Sun, 16 Jul 2017 14:03:15 +0000 (14:03 +0000)]
Add example based on gitignore manpage.

6 years agoAdd another test for empty path elements.
Jelmer Vernooij [Sun, 16 Jul 2017 13:47:56 +0000 (13:47 +0000)]
Add another test for empty path elements.

6 years agoAsterisk can match an empty string too.
Jelmer Vernooij [Sun, 16 Jul 2017 13:32:45 +0000 (13:32 +0000)]
Asterisk can match an empty string too.

6 years agoHandle .gitignore files with \r\n line endings
Segev Finer [Sun, 16 Jul 2017 12:59:55 +0000 (15:59 +0300)]
Handle .gitignore files with \r\n line endings

6 years agoConsistent formatting of bullet points in NEWS.
Jelmer Vernooij [Sun, 16 Jul 2017 12:10:08 +0000 (12:10 +0000)]
Consistent formatting of bullet points in NEWS.

6 years agoSupport ignored argument to dulwich.porcelain.status.
Jelmer Vernooij [Sun, 16 Jul 2017 12:05:52 +0000 (12:05 +0000)]
Support ignored argument to dulwich.porcelain.status.

6 years agoAdd convenience function for converting path to tree path.
Jelmer Vernooij [Sun, 16 Jul 2017 11:55:24 +0000 (11:55 +0000)]
Add convenience function for converting path to tree path.

6 years agoFix Python3.
Jelmer Vernooij [Sun, 16 Jul 2017 11:50:31 +0000 (11:50 +0000)]
Fix Python3.

6 years agoProperly check for directory paths with trailing slash in IgnoreFilterManager.
Jelmer Vernooij [Sun, 16 Jul 2017 11:24:26 +0000 (11:24 +0000)]
Properly check for directory paths with trailing slash in IgnoreFilterManager.

6 years agoAdd some more documentation.
Jelmer Vernooij [Sun, 16 Jul 2017 11:11:18 +0000 (11:11 +0000)]
Add some more documentation.

6 years agoSupport ignorecase setting.
Jelmer Vernooij [Sun, 16 Jul 2017 11:05:01 +0000 (11:05 +0000)]
Support ignorecase setting.

6 years agoTranslate Windows path separators to slashes.
Jelmer Vernooij [Sat, 15 Jul 2017 18:32:03 +0000 (18:32 +0000)]
Translate Windows path separators to slashes.

6 years agoAttempt to fix build on appveyor.
Jelmer Vernooij [Sat, 15 Jul 2017 18:05:58 +0000 (18:05 +0000)]
Attempt to fix build on appveyor.

6 years agoProperly support submodules in ``porcelain.status``. Fixes #517
Jelmer Vernooij [Sat, 15 Jul 2017 16:33:47 +0000 (16:33 +0000)]
Properly support submodules in ``porcelain.status``. Fixes #517

6 years agoIgnore files in subrepositories.
Jelmer Vernooij [Sat, 15 Jul 2017 16:24:58 +0000 (16:24 +0000)]
Ignore files in subrepositories.

6 years agoHook ignore support into status.
Jelmer Vernooij [Sat, 15 Jul 2017 15:34:04 +0000 (15:34 +0000)]
Hook ignore support into status.

6 years agoAdd Pattern.__str__.
Jelmer Vernooij [Sat, 15 Jul 2017 15:02:31 +0000 (15:02 +0000)]
Add Pattern.__str__.

6 years agoAdd IgnoreFilterManager.find_matching and IgnoreFilter.find_matching, to find actual...
Jelmer Vernooij [Sat, 15 Jul 2017 14:59:30 +0000 (14:59 +0000)]
Add IgnoreFilterManager.find_matching and IgnoreFilter.find_matching, to find actual ignore patterns that matched.

6 years agoCompile regexes, and keep track of pattern string.
Jelmer Vernooij [Sat, 15 Jul 2017 14:40:40 +0000 (14:40 +0000)]
Compile regexes, and keep track of pattern string.

6 years agoImplement IgnoreFilterManager.__repr__.
Jelmer Vernooij [Sat, 15 Jul 2017 14:23:58 +0000 (14:23 +0000)]
Implement IgnoreFilterManager.__repr__.

6 years agoDon't use os.path.sep since that changes with the platform
Segev Finer [Thu, 13 Jul 2017 07:55:22 +0000 (10:55 +0300)]
Don't use os.path.sep since that changes with the platform

We might want to convert all paths to POSIX to make this work
with platform specific paths (Windows paths :P)

6 years agoLook in lower directory ignore files first.
Jelmer Vernooij [Thu, 13 Jul 2017 01:23:58 +0000 (01:23 +0000)]
Look in lower directory ignore files first.

6 years agoImplement check-ignore.
Jelmer Vernooij [Thu, 13 Jul 2017 00:27:20 +0000 (00:27 +0000)]
Implement check-ignore.

6 years agoHonor ignores in dulwich.porcelain.add.
Jelmer Vernooij [Wed, 12 Jul 2017 23:53:48 +0000 (23:53 +0000)]
Honor ignores in dulwich.porcelain.add.

6 years agoignore: Fix default_user_ignore_filter_path when HOME is not set
Segev Finer [Wed, 12 Jul 2017 20:24:58 +0000 (23:24 +0300)]
ignore: Fix default_user_ignore_filter_path when HOME is not set

For example on Windows.

6 years agoFix another flake8 error.
Jelmer Vernooij [Tue, 11 Jul 2017 01:56:20 +0000 (01:56 +0000)]
Fix another flake8 error.

6 years agoFix python3 support for ignores.
Jelmer Vernooij [Tue, 11 Jul 2017 01:45:16 +0000 (01:45 +0000)]
Fix python3 support for ignores.

6 years agoRun style tests in travis.
Jelmer Vernooij [Tue, 11 Jul 2017 01:38:37 +0000 (01:38 +0000)]
Run style tests in travis.

6 years agoFix all flake8 style issues.
Jelmer Vernooij [Tue, 11 Jul 2017 01:37:32 +0000 (01:37 +0000)]
Fix all flake8 style issues.