jelmer/dulwich.git
7 years agoNew upstream version 0.16.2 upstream/0.16.2
Jelmer Vernooij [Sat, 14 Jan 2017 16:39:51 +0000 (16:39 +0000)]
New upstream version 0.16.2

7 years agoRelease 0.16.2. dulwich-0.16.2
Jelmer Vernooij [Sat, 14 Jan 2017 16:33:36 +0000 (16:33 +0000)]
Release 0.16.2.

7 years agoUpdate NEWS
Jelmer Vernooij [Sat, 14 Jan 2017 16:23:39 +0000 (16:23 +0000)]
Update NEWS

7 years agoUse os.sync where possible.
Jelmer Vernooij [Sat, 14 Jan 2017 16:14:55 +0000 (16:14 +0000)]
Use os.sync where possible.

Check st_size to prevent reading existing file unless it has the same
size as the old file in build_file_from_blob.

7 years agoAdd test case for #479 #480
Benoit HERVIER [Wed, 11 Jan 2017 22:41:09 +0000 (23:41 +0100)]
Add test case for #479 #480

7 years agoAvoid useless write and file stats change #479
Benoît HERVIER [Tue, 10 Jan 2017 20:55:33 +0000 (21:55 +0100)]
Avoid useless write and file stats change  #479

Avoid writing file when no change happen and so writing file without modification will change file stats  #479

7 years agoCheck for existance of index file before opening pack.
OnMaster [Thu, 12 Jan 2017 14:50:29 +0000 (15:50 +0100)]
Check for existance of index file before opening pack.

This fixes #482:(Concurrent access to a repository on Windows sometimes fails.

7 years agoRevert formatting change in index.py that breaks windows compatibility.
Koen Martens [Wed, 11 Jan 2017 10:54:08 +0000 (11:54 +0100)]
Revert formatting change in index.py that breaks windows compatibility.

7 years agoUpdate NEWS.
Jelmer Vernooij [Wed, 11 Jan 2017 21:10:09 +0000 (21:10 +0000)]
Update NEWS.

7 years agohandle deleted files when getting unstaged changes
Doug Hellmann [Wed, 11 Jan 2017 20:37:25 +0000 (15:37 -0500)]
handle deleted files when getting unstaged changes

If one of the changes that hasn't been staged involves deleting a file,
blob_from_path_and_stat() throws an OSError. Trap the error and treat
the deleted file as a change by emitting the name of the file.

This bug was reported downstream against reno as
https://bugs.launchpad.net/reno/+bug/1655719

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
7 years agoCope with submodules in build_index_from_tree.
Jelmer Vernooij [Tue, 10 Jan 2017 01:54:06 +0000 (01:54 +0000)]
Cope with submodules in build_index_from_tree.

Fixes #477

7 years agoAdd credits to NEWS.
Jelmer Vernooij [Fri, 6 Jan 2017 23:41:57 +0000 (23:41 +0000)]
Add credits to NEWS.

7 years ago#475: Unquoting credentials before passing them over to urllib2
Volodymyr Holovko [Fri, 6 Jan 2017 13:28:17 +0000 (15:28 +0200)]
#475: Unquoting credentials before passing them over to urllib2

7 years agoAdd credit for with statement change.
Jelmer Vernooij [Thu, 5 Jan 2017 23:02:12 +0000 (23:02 +0000)]
Add credit for with statement change.

7 years agoRepo: enable "with" statement support for closing
Søren Løvborg [Thu, 5 Jan 2017 18:38:55 +0000 (19:38 +0100)]
Repo: enable "with" statement support for closing

7 years agoFix NEWS updates for Koen's changes.
Jelmer Vernooij [Wed, 4 Jan 2017 16:11:07 +0000 (16:11 +0000)]
Fix NEWS updates for Koen's changes.

7 years agoSome minor formatting fixes.
Jelmer Vernooij [Wed, 4 Jan 2017 00:21:35 +0000 (00:21 +0000)]
Some minor formatting fixes.

7 years agoAdd _determine_file_mode to SwiftRepo, always returns false.
Koen Martens [Mon, 2 Jan 2017 20:01:17 +0000 (21:01 +0100)]
Add _determine_file_mode to SwiftRepo, always returns false.

7 years agoUse os.path.normcase in dulwich.tests.compat.test_repository
Koen Martens [Mon, 2 Jan 2017 19:47:39 +0000 (20:47 +0100)]
Use os.path.normcase in dulwich.tests.compat.test_repository

7 years agoUpdate NEWS file
Koen Martens [Mon, 2 Jan 2017 18:32:02 +0000 (19:32 +0100)]
Update NEWS file

7 years agoWhen initializing repo, probe file-system to determine
Koen Martens [Mon, 2 Jan 2017 18:31:24 +0000 (19:31 +0100)]
When initializing repo, probe file-system to determine

7 years agoIf honor_filemode is false, ignore filemode when
Koen Martens [Mon, 2 Jan 2017 18:30:54 +0000 (19:30 +0100)]
If honor_filemode is false, ignore filemode when

7 years agoFix failing test-cases on windows.
Koen Martens [Mon, 2 Jan 2017 18:30:07 +0000 (19:30 +0100)]
Fix failing test-cases on windows.

7 years agoDocument checkout param in dulwich.porcelain.clone
Koen Martens [Mon, 2 Jan 2017 18:30:31 +0000 (19:30 +0100)]
Document checkout param in dulwich.porcelain.clone

7 years agoIgnore .idea directory (pycharm project settings)
Koen Martens [Mon, 2 Jan 2017 18:29:45 +0000 (19:29 +0100)]
Ignore .idea directory (pycharm project settings)

7 years agoAdd remote in dulwich.porcelain.clone.
Jelmer Vernooij [Wed, 28 Dec 2016 16:36:44 +0000 (16:36 +0000)]
Add remote in dulwich.porcelain.clone.

7 years agoFilter out annotated tags during clone.
Jelmer Vernooij [Wed, 28 Dec 2016 15:40:12 +0000 (15:40 +0000)]
Filter out annotated tags during clone.

7 years agoExclude annotated tags when importing.
Jelmer Vernooij [Wed, 28 Dec 2016 15:34:41 +0000 (15:34 +0000)]
Exclude annotated tags when importing.

7 years agoAllow unicode or bytestring host paths in GitClient.
Jelmer Vernooij [Wed, 28 Dec 2016 15:30:06 +0000 (15:30 +0000)]
Allow unicode or bytestring host paths in GitClient.

7 years agoFix dulwich.porcelain.ls_remote.
Jelmer Vernooij [Wed, 28 Dec 2016 15:13:58 +0000 (15:13 +0000)]
Fix dulwich.porcelain.ls_remote.

7 years agoRefactor repo opening in LocalGitClient.
Jelmer Vernooij [Wed, 28 Dec 2016 14:27:41 +0000 (14:27 +0000)]
Refactor repo opening in LocalGitClient.

7 years agoMerge branch 'refine-changes' of https://github.com/dhellmann/dulwich
Jelmer Vernooij [Mon, 26 Dec 2016 15:40:59 +0000 (15:40 +0000)]
Merge branch 'refine-changes' of https://github.com/dhellmann/dulwich

7 years agoOnly run 'git worktree list' when it is available.
Jelmer Vernooij [Mon, 26 Dec 2016 11:20:17 +0000 (11:20 +0000)]
Only run 'git worktree list' when it is available.

7 years agoNew upstream version 0.16.1 upstream/0.16.1
Jelmer Vernooij [Sun, 25 Dec 2016 13:42:44 +0000 (13:42 +0000)]
New upstream version 0.16.1

7 years agoStart on 0.16.2.
Jelmer Vernooij [Sun, 25 Dec 2016 13:41:00 +0000 (13:41 +0000)]
Start on 0.16.2.

7 years agoRelease 0.16.1. dulwich-0.16.1
Jelmer Vernooij [Sun, 25 Dec 2016 13:29:16 +0000 (13:29 +0000)]
Release 0.16.1.

7 years agoAdd basic test for release_robot.
Jelmer Vernooij [Sun, 25 Dec 2016 13:24:29 +0000 (13:24 +0000)]
Add basic test for release_robot.

7 years agoFix python3 compatibility of release robot.
Jelmer Vernooij [Sun, 25 Dec 2016 13:17:28 +0000 (13:17 +0000)]
Fix python3 compatibility of release robot.

7 years agoAdd note about when connect_ssh was deprecated.
Jelmer Vernooij [Sun, 25 Dec 2016 13:11:05 +0000 (13:11 +0000)]
Add note about when connect_ssh was deprecated.

7 years agoNew upstream version 0.16.0 upstream/0.16.0
Jelmer Vernooij [Sat, 24 Dec 2016 23:51:35 +0000 (23:51 +0000)]
New upstream version 0.16.0

7 years agoStart on 0.16.1.
Jelmer Vernooij [Sat, 24 Dec 2016 23:44:47 +0000 (23:44 +0000)]
Start on 0.16.1.

7 years agoDulwich 0.16.0. dulwich-0.16.0
Jelmer Vernooij [Sat, 24 Dec 2016 23:39:18 +0000 (23:39 +0000)]
Dulwich 0.16.0.

7 years agoadd path filtering to WalkEntry.changes()
Doug Hellmann [Tue, 20 Dec 2016 19:54:00 +0000 (14:54 -0500)]
add path filtering to WalkEntry.changes()

Add a path_prefix argument to WalkEntry.changes() to let it compute only
the differences under a portion of the tree represented by the change.
This is slightly different than the paths argument to Repo.get_walker()
because it allows the Walker to produce WalkEntry objects for which
there are no changes under the path, and then realize that as the
calling code iterates over the results. This is useful in cases where
the caller needs to have access to all commits (for example, to see
where tags fall), but may only care about some actual file changes under
a portion of the repository.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
7 years agoFix formatting in NEWS.
Jelmer Vernooij [Fri, 16 Dec 2016 01:58:13 +0000 (01:58 +0000)]
Fix formatting in NEWS.

7 years agoFix porcelain.reset to not ignore committish argument.
Koen Martens [Thu, 15 Dec 2016 19:28:25 +0000 (20:28 +0100)]
Fix porcelain.reset to not ignore committish argument.

7 years agoCorrect add_objects docstrings.
Jelmer Vernooij [Sun, 11 Dec 2016 17:09:12 +0000 (17:09 +0000)]
Correct add_objects docstrings.

7 years agoClarify argument to ObjectStore.add_objects().
Jelmer Vernooij [Sun, 11 Dec 2016 17:04:49 +0000 (17:04 +0000)]
Clarify argument to ObjectStore.add_objects().

7 years agoAdd constant for default ref.
Jelmer Vernooij [Sun, 11 Dec 2016 16:54:22 +0000 (16:54 +0000)]
Add constant for default ref.

7 years agoFix python3 build
Jelmer Vernooij [Sun, 20 Nov 2016 00:46:30 +0000 (00:46 +0000)]
Fix python3 build

7 years agoFix handling of unknown URL schemes in get_transport_and_path. (#465).
Jelmer Vernooij [Sun, 20 Nov 2016 00:37:36 +0000 (00:37 +0000)]
Fix handling of unknown URL schemes in get_transport_and_path. (#465).

7 years agoReturn refs from LocalGitClient.fetch_pack().
Jelmer Vernooij [Sun, 20 Nov 2016 00:20:04 +0000 (00:20 +0000)]
Return refs from LocalGitClient.fetch_pack().

7 years agoFix tests on python3.
Jelmer Vernooij [Wed, 9 Nov 2016 23:35:52 +0000 (23:35 +0000)]
Fix tests on python3.

7 years agoAdd --name-status argument to porcelain.log.
Jelmer Vernooij [Wed, 9 Nov 2016 16:51:09 +0000 (16:51 +0000)]
Add --name-status argument to porcelain.log.

7 years agoPass --reverse argument on in porcelain.
Jelmer Vernooij [Wed, 9 Nov 2016 16:30:01 +0000 (16:30 +0000)]
Pass --reverse argument on in porcelain.

7 years agoFix handling of Commit.tree being set to an actual Tree rather than a Tree id.
Jelmer Vernooij [Wed, 9 Nov 2016 16:21:19 +0000 (16:21 +0000)]
Fix handling of Commit.tree being set to an actual Tree rather than a Tree id.

7 years agoInclude time in log/show output.
Jelmer Vernooij [Wed, 9 Nov 2016 15:56:50 +0000 (15:56 +0000)]
Include time in log/show output.

7 years agoOnly show committer if it is different from author.
Jelmer Vernooij [Wed, 9 Nov 2016 15:43:51 +0000 (15:43 +0000)]
Only show committer if it is different from author.

7 years agoSupport paths argument to 'dulwich log'.
Jelmer Vernooij [Wed, 9 Nov 2016 15:40:42 +0000 (15:40 +0000)]
Support paths argument to 'dulwich log'.

7 years agoAdd a very simple help command.
Jelmer Vernooij [Wed, 9 Nov 2016 15:30:52 +0000 (15:30 +0000)]
Add a very simple help command.

7 years agoAvoid regenerating full blob in Blob.splitlines.
Jelmer Vernooij [Wed, 9 Nov 2016 14:35:43 +0000 (14:35 +0000)]
Avoid regenerating full blob in Blob.splitlines.

7 years agoAdd Blob.splitlines.
Jelmer Vernooij [Wed, 9 Nov 2016 14:19:23 +0000 (14:19 +0000)]
Add Blob.splitlines.

7 years agoUse blobs rather than content strings in patch.
Jelmer Vernooij [Wed, 9 Nov 2016 14:08:27 +0000 (14:08 +0000)]
Use blobs rather than content strings in patch.

7 years agoAdd NEWS entry about release_robot.
Jelmer Vernooij [Wed, 9 Nov 2016 11:19:48 +0000 (11:19 +0000)]
Add NEWS entry about release_robot.

7 years agoAdd main() function to release_robot.
Jelmer Vernooij [Wed, 9 Nov 2016 09:42:33 +0000 (09:42 +0000)]
Add main() function to release_robot.

7 years agoImprove release_robot formatting.
Jelmer Vernooij [Wed, 9 Nov 2016 09:39:08 +0000 (09:39 +0000)]
Improve release_robot formatting.

7 years agoMerge branch 'mikofski/versioneer'
Jelmer Vernooij [Wed, 9 Nov 2016 09:36:55 +0000 (09:36 +0000)]
Merge branch 'mikofski/versioneer'

7 years agoimprove pattern for no leading or trailing text
Mark Mikofski [Wed, 2 Nov 2016 20:38:22 +0000 (13:38 -0700)]
improve pattern for no leading or trailing text

* return None for no tags case
* more test cases

7 years agochange name to release_robot
Mark Mikofski [Wed, 2 Nov 2016 16:35:12 +0000 (09:35 -0700)]
change name to release_robot

7 years agochange filename to robotic_releases.py
Mark Mikofski [Wed, 2 Nov 2016 16:24:19 +0000 (09:24 -0700)]
change filename to robotic_releases.py

7 years agoupdate module docstring
Mark Mikofski [Tue, 1 Nov 2016 22:59:32 +0000 (15:59 -0700)]
update module docstring

if `latest_git_tags` is in `contrib` then why copy the file, just import it.

7 years agocontribution that returns latest tags
Mark Mikofski [Tue, 1 Nov 2016 22:32:40 +0000 (15:32 -0700)]
contribution that returns latest tags

* contains one method, get_recent_tags() that returns tags, commits
 authors and datetimes sorted new to old, to use as a versioneer in
 packages and with setup.py for Python packaging based on Git tags

Signed-off-by: Mark Mikofski <mark.mikofski@sunpowercorp.com>
7 years agoFix http auth tests to avoid introducing new dependency on mock.
Jelmer Vernooij [Thu, 27 Oct 2016 01:38:18 +0000 (01:38 +0000)]
Fix http auth tests to avoid introducing new dependency on mock.

7 years agoTests for username:passwd style urls in HttpGitClient
Mika Mäenpää [Wed, 27 Jul 2016 18:13:00 +0000 (21:13 +0300)]
Tests for username:passwd style urls in HttpGitClient

7 years agoUpdate NEWS.
Jelmer Vernooij [Thu, 27 Oct 2016 01:18:21 +0000 (01:18 +0000)]
Update NEWS.

7 years agoMove HttpGitCLient-specific password handling to that class.
Jelmer Vernooij [Thu, 27 Oct 2016 01:16:24 +0000 (01:16 +0000)]
Move HttpGitCLient-specific password handling to that class.

7 years agoUpdate HTTPGitClient to allow user:passwd style urls.
jon bain [Tue, 5 Jan 2016 11:36:02 +0000 (11:36 +0000)]
Update HTTPGitClient to allow user:passwd style urls.

7 years agoAdd GitClient.from_parsedurl() method.
Jelmer Vernooij [Thu, 27 Oct 2016 01:03:22 +0000 (01:03 +0000)]
Add GitClient.from_parsedurl() method.

7 years agoFix Python3 compatibility and warnings during tests.
Jelmer Vernooij [Tue, 25 Oct 2016 21:50:43 +0000 (21:50 +0000)]
Fix Python3 compatibility and warnings during tests.

7 years agoRevert "Fix porcelain.clone() on Python3."
Jelmer Vernooij [Tue, 25 Oct 2016 01:48:18 +0000 (01:48 +0000)]
Revert "Fix porcelain.clone() on Python3."

This reverts commit eadd3521b0ebd01a01e28e40ea6332cc1ce35bef.

7 years agoUpdate NEWS.
Jelmer Vernooij [Tue, 25 Oct 2016 01:46:06 +0000 (01:46 +0000)]
Update NEWS.

7 years agoSome refactoring, simplifications.
Jelmer Vernooij [Tue, 25 Oct 2016 00:21:57 +0000 (00:21 +0000)]
Some refactoring, simplifications.

7 years agoSupport linked working directories
Laurent Rineau [Wed, 5 Oct 2016 10:47:45 +0000 (12:47 +0200)]
Support linked working directories

Support for linked working directories:
- Add `commondir()` (equivalent to `GIT_COMMON_DIR`)
- Read the `commondir` file, to set it.

See `git-worktree(1)` and `gitrepository-layout(5)`.

7 years ago# This is a combination of 8 commits.
Laurent Rineau [Wed, 5 Oct 2016 10:47:45 +0000 (12:47 +0200)]
# This is a combination of 8 commits.
# This is the 1st commit message:
Support linked working directories

Support for linked working directories:
- Add `commondir()` (equivalent to `GIT_COMMON_DIR`)
- Read the `commondir` file, to set it.

See `git-worktree(1)` and `gitrepository-layout(5)`.

# The commit message #2 will be skipped:

# Fix DiskRefsContainer.refpath()

# The commit message #3 will be skipped:

# Add a testsuite

# The commit message #4 will be skipped:

# Add @skipIf for WorkingTreeTestCase

# The commit message #5 will be skipped:

# worktree is optional and default to path

# The commit message #6 will be skipped:

# add a TODO

# The commit message #7 will be skipped:

# Save one syscall
#
# See https://github.com/jelmer/dulwich/pull/454/files/0927deb7cd2ad24294b89e319ea060ed488acbba#r82424872

# The commit message #8 will be skipped:

# Read commondir with get_named_file()

7 years agoFix porcelain.clone() on Python3.
Jelmer Vernooij [Tue, 25 Oct 2016 00:12:12 +0000 (00:12 +0000)]
Fix porcelain.clone() on Python3.

7 years agoFix examples on Python3.
Jelmer Vernooij [Mon, 24 Oct 2016 23:24:49 +0000 (23:24 +0000)]
Fix examples on Python3.

7 years agoDocument encoding behaviour.
Jelmer Vernooij [Mon, 24 Oct 2016 23:10:42 +0000 (23:10 +0000)]
Document encoding behaviour.

7 years agoIn porcelain, set default encoding to 'utf-8'.
Jelmer Vernooij [Mon, 24 Oct 2016 23:07:06 +0000 (23:07 +0000)]
In porcelain, set default encoding to 'utf-8'.

Consistent with
https://github.com/git/git/blob/master/Documentation/i18n.txt

7 years agoAdd md extension for nicer display on e.g. github.
Jelmer Vernooij [Sun, 9 Oct 2016 13:26:33 +0000 (13:26 +0000)]
Add md extension for nicer display on e.g. github.

7 years agoStart on 0.15.1.
Jelmer Vernooij [Sun, 9 Oct 2016 13:24:12 +0000 (13:24 +0000)]
Start on 0.15.1.

7 years agoNew upstream version 0.15.0 upstream/0.15.0
Jelmer Vernooij [Sun, 9 Oct 2016 12:54:22 +0000 (12:54 +0000)]
New upstream version 0.15.0

7 years agoRelease 0.15.0. dulwich-0.15.0
Jelmer Vernooij [Sun, 9 Oct 2016 12:51:25 +0000 (12:51 +0000)]
Release 0.15.0.

7 years agoFix missing comma.
Jelmer Vernooij [Sun, 9 Oct 2016 12:51:13 +0000 (12:51 +0000)]
Fix missing comma.

7 years agoappveyor: upgrade win32 to build-220, teat also on py3.5
Kostis Anagnostopoulos [Sun, 2 Oct 2016 09:28:43 +0000 (11:28 +0200)]
appveyor: upgrade win32 to build-220, teat also on py3.5

7 years agoUpdate header to reflect that license is now Apachev2 or GNU GPLv2+.
Jelmer Vernooij [Sat, 17 Sep 2016 07:14:08 +0000 (07:14 +0000)]
Update header to reflect that license is now Apachev2 or GNU GPLv2+.

7 years agoAdd script for updating preamble.
Jelmer Vernooij [Sat, 17 Sep 2016 07:12:25 +0000 (07:12 +0000)]
Add script for updating preamble.

7 years agos/iteritems/items/g
Jelmer Vernooij [Mon, 5 Sep 2016 22:15:30 +0000 (22:15 +0000)]
s/iteritems/items/g

7 years agoFix Python3 compatibility.
Jelmer Vernooij [Mon, 5 Sep 2016 21:34:17 +0000 (21:34 +0000)]
Fix Python3 compatibility.

7 years agoFix python3 compatibility.
Jelmer Vernooij [Mon, 5 Sep 2016 21:28:25 +0000 (21:28 +0000)]
Fix python3 compatibility.

7 years agoPull in tags during dulwich.porcelain.clone. Fixes #408
Jelmer Vernooij [Mon, 5 Sep 2016 21:18:29 +0000 (21:18 +0000)]
Pull in tags during dulwich.porcelain.clone. Fixes #408

7 years agoFix dulwich.porcelain.pull() with Python3. (#451)
Jelmer Vernooij [Sat, 3 Sep 2016 16:57:46 +0000 (16:57 +0000)]
Fix dulwich.porcelain.pull() with Python3. (#451)