Jelmer Vernooij [Mon, 1 May 2017 13:58:25 +0000 (13:58 +0000)]
readlink on Windows/python3 requires a unicode string.
Jelmer Vernooij [Mon, 1 May 2017 13:54:24 +0000 (13:54 +0000)]
Enable modules on Python3/windows.
Jelmer Vernooij [Mon, 1 May 2017 13:53:16 +0000 (13:53 +0000)]
Install setuptools/wheel for bdist_wheel.
Jelmer Vernooij [Mon, 1 May 2017 13:48:26 +0000 (13:48 +0000)]
Avoid need to depend on win32pipe, use ctypes instead.
Jelmer Vernooij [Mon, 1 May 2017 13:28:42 +0000 (13:28 +0000)]
Reuse some of the appveyor.yml code from https://github.com/ogrisel/python-appveyor-demo
Jelmer Vernooij [Sun, 30 Apr 2017 14:18:15 +0000 (14:18 +0000)]
Build against Python 3.6 on appveyor.
Jelmer Vernooij [Sun, 30 Apr 2017 14:11:55 +0000 (14:11 +0000)]
Properly close repository during tests, to fix Windows build.
Jelmer Vernooij [Sun, 30 Apr 2017 13:44:06 +0000 (13:44 +0000)]
Add really basic code example.
Jelmer Vernooij [Sun, 30 Apr 2017 13:36:49 +0000 (13:36 +0000)]
Add documentation about contributing.
Jelmer Vernooij [Sat, 29 Apr 2017 23:57:34 +0000 (23:57 +0000)]
Add note about encoding.
Jelmer Vernooij [Sat, 29 Apr 2017 23:43:55 +0000 (23:43 +0000)]
Merge branch 'fix_mix_str_and_non-str_arguments' of https://github.com/dzhuang/dulwich
dzhuang [Tue, 25 Apr 2017 06:11:32 +0000 (14:11 +0800)]
Fix TypeError: mix str and non-str arguments
``path`` is supposed to be a bytestring according to [here](https://github.com/jelmer/dulwich/blob/master/dulwich/client.py#L1168) and [there](https://github.com/jelmer/dulwich/blob/master/dulwich/client.py#L1181), while ``self._base_url`` is a ``str``, that will result in ``TypeError: Cannot mix str and non-str arguments`` when calling ``urlparse.urljoin``.
Jelmer Vernooij [Tue, 25 Apr 2017 18:25:18 +0000 (18:25 +0000)]
Refresh authors list.
Jelmer Vernooij [Tue, 25 Apr 2017 18:21:07 +0000 (18:21 +0000)]
Add mailmap.
Mikhail Terekhov [Tue, 18 Apr 2017 15:16:13 +0000 (11:16 -0400)]
typo
Jelmer Vernooij [Sun, 2 Apr 2017 20:04:20 +0000 (20:04 +0000)]
Revert "Separately report coverage for c extension tests and non-c extension tests."
This reverts commit
7c3cc2db5ea6b48ef19404e11452215fba8987ea.
Jelmer Vernooij [Sat, 1 Apr 2017 17:58:07 +0000 (17:58 +0000)]
Fix codecov config.
Jelmer Vernooij [Sat, 1 Apr 2017 14:35:45 +0000 (14:35 +0000)]
Fix codecov flags to exclude dashes.
Jelmer Vernooij [Sat, 1 Apr 2017 14:31:00 +0000 (14:31 +0000)]
Fix codecov arguments, make required.
Jelmer Vernooij [Sat, 1 Apr 2017 14:23:27 +0000 (14:23 +0000)]
Separately report coverage for c extension tests and non-c extension tests.
Jelmer Vernooij [Fri, 31 Mar 2017 02:00:56 +0000 (02:00 +0000)]
Exclude build and .git when looking for style violations.
Jelmer Vernooij [Fri, 31 Mar 2017 01:54:08 +0000 (01:54 +0000)]
Some style fixes.
Jelmer Vernooij [Fri, 31 Mar 2017 01:51:44 +0000 (01:51 +0000)]
Add 'style' target.
Jelmer Vernooij [Fri, 31 Mar 2017 00:46:38 +0000 (00:46 +0000)]
Make refspecs argument to dulwich.porcelain.push mandatory.
Jelmer Vernooij [Mon, 20 Mar 2017 22:06:34 +0000 (22:06 +0000)]
Start on 0.17.4.
Jelmer Vernooij [Mon, 20 Mar 2017 22:04:17 +0000 (22:04 +0000)]
Release 0.17.3
Jelmer Vernooij [Mon, 20 Mar 2017 22:03:43 +0000 (22:03 +0000)]
Add NEWS entry about pypy3 support.
Jelmer Vernooij [Mon, 20 Mar 2017 20:45:01 +0000 (20:45 +0000)]
Build with pypy3.
Jelmer Vernooij [Mon, 20 Mar 2017 21:33:11 +0000 (21:33 +0000)]
Remove duplicate _extra, _parents and _encoding from slots for Commit.
Hugo Osvaldo Barrera [Mon, 20 Mar 2017 18:24:53 +0000 (15:24 -0300)]
Simplify travis job definitions
Hugo Osvaldo Barrera [Mon, 20 Mar 2017 18:19:09 +0000 (15:19 -0300)]
Separate installation/testing into travis's phases
Also use travis_retry in case we have hiccups installing dependencies.
Hugo Osvaldo Barrera [Mon, 20 Mar 2017 18:18:48 +0000 (15:18 -0300)]
Use travis' simpler cache definitions
Jelmer Vernooij [Mon, 20 Mar 2017 18:40:18 +0000 (18:40 +0000)]
Check for specific warning rather than matching entire list. Should fix the build on python 3.4.
Jelmer Vernooij [Mon, 20 Mar 2017 17:45:30 +0000 (17:45 +0000)]
List Python 3.3 as supported. Fixes #513.
Jelmer Vernooij [Mon, 20 Mar 2017 14:39:02 +0000 (14:39 +0000)]
Run tests on Python3.3.
Jelmer Vernooij [Mon, 20 Mar 2017 14:50:11 +0000 (14:50 +0000)]
Close repositories used in tests.
Jelmer Vernooij [Mon, 20 Mar 2017 14:45:06 +0000 (14:45 +0000)]
Use ConfigParser.read_file if available.
Jelmer Vernooij [Sun, 19 Mar 2017 20:40:13 +0000 (20:40 +0000)]
Actually add source directory.
Jelmer Vernooij [Sun, 19 Mar 2017 20:32:57 +0000 (20:32 +0000)]
Enable codecov.
Jelmer Vernooij [Sun, 19 Mar 2017 19:39:20 +0000 (19:39 +0000)]
Start on 0.17.3.
Jelmer Vernooij [Sun, 19 Mar 2017 19:29:28 +0000 (19:29 +0000)]
Release 0.17.2.
Jelmer Vernooij [Sat, 18 Mar 2017 22:53:09 +0000 (22:53 +0000)]
Properly quote config values with a # character. Fixes #511
Jelmer Vernooij [Sat, 18 Mar 2017 22:11:40 +0000 (22:11 +0000)]
Run tests against python3.6.
Jelmer Vernooij [Thu, 16 Mar 2017 16:01:42 +0000 (16:01 +0000)]
Update NEWS.
Victor Stinner [Thu, 16 Mar 2017 13:26:45 +0000 (14:26 +0100)]
Replace PyString_AsString with PyString_AS_STRING
Fix issue #509: Replace PyString_AsString with PyString_AS_STRING to
workaround a PyPy bug in cpyext (PyPy older than 5.6).
Jelmer Vernooij [Thu, 16 Mar 2017 15:59:53 +0000 (15:59 +0000)]
Add test for #509 based on snippet posted by Victor Stinner.
Jelmer Vernooij [Wed, 1 Mar 2017 20:36:32 +0000 (20:36 +0000)]
Start on 0.17.2.
Jelmer Vernooij [Wed, 1 Mar 2017 20:26:53 +0000 (20:26 +0000)]
Release 0.17.1.
Jelmer Vernooij [Wed, 1 Mar 2017 20:23:18 +0000 (20:23 +0000)]
Slight tweak to CONTRIBUTING.
Jelmer Vernooij [Wed, 1 Mar 2017 20:20:53 +0000 (20:20 +0000)]
Cope with existing submodules during pull. Fixes #505.
Jelmer Vernooij [Wed, 1 Mar 2017 20:15:26 +0000 (20:15 +0000)]
Start on 0.17.1.
Jelmer Vernooij [Wed, 1 Mar 2017 20:14:39 +0000 (20:14 +0000)]
Add really basic pull command.
Jelmer Vernooij [Wed, 1 Mar 2017 20:10:54 +0000 (20:10 +0000)]
Fix remote commands in command-line tool.
Jelmer Vernooij [Wed, 1 Mar 2017 03:32:15 +0000 (03:32 +0000)]
Release 0.17.0.
Jelmer Vernooij [Mon, 27 Feb 2017 23:18:53 +0000 (23:18 +0000)]
Properly log off after retrieving just refs.
Jelmer Vernooij [Mon, 27 Feb 2017 23:12:54 +0000 (23:12 +0000)]
Don't drop first slash for SSH paths, except for those starting with ~.
Jelmer Vernooij [Sun, 26 Feb 2017 17:30:23 +0000 (17:30 +0000)]
Set bufsize=0 when communicating to SSH client. Fixes hangs on Python3. Fixes #434.
Jelmer Vernooij [Tue, 21 Feb 2017 18:53:29 +0000 (18:53 +0000)]
Add NEWS.
Nicolas Dandrimont [Tue, 21 Feb 2017 15:00:29 +0000 (16:00 +0100)]
SHAFile: Do not trim trailing newlines from extra headers
Some commits contain extra headers with trailing newlines. We need to keep those
intact if we want to be able to round-trip data back to the original.
Jelmer Vernooij [Tue, 14 Feb 2017 23:12:08 +0000 (23:12 +0000)]
Check for bytes rather than absence of list. include ought to be an iterable of ids of some sort.
Jelmer Vernooij [Tue, 14 Feb 2017 22:38:17 +0000 (22:38 +0000)]
Support passing tag ids to Walkers include argument.
Jelmer Vernooij [Mon, 13 Feb 2017 21:53:29 +0000 (21:53 +0000)]
Fix handling of HEAD in porcelain.clone.
Jelmer Vernooij [Mon, 13 Feb 2017 21:45:54 +0000 (21:45 +0000)]
Add porcelain.remote_add.
Jelmer Vernooij [Mon, 6 Feb 2017 00:10:04 +0000 (00:10 +0000)]
Re-enable test_archive.
Jelmer Vernooij [Sun, 5 Feb 2017 23:45:09 +0000 (23:45 +0000)]
Re-enable tests for test utils.
Jelmer Vernooij [Sun, 5 Feb 2017 23:41:25 +0000 (23:41 +0000)]
Add coverage config.
Jelmer Vernooij [Sun, 5 Feb 2017 22:46:43 +0000 (22:46 +0000)]
Use more idiomatic python.
Jelmer Vernooij [Sat, 28 Jan 2017 02:02:50 +0000 (02:02 +0000)]
Fix dulwich-users link, improve README formatting.
Jelmer Vernooij [Thu, 26 Jan 2017 21:46:19 +0000 (21:46 +0000)]
Handle multi-line quoted values in config files. #495.
Jelmer Vernooij [Thu, 26 Jan 2017 21:26:52 +0000 (21:26 +0000)]
Fix python3 compatibility.
Jelmer Vernooij [Thu, 26 Jan 2017 20:51:30 +0000 (20:51 +0000)]
Allow passing in relative paths to porcelain.add().
Jelmer Vernooij [Mon, 23 Jan 2017 10:08:31 +0000 (10:08 +0000)]
Implement MemoryRepo.set_description.
Jelmer Vernooij [Fri, 20 Jan 2017 20:26:49 +0000 (20:26 +0000)]
Add test for tag_time.
Lionel Flandrin [Fri, 20 Jan 2017 12:40:13 +0000 (13:40 +0100)]
Avoid crashing when accessing the tag_time of a headerless tag.
Return None instead.
Jelmer Vernooij [Fri, 20 Jan 2017 19:41:18 +0000 (19:41 +0000)]
Fix indentation.
Koen Martens [Fri, 20 Jan 2017 09:45:45 +0000 (10:45 +0100)]
Squelch errors in test_index under windows
Jelmer Vernooij [Fri, 20 Jan 2017 13:12:23 +0000 (13:12 +0000)]
Update link to mailing list. Fixes #490
Jelmer Vernooij [Fri, 20 Jan 2017 04:24:45 +0000 (04:24 +0000)]
Revert docstring changes, as they break pydoctor.
Jelmer Vernooij [Fri, 20 Jan 2017 04:21:02 +0000 (04:21 +0000)]
Remove unnecessary __docformat__ settings, broken text.
Mark Mikofski [Wed, 18 Jan 2017 00:42:02 +0000 (16:42 -0800)]
fix release robot issue for commit only tag
- if tag is not annotated, then it will be a commit object, instead of
creating a tag object
- don't check if ref object is tag, instead check if "tags" is in the
ref name
- change docstring to show how release_robot could be used as alternate
to versioneer, ie: copy and paste gist
https://gist.github.com/mikofski/
e923750b415e4e4961b65a8eb42999e8#file-xyz__init__-py
- don't use contrib folder as default projdir, instead default to '.'
- return tag meta data if there is any from get_recent_tags() as tuple
(tag time, tag id, tag name) otherwise it's (None, None, None)
- remove test_tag_pattern from release_robot since it's in
test_release_robot()
- add tests
Signed-off-by: Mark Mikofski <mark.mikofski@sunpowercorp.com>
Jelmer Vernooij [Wed, 18 Jan 2017 02:48:47 +0000 (02:48 +0000)]
Run release_robot tests as part of regular testsuite.
Jelmer Vernooij [Sun, 15 Jan 2017 15:14:43 +0000 (15:14 +0000)]
Update MANIFEST.in.
Jelmer Vernooij [Sun, 15 Jan 2017 15:12:54 +0000 (15:12 +0000)]
Add a superclass for Dulwich subcommands.
Jelmer Vernooij [Sun, 15 Jan 2017 14:55:39 +0000 (14:55 +0000)]
Don't print "Changes to be committed" header if there are no changes to
commit.
Jelmer Vernooij [Sat, 14 Jan 2017 20:08:39 +0000 (20:08 +0000)]
Start on 0.16.4.
Jelmer Vernooij [Sat, 14 Jan 2017 20:01:42 +0000 (20:01 +0000)]
Release 0.16.3.
Jelmer Vernooij [Sat, 14 Jan 2017 19:50:23 +0000 (19:50 +0000)]
Remove racy check that relies on mtime changing between writes.
Jelmer Vernooij [Sat, 14 Jan 2017 19:46:04 +0000 (19:46 +0000)]
Avoid double call to os.lstat.
Jelmer Vernooij [Sat, 14 Jan 2017 18:18:28 +0000 (18:18 +0000)]
Run tests against a few more pythonv versions.
Jelmer Vernooij [Sat, 14 Jan 2017 16:36:42 +0000 (16:36 +0000)]
Start on 0.16.3.
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