Get ready for 0.21.3 release

This commit is contained in:
J. David Ibáñez 2014-09-15 12:39:27 +02:00
parent 5bc6a98004
commit c997037c7b
8 changed files with 96 additions and 35 deletions

View File

@ -14,3 +14,5 @@ Xu Tao <xutao881001@gmail.com>
<petrhosek@gmail.com> <p.hosek@imperial.ac.uk>
Vlad Temian <vladtemian@gmail.com>
Matthew Gamble <git@matthewgamble.net>

View File

@ -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 <https://github.com/libgit2/pygit2/pull/413>`_
- New ``Reference.set_target(...)`` replaces the ``Reference.target`` setter
and ``Reference.log_append(...)``
`#414 <https://github.com/libgit2/pygit2/pull/414>`_
- New ``Repository.set_head(...)`` replaces the ``Repository.head`` setter
`#414 <https://github.com/libgit2/pygit2/pull/414>`_
- ``Repository.merge(...)`` now uses the ``SAFE_CREATE`` strategy by default
`#417 <https://github.com/libgit2/pygit2/pull/417>`_
Other changes:
- New ``Remote.delete()``
`#418 <https://github.com/libgit2/pygit2/issues/418>`_
`#420 <https://github.com/libgit2/pygit2/pull/420>`_
- New ``Repository.write_archive(...)``
`#421 <https://github.com/libgit2/pygit2/pull/421>`_
- Now ``Repository.checkout(...)`` accepts branch objects
`#408 <https://github.com/libgit2/pygit2/pull/408>`_
- Fix refcount leak in remotes
`#403 <https://github.com/libgit2/pygit2/issues/403>`_
`#404 <https://github.com/libgit2/pygit2/pull/404>`_
`#419 <https://github.com/libgit2/pygit2/pull/419>`_
- Various fixes to ``clone_repository(...)``
`#399 <https://github.com/libgit2/pygit2/issues/399>`_
`#411 <https://github.com/libgit2/pygit2/pull/411>`_
`#425 <https://github.com/libgit2/pygit2/issues/425>`_
`#426 <https://github.com/libgit2/pygit2/pull/426>`_
- Fix build error in Python 3
`#401 <https://github.com/libgit2/pygit2/pull/401>`_
- Now ``pip install pygit2`` installs cffi first
`#380 <https://github.com/libgit2/pygit2/issues/380>`_
`#407 <https://github.com/libgit2/pygit2/pull/407>`_
- Add support for pypy3
`#422 <https://github.com/libgit2/pygit2/pull/422>`_
- Documentation improvements
`#398 <https://github.com/libgit2/pygit2/pull/398>`_
`#409 <https://github.com/libgit2/pygit2/pull/409>`_
0.21.2 (2014-08-09)
-------------------
@ -354,31 +410,33 @@ Other: `#331 <https://github.com/libgit2/pygit2/pull/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

View File

@ -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.

View File

@ -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

View File

@ -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)

View File

@ -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'

View File

@ -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):

View File

@ -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))