jelmer/dulwich.git
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 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 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)

7 years agoAdd special-casing for Windows, as WindowsError isn't available on other platforms.
Jelmer Vernooij [Mon, 15 Aug 2016 23:27:59 +0000 (23:27 +0000)]
Add special-casing for Windows, as WindowsError isn't available on other platforms.

7 years agoOn Windows, os.rename will thrown WindowsError if the destination already exists...
Akbar Gumbira [Sat, 13 Aug 2016 20:37:58 +0000 (22:37 +0200)]
On Windows, os.rename will thrown WindowsError if the destination already exists. Fixes #448

7 years agoFix python3 compatibility.
Jelmer Vernooij [Mon, 8 Aug 2016 00:59:58 +0000 (00:59 +0000)]
Fix python3 compatibility.

7 years agoConsistently overwrite HOME.
Jelmer Vernooij [Mon, 8 Aug 2016 00:12:38 +0000 (00:12 +0000)]
Consistently overwrite HOME.

7 years agoAdd dulwich.porcelain.ls_tree.
Jelmer Vernooij [Sun, 7 Aug 2016 22:27:42 +0000 (22:27 +0000)]
Add dulwich.porcelain.ls_tree.

7 years agoRemove relicensing file, update CONTRIBUTING for license changes.
Jelmer Vernooij [Sun, 7 Aug 2016 12:12:30 +0000 (12:12 +0000)]
Remove relicensing file, update CONTRIBUTING for license changes.

7 years agoAs agreed by all contributors, change the license from:
Jelmer Vernooij [Sun, 7 Aug 2016 12:09:24 +0000 (12:09 +0000)]
As agreed by all contributors, change the license from:

 GNU General Public License, version 2.0 or later

to:

 Apache License, version 2.0 or later or
 GNU General Public License, version 2.0 or later.

7 years agoSyntevo has agreed to relicensing their contribution to Dulwich under Apachev2+/GPLv2+.
Jelmer Vernooij [Sun, 7 Aug 2016 11:48:20 +0000 (11:48 +0000)]
Syntevo has agreed to relicensing their contribution to Dulwich under Apachev2+/GPLv2+.

7 years agoCorrect formatting in Porcelain doc
Forrest Hopkins [Wed, 3 Aug 2016 07:28:14 +0000 (00:28 -0700)]
Correct formatting in Porcelain doc

7 years agoQuote special characters in usernames.
Jelmer Vernooij [Sun, 31 Jul 2016 19:12:41 +0000 (19:12 +0000)]
Quote special characters in usernames.

7 years agoAllow missing trailing LF when reading service name from HTTP servers. Fixes #442.
Jelmer Vernooij [Sun, 31 Jul 2016 18:56:37 +0000 (18:56 +0000)]
Allow missing trailing LF when reading service name from HTTP servers. Fixes #442.

7 years agoFix formatting of markdown in README.
Jelmer Vernooij [Sun, 31 Jul 2016 18:43:23 +0000 (18:43 +0000)]
Fix formatting of markdown in README.

7 years agoRevert "Don't look up "HOME" environment variable unconditionally to avoid KeyError"
Jelmer Vernooij [Sun, 31 Jul 2016 18:30:32 +0000 (18:30 +0000)]
Revert "Don't look up "HOME" environment variable unconditionally to avoid KeyError"

This reverts commit 5b8a6675e86c1714d734fc8bba19241c3491eaaa,
as I have been unable to contact Risto about relicensing to Apachev2+.

7 years agoRevert "Run Git in tests without user's ".gitconfig"."
Jelmer Vernooij [Sun, 31 Jul 2016 18:24:19 +0000 (18:24 +0000)]
Revert "Run Git in tests without user's ".gitconfig"."

This reverts commit 685cf860afc0efa0a4c1a4a8a9c45e80a71f626a,
as I have been unable to contact Risto about relicensing to Apachev2.

7 years agoUse super to call parent __init__.
Jelmer Vernooij [Sun, 31 Jul 2016 18:15:02 +0000 (18:15 +0000)]
Use super to call parent __init__.

7 years agoUnicodify my surname.
Jelmer Vernooij [Sat, 30 Jul 2016 16:43:05 +0000 (16:43 +0000)]
Unicodify my surname.

7 years agoUse standard URL generation functions.
Jelmer Vernooij [Thu, 28 Jul 2016 22:08:03 +0000 (22:08 +0000)]
Use standard URL generation functions.

7 years agoporcelain.push uses client.get_url as remote_location
Mika Mäenpää [Wed, 27 Jul 2016 20:09:31 +0000 (23:09 +0300)]
porcelain.push uses client.get_url as remote_location

7 years agoTests for get_url()-methods.
Mika Mäenpää [Wed, 27 Jul 2016 19:35:05 +0000 (22:35 +0300)]
Tests for get_url()-methods.

7 years agoAdd get_url() method to clients which will give full url to given path.
Mika Mäenpää [Wed, 27 Jul 2016 19:34:05 +0000 (22:34 +0300)]
Add get_url() method to clients which will give full url to given path.

7 years agoMade HttpGitClient.base_url private
Mika Mäenpää [Wed, 27 Jul 2016 18:09:33 +0000 (21:09 +0300)]
Made HttpGitClient.base_url private

7 years agoUpdate setup.py to reflect that Python 2.6 is no longer supported, but
Jelmer Vernooij [Sun, 24 Jul 2016 18:07:49 +0000 (18:07 +0000)]
Update setup.py to reflect that Python 2.6 is no longer supported, but
3.4 is.

7 years agoUpdate to reflect drop of Python2.6 support.
Jelmer Vernooij [Thu, 7 Jul 2016 14:25:00 +0000 (14:25 +0000)]
Update to reflect drop of Python2.6 support.

7 years agoStart on 0.15.0.
Jelmer Vernooij [Tue, 5 Jul 2016 23:33:05 +0000 (23:33 +0000)]
Start on 0.15.0.

7 years agoImported Upstream version 0.14.1 upstream/0.14.1
Jelmer Vernooij [Tue, 5 Jul 2016 23:04:08 +0000 (23:04 +0000)]
Imported Upstream version 0.14.1

7 years agoRElease 0.14.1. dulwich-0.14.1
Jelmer Vernooij [Tue, 5 Jul 2016 22:58:12 +0000 (22:58 +0000)]
RElease 0.14.1.

7 years agoRevert "Drop dependency on greenlet/etc for Python3, as swift module is not yet"
Jelmer Vernooij [Tue, 5 Jul 2016 22:45:01 +0000 (22:45 +0000)]
Revert "Drop dependency on greenlet/etc for Python3, as swift module is not yet"

This reverts commit 44ae6443748139ee21843b6bdd537edb310c9484.

7 years agoSkip remaining python3 tests for swift contrib module.
Jelmer Vernooij [Tue, 5 Jul 2016 22:42:29 +0000 (22:42 +0000)]
Skip remaining python3 tests for swift contrib module.

7 years agoMork work on swift module python3 compatibility.
Jelmer Vernooij [Tue, 5 Jul 2016 22:38:42 +0000 (22:38 +0000)]
Mork work on swift module python3 compatibility.

7 years agoDrop dependency on greenlet/etc for Python3, as swift module is not yet
Jelmer Vernooij [Tue, 5 Jul 2016 22:13:46 +0000 (22:13 +0000)]
Drop dependency on greenlet/etc for Python3, as swift module is not yet
compatible with python3.

7 years agoPython3; use StringIO.
Jelmer Vernooij [Tue, 5 Jul 2016 22:10:44 +0000 (22:10 +0000)]
Python3; use StringIO.

7 years agoPython3: fix BytesIO call, avoid iteritems.
Jelmer Vernooij [Tue, 5 Jul 2016 22:09:04 +0000 (22:09 +0000)]
Python3: fix BytesIO call, avoid iteritems.

7 years agoImprove python3 portability; support python3 urlparse.
Jelmer Vernooij [Tue, 5 Jul 2016 22:07:10 +0000 (22:07 +0000)]
Improve python3 portability; support python3 urlparse.

7 years agoFix regression removing untouched refs when pushing over SSH. #441.
Jelmer Vernooij [Tue, 5 Jul 2016 21:39:03 +0000 (21:39 +0000)]
Fix regression removing untouched refs when pushing over SSH. #441.

7 years agoImported Upstream version 0.14.0 upstream/0.14.0
Jelmer Vernooij [Sun, 3 Jul 2016 19:17:11 +0000 (19:17 +0000)]
Imported Upstream version 0.14.0