From c997037c7b0b0a145ddc179bfca35a26f72d7b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Mon, 15 Sep 2014 12:39:27 +0200 Subject: [PATCH] Get ready for 0.21.3 release --- .mailmap | 2 + README.rst | 106 +++++++++++++++++++++++++++++++++---------- docs/conf.py | 2 +- docs/install.rst | 10 ++-- pygit2/blame.py | 3 +- pygit2/version.py | 2 +- setup.py | 2 +- test/test_archive.py | 4 +- 8 files changed, 96 insertions(+), 35 deletions(-) diff --git a/.mailmap b/.mailmap index 1f8835c..d20f360 100644 --- a/.mailmap +++ b/.mailmap @@ -14,3 +14,5 @@ Xu Tao Vlad Temian + +Matthew Gamble diff --git a/README.rst b/README.rst index 5ac2af1..d5d4b1e 100644 --- a/README.rst +++ b/README.rst @@ -25,6 +25,62 @@ How to install Changelog ============== +0.21.3 (2014-09-15) +------------------- + +Breaking changes: + +- Now ``Repository.blame(...)`` returns ``Oid`` instead of string + `#413 `_ + +- New ``Reference.set_target(...)`` replaces the ``Reference.target`` setter + and ``Reference.log_append(...)`` + `#414 `_ + +- New ``Repository.set_head(...)`` replaces the ``Repository.head`` setter + `#414 `_ + +- ``Repository.merge(...)`` now uses the ``SAFE_CREATE`` strategy by default + `#417 `_ + +Other changes: + +- New ``Remote.delete()`` + `#418 `_ + `#420 `_ + +- New ``Repository.write_archive(...)`` + `#421 `_ + +- Now ``Repository.checkout(...)`` accepts branch objects + `#408 `_ + +- Fix refcount leak in remotes + `#403 `_ + `#404 `_ + `#419 `_ + +- Various fixes to ``clone_repository(...)`` + `#399 `_ + `#411 `_ + `#425 `_ + `#426 `_ + +- Fix build error in Python 3 + `#401 `_ + +- Now ``pip install pygit2`` installs cffi first + `#380 `_ + `#407 `_ + +- Add support for pypy3 + `#422 `_ + +- Documentation improvements + `#398 `_ + `#409 `_ + + 0.21.2 (2014-08-09) ------------------- @@ -354,31 +410,33 @@ Other: `#331 `_ Authors ============== -69 developers have contributed at least 1 commit to pygit2:: +73 developers have contributed at least 1 commit to pygit2:: - J. David Ibáñez Rémi Duraffort Adam Spiers - Nico von Geyso Sebastian Thiel Alexander Bayandin - Carlos Martín Nieto Fraser Tweedale Andrew Chin - W. Trevor King Han-Wen Nienhuys András Veres-Szentkirályi - Dave Borowitz Leonardo Rhodes Benjamin Kircher - Daniel Rodríguez Troitiño Petr Viktorin Benjamin Pollack - Richo Healey Thomas Kluyver Bryan O'Sullivan - Christian Boos Alex Chamberlain Daniel Bruce - Julien Miotte Amit Bakshi David Fischer - Xu Tao Andrey Devyatkin David Sanders - Jose Plana Arno van Lumig Devaev Maxim - Martin Lenders Ben Davis Eric Davis - Petr Hosek Eric Schrijver Erik Meusel - Victor Garcia Hervé Cauwelier Erik van Zijst - Xavier Delannoy Huang Huang Ferengee - Yonggang Luo Ian P. McCullough Gustavo Di Pietro - Valentin Haenel Jack O'Connor Hugh Cole-Baker - Michael Jones Jared Flatow Jasper Lievisse Adriaanse - Bernardo Heynemann Jiunn Haur Lim Josh Bleecher Snyder - John Szakmeister Jun Omae Óscar San José - Brodie Rao Sarath Lakshman Ridge Kennedy - Vlad Temian Vicent Marti Rui Abreu Ferreira - David Versmisse Zoran Zaric earl + J. David Ibáñez Rémi Duraffort Alexander Bayandin + Carlos Martín Nieto Sebastian Thiel Andrew Chin + Nico von Geyso Fraser Tweedale András Veres-Szentkirályi + W. Trevor King Han-Wen Nienhuys Benjamin Kircher + Dave Borowitz Leonardo Rhodes Benjamin Pollack + Daniel Rodríguez Troitiño Petr Viktorin Bryan O'Sullivan + Richo Healey Ron Cohen Daniel Bruce + Christian Boos Thomas Kluyver David Fischer + Julien Miotte Alex Chamberlain David Sanders + Xu Tao Amit Bakshi Devaev Maxim + Jose Plana Andrey Devyatkin Eric Davis + Matthew Gamble Arno van Lumig Erik Meusel + Martin Lenders Ben Davis Erik van Zijst + Petr Hosek Eric Schrijver Ferengee + Victor Garcia Hervé Cauwelier Gustavo Di Pietro + Xavier Delannoy Huang Huang Hugh Cole-Baker + Yonggang Luo Ian P. McCullough Jasper Lievisse Adriaanse + Valentin Haenel Jack O'Connor Josh Bleecher Snyder + Michael Jones Jared Flatow Mathieu Bridon + Bernardo Heynemann Jiunn Haur Lim Óscar San José + John Szakmeister Jun Omae Ridge Kennedy + Matthew Duggan Sarath Lakshman Rui Abreu Ferreira + Brodie Rao Vicent Marti earl + Vlad Temian Zoran Zaric + David Versmisse Adam Spiers License diff --git a/docs/conf.py b/docs/conf.py index b628b89..aa6af11 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,7 +52,7 @@ copyright = u'2010-2014 The pygit2 contributors' # The short X.Y version. version = '0.21' # The full version, including alpha/beta/rc tags. -release = '0.21.2' +release = '0.21.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/install.rst b/docs/install.rst index 5c648f5..612ba14 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -34,11 +34,11 @@ match before filling un bug report. As illustration see this table of compatible releases: - +-----------+-----------------------+------------------------------+ - |**libgit2**|0.21.1 |0.20.0 | - +-----------+-----------------------+------------------------------+ - |**pygit2** |0.21.0, 0.21.1, 0.21.2 |0.20.0, 0.20.1, 0.20.2, 0.20.3| - +-----------+-----------------------+------------------------------+ + +-----------+-------------------------------+------------------------------+ + |**libgit2**|0.21.1 |0.20.0 | + +-----------+-------------------------------+------------------------------+ + |**pygit2** |0.21.0, 0.21.1, 0.21.2, 0.21.3 |0.20.0, 0.20.1, 0.20.2, 0.20.3| + +-----------+-------------------------------+------------------------------+ **Warning!** Backwards compatibility is not guaranteed even between micro releases. Please check the release notes for incompatible changes before diff --git a/pygit2/blame.py b/pygit2/blame.py index 3e1afd9..3145ee3 100644 --- a/pygit2/blame.py +++ b/pygit2/blame.py @@ -141,7 +141,8 @@ class Blame(object): raise IndexError return BlameHunk._from_c(self, chunk) - + + class BlameIterator(object): def __init__(self, blame): self._count = len(blame) diff --git a/pygit2/version.py b/pygit2/version.py index f4e1e91..02c5c51 100644 --- a/pygit2/version.py +++ b/pygit2/version.py @@ -23,4 +23,4 @@ # the Free Software Foundation, 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. -__version__ = '0.21.2' +__version__ = '0.21.3' diff --git a/setup.py b/setup.py index f53a84a..b4b8f29 100644 --- a/setup.py +++ b/setup.py @@ -103,7 +103,7 @@ class TestCommand(Command): unittest.main(None, defaultTest='test.test_suite', argv=test_argv) class CFFIBuild(build): - """Hack to combat the chicken and egg problem that we need cffi + """Hack to combat the chicken and egg problem that we need cffi to add cffi as an extension. """ def finalize_options(self): diff --git a/test/test_archive.py b/test/test_archive.py index 0785fc5..d13a16a 100644 --- a/test/test_archive.py +++ b/test/test_archive.py @@ -51,7 +51,7 @@ class ArchiveTest(utils.RepoTestCase): index.read_tree(treeish.peel(Tree)) else: index.read_tree(self.repo[treeish].peel(Tree)) - + self.assertEqual(len(index), len(archive.getmembers())) if timestamp: @@ -61,7 +61,7 @@ class ArchiveTest(utils.RepoTestCase): archive.close() self.assertTrue(os.path.isfile('foo.tar')) os.remove('foo.tar') - + def test_write_tree(self): self.check_writing(TREE_HASH) self.check_writing(Oid(hex=TREE_HASH))