Jelmer Vernooij [Sat, 14 Jan 2017 16:39:51 +0000 (16:39 +0000)]
New upstream version 0.16.2
Jelmer Vernooij [Sat, 14 Jan 2017 16:33:36 +0000 (16:33 +0000)]
Release 0.16.2.
Jelmer Vernooij [Sat, 14 Jan 2017 16:23:39 +0000 (16:23 +0000)]
Update NEWS
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.
Benoit HERVIER [Wed, 11 Jan 2017 22:41:09 +0000 (23:41 +0100)]
Add test case for #479 #480
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
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.
Koen Martens [Wed, 11 Jan 2017 10:54:08 +0000 (11:54 +0100)]
Revert formatting change in index.py that breaks windows compatibility.
Jelmer Vernooij [Wed, 11 Jan 2017 21:10:09 +0000 (21:10 +0000)]
Update NEWS.
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>
Jelmer Vernooij [Tue, 10 Jan 2017 01:54:06 +0000 (01:54 +0000)]
Cope with submodules in build_index_from_tree.
Fixes #477
Jelmer Vernooij [Fri, 6 Jan 2017 23:41:57 +0000 (23:41 +0000)]
Add credits to NEWS.
Volodymyr Holovko [Fri, 6 Jan 2017 13:28:17 +0000 (15:28 +0200)]
#475: Unquoting credentials before passing them over to urllib2
Jelmer Vernooij [Thu, 5 Jan 2017 23:02:12 +0000 (23:02 +0000)]
Add credit for with statement change.
Søren Løvborg [Thu, 5 Jan 2017 18:38:55 +0000 (19:38 +0100)]
Repo: enable "with" statement support for closing
Jelmer Vernooij [Wed, 4 Jan 2017 16:11:07 +0000 (16:11 +0000)]
Fix NEWS updates for Koen's changes.
Jelmer Vernooij [Wed, 4 Jan 2017 00:21:35 +0000 (00:21 +0000)]
Some minor formatting fixes.
Koen Martens [Mon, 2 Jan 2017 20:01:17 +0000 (21:01 +0100)]
Add _determine_file_mode to SwiftRepo, always returns false.
Koen Martens [Mon, 2 Jan 2017 19:47:39 +0000 (20:47 +0100)]
Use os.path.normcase in dulwich.tests.compat.test_repository
Koen Martens [Mon, 2 Jan 2017 18:32:02 +0000 (19:32 +0100)]
Update NEWS file
Koen Martens [Mon, 2 Jan 2017 18:31:24 +0000 (19:31 +0100)]
When initializing repo, probe file-system to determine
Koen Martens [Mon, 2 Jan 2017 18:30:54 +0000 (19:30 +0100)]
If honor_filemode is false, ignore filemode when
Koen Martens [Mon, 2 Jan 2017 18:30:07 +0000 (19:30 +0100)]
Fix failing test-cases on windows.
Koen Martens [Mon, 2 Jan 2017 18:30:31 +0000 (19:30 +0100)]
Document checkout param in dulwich.porcelain.clone
Koen Martens [Mon, 2 Jan 2017 18:29:45 +0000 (19:29 +0100)]
Ignore .idea directory (pycharm project settings)
Jelmer Vernooij [Wed, 28 Dec 2016 16:36:44 +0000 (16:36 +0000)]
Add remote in dulwich.porcelain.clone.
Jelmer Vernooij [Wed, 28 Dec 2016 15:40:12 +0000 (15:40 +0000)]
Filter out annotated tags during clone.
Jelmer Vernooij [Wed, 28 Dec 2016 15:34:41 +0000 (15:34 +0000)]
Exclude annotated tags when importing.
Jelmer Vernooij [Wed, 28 Dec 2016 15:30:06 +0000 (15:30 +0000)]
Allow unicode or bytestring host paths in GitClient.
Jelmer Vernooij [Wed, 28 Dec 2016 15:13:58 +0000 (15:13 +0000)]
Fix dulwich.porcelain.ls_remote.
Jelmer Vernooij [Wed, 28 Dec 2016 14:27:41 +0000 (14:27 +0000)]
Refactor repo opening in LocalGitClient.
Jelmer Vernooij [Mon, 26 Dec 2016 15:40:59 +0000 (15:40 +0000)]
Merge branch 'refine-changes' of https://github.com/dhellmann/dulwich
Jelmer Vernooij [Mon, 26 Dec 2016 11:20:17 +0000 (11:20 +0000)]
Only run 'git worktree list' when it is available.
Jelmer Vernooij [Sun, 25 Dec 2016 13:42:44 +0000 (13:42 +0000)]
New upstream version 0.16.1
Jelmer Vernooij [Sun, 25 Dec 2016 13:41:00 +0000 (13:41 +0000)]
Start on 0.16.2.
Jelmer Vernooij [Sun, 25 Dec 2016 13:29:16 +0000 (13:29 +0000)]
Release 0.16.1.
Jelmer Vernooij [Sun, 25 Dec 2016 13:24:29 +0000 (13:24 +0000)]
Add basic test for release_robot.
Jelmer Vernooij [Sun, 25 Dec 2016 13:17:28 +0000 (13:17 +0000)]
Fix python3 compatibility of release robot.
Jelmer Vernooij [Sun, 25 Dec 2016 13:11:05 +0000 (13:11 +0000)]
Add note about when connect_ssh was deprecated.
Jelmer Vernooij [Sat, 24 Dec 2016 23:51:35 +0000 (23:51 +0000)]
New upstream version 0.16.0
Jelmer Vernooij [Sat, 24 Dec 2016 23:44:47 +0000 (23:44 +0000)]
Start on 0.16.1.
Jelmer Vernooij [Sat, 24 Dec 2016 23:39:18 +0000 (23:39 +0000)]
Dulwich 0.16.0.
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>
Jelmer Vernooij [Fri, 16 Dec 2016 01:58:13 +0000 (01:58 +0000)]
Fix formatting in NEWS.
Koen Martens [Thu, 15 Dec 2016 19:28:25 +0000 (20:28 +0100)]
Fix porcelain.reset to not ignore committish argument.
Jelmer Vernooij [Sun, 11 Dec 2016 17:09:12 +0000 (17:09 +0000)]
Correct add_objects docstrings.
Jelmer Vernooij [Sun, 11 Dec 2016 17:04:49 +0000 (17:04 +0000)]
Clarify argument to ObjectStore.add_objects().
Jelmer Vernooij [Sun, 11 Dec 2016 16:54:22 +0000 (16:54 +0000)]
Add constant for default ref.
Jelmer Vernooij [Sun, 20 Nov 2016 00:46:30 +0000 (00:46 +0000)]
Fix python3 build
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).
Jelmer Vernooij [Sun, 20 Nov 2016 00:20:04 +0000 (00:20 +0000)]
Return refs from LocalGitClient.fetch_pack().
Jelmer Vernooij [Wed, 9 Nov 2016 23:35:52 +0000 (23:35 +0000)]
Fix tests on python3.
Jelmer Vernooij [Wed, 9 Nov 2016 16:51:09 +0000 (16:51 +0000)]
Add --name-status argument to porcelain.log.
Jelmer Vernooij [Wed, 9 Nov 2016 16:30:01 +0000 (16:30 +0000)]
Pass --reverse argument on in porcelain.
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.
Jelmer Vernooij [Wed, 9 Nov 2016 15:56:50 +0000 (15:56 +0000)]
Include time in log/show output.
Jelmer Vernooij [Wed, 9 Nov 2016 15:43:51 +0000 (15:43 +0000)]
Only show committer if it is different from author.
Jelmer Vernooij [Wed, 9 Nov 2016 15:40:42 +0000 (15:40 +0000)]
Support paths argument to 'dulwich log'.
Jelmer Vernooij [Wed, 9 Nov 2016 15:30:52 +0000 (15:30 +0000)]
Add a very simple help command.
Jelmer Vernooij [Wed, 9 Nov 2016 14:35:43 +0000 (14:35 +0000)]
Avoid regenerating full blob in Blob.splitlines.
Jelmer Vernooij [Wed, 9 Nov 2016 14:19:23 +0000 (14:19 +0000)]
Add Blob.splitlines.
Jelmer Vernooij [Wed, 9 Nov 2016 14:08:27 +0000 (14:08 +0000)]
Use blobs rather than content strings in patch.
Jelmer Vernooij [Wed, 9 Nov 2016 11:19:48 +0000 (11:19 +0000)]
Add NEWS entry about release_robot.
Jelmer Vernooij [Wed, 9 Nov 2016 09:42:33 +0000 (09:42 +0000)]
Add main() function to release_robot.
Jelmer Vernooij [Wed, 9 Nov 2016 09:39:08 +0000 (09:39 +0000)]
Improve release_robot formatting.
Jelmer Vernooij [Wed, 9 Nov 2016 09:36:55 +0000 (09:36 +0000)]
Merge branch 'mikofski/versioneer'
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
Mark Mikofski [Wed, 2 Nov 2016 16:35:12 +0000 (09:35 -0700)]
change name to release_robot
Mark Mikofski [Wed, 2 Nov 2016 16:24:19 +0000 (09:24 -0700)]
change filename to robotic_releases.py
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.
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>
Jelmer Vernooij [Thu, 27 Oct 2016 01:38:18 +0000 (01:38 +0000)]
Fix http auth tests to avoid introducing new dependency on mock.
Mika Mäenpää [Wed, 27 Jul 2016 18:13:00 +0000 (21:13 +0300)]
Tests for username:passwd style urls in HttpGitClient
Jelmer Vernooij [Thu, 27 Oct 2016 01:18:21 +0000 (01:18 +0000)]
Update NEWS.
Jelmer Vernooij [Thu, 27 Oct 2016 01:16:24 +0000 (01:16 +0000)]
Move HttpGitCLient-specific password handling to that class.
jon bain [Tue, 5 Jan 2016 11:36:02 +0000 (11:36 +0000)]
Update HTTPGitClient to allow user:passwd style urls.
Jelmer Vernooij [Thu, 27 Oct 2016 01:03:22 +0000 (01:03 +0000)]
Add GitClient.from_parsedurl() method.
Jelmer Vernooij [Tue, 25 Oct 2016 21:50:43 +0000 (21:50 +0000)]
Fix Python3 compatibility and warnings during tests.
Jelmer Vernooij [Tue, 25 Oct 2016 01:48:18 +0000 (01:48 +0000)]
Revert "Fix porcelain.clone() on Python3."
This reverts commit
eadd3521b0ebd01a01e28e40ea6332cc1ce35bef.
Jelmer Vernooij [Tue, 25 Oct 2016 01:46:06 +0000 (01:46 +0000)]
Update NEWS.
Jelmer Vernooij [Tue, 25 Oct 2016 00:21:57 +0000 (00:21 +0000)]
Some refactoring, simplifications.
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)`.
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()
Jelmer Vernooij [Tue, 25 Oct 2016 00:12:12 +0000 (00:12 +0000)]
Fix porcelain.clone() on Python3.
Jelmer Vernooij [Mon, 24 Oct 2016 23:24:49 +0000 (23:24 +0000)]
Fix examples on Python3.
Jelmer Vernooij [Mon, 24 Oct 2016 23:10:42 +0000 (23:10 +0000)]
Document encoding behaviour.
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
Jelmer Vernooij [Sun, 9 Oct 2016 13:26:33 +0000 (13:26 +0000)]
Add md extension for nicer display on e.g. github.
Jelmer Vernooij [Sun, 9 Oct 2016 13:24:12 +0000 (13:24 +0000)]
Start on 0.15.1.
Jelmer Vernooij [Sun, 9 Oct 2016 12:54:22 +0000 (12:54 +0000)]
New upstream version 0.15.0
Jelmer Vernooij [Sun, 9 Oct 2016 12:51:25 +0000 (12:51 +0000)]
Release 0.15.0.
Jelmer Vernooij [Sun, 9 Oct 2016 12:51:13 +0000 (12:51 +0000)]
Fix missing comma.
Kostis Anagnostopoulos [Sun, 2 Oct 2016 09:28:43 +0000 (11:28 +0200)]
appveyor: upgrade win32 to build-220, teat also on py3.5
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+.
Jelmer Vernooij [Sat, 17 Sep 2016 07:12:25 +0000 (07:12 +0000)]
Add script for updating preamble.
Jelmer Vernooij [Mon, 5 Sep 2016 22:15:30 +0000 (22:15 +0000)]
s/iteritems/items/g
Jelmer Vernooij [Mon, 5 Sep 2016 21:34:17 +0000 (21:34 +0000)]
Fix Python3 compatibility.
Jelmer Vernooij [Mon, 5 Sep 2016 21:28:25 +0000 (21:28 +0000)]
Fix python3 compatibility.
Jelmer Vernooij [Mon, 5 Sep 2016 21:18:29 +0000 (21:18 +0000)]
Pull in tags during dulwich.porcelain.clone. Fixes #408
Jelmer Vernooij [Sat, 3 Sep 2016 16:57:46 +0000 (16:57 +0000)]
Fix dulwich.porcelain.pull() with Python3. (#451)