- Update to 1.7.0:
- Upgrade to libgit2 1.3.0
- Add support for Python 3.10
- Drop support for Python 3.6
- New `pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES`
- New optional argument ``location`` in
``Repository.applies(..)`` and ``Repository.apply(..)``
- Fix: Now the `flags` argument in `Repository.blame()` is
passed through
- CI: Stop using Travis, move to GitHub actions
- Fix a number of reference leaks
- Review custom object backends
- In custom backends the callbacks have been renamed from ``read`` to
``read_cb``, ``write`` to ``write_cb``, and so on.
- New optional ``proxy`` argument in ``Remote`` methods
- New GIT_MERGE_PREFERENCE constants
- Don't require cached-property with Python 3.8 or later
- Refactored build and CI, new ``build.sh`` script
- Remove deprecated ``GIT_CREDTYPE_XXX`` contants, use
``GIT_CREDENTIAL_XXX`` instead.
- Remove deprecated ``Patch.patch`` getter, use ``Patch.text``
instead.
- New ``PackBuilder`` class and ``Repository.pack(...)``
- New ``Config.delete_multivar(...)``
- New ``Repository.is_shallow``
- New optional ``message`` argument in
``Repository.create_reference(...)``
- Fix truncated diff when there are nulls
- Fix ``Index.add(...)`` raise ``TypeError`` instead of
``AttributeError`` when arguments are of unexpected type
- Upgrade to libgit2 1.1, new ``GIT_BLAME_IGNORE_WHITESPACE`` constant
- Drop support for PyPy3 7.2
- New optional ``flags`` argument in ``Repository.__init__(...)``,
new ``GIT_REPOSITORY_OPEN_*`` constants
- Remove upstreamed libgit2_1.patch.
OBS-URL: https://build.opensuse.org/request/show/926494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=63
- Add libgit2_1.patch for compatibility with libgit 1.1.0
- Update to v1.3.0
* New Repository.applies, Repository.revparse, Repository.revparse_ext,
Repository.add_submodule, Repository.raw_listall_branches, and
Repository.raw_listall_references
* New optional flags and file_flags arguments in
Repository.merge_commits and Repository.merge_trees
* New Reference.raw_target
* Allow bytes in Repository.lookup_branch and Repository.diff
* New GIT_BLAME_FIRST_PARENT and GIT_BLAME_USE_MAILMAP constants
* New IndexEntry supports repr(), str(), == and !=
* New Object supports repr()
* New accept tuples of strings (not only lists) in a number of places
* Fix compatibility with old macOS 10.9
* Fix check argument type in Repository.apply(...)
* Fix raise exception if error in Repository.listall_submodules()
* Fix a couple of refcount errors in OdbBackend.refresh() and
Worktree_is_prunable
OBS-URL: https://build.opensuse.org/request/show/845686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=24
- Drop the pygit2-0.28-Remove-pycparser-constraint.patch and replace
it with shorter sed
- Switch to pytest testing:
* Fails now but that is pycparser bug https://github.com/eliben/pycparser/issues/305
- Disable tests temporarily as per above
- Update to 0.28.0
* Update to libgit2 v0.28
* New ``pygit2.Mailmap``
* New ``Repository.apply(...)`` wraps ``git_apply(..)``
* Now ``Repository.merge_analysis(...)`` accepts an optional reference parameter
* Now ``Repository.add_worktree(...)`` accepts an optional reference parameter
* Now it's possible to set SSL certificate locations
* Test and documentation improvements
* Now ``worktree.path`` returns the path to the worktree directory
* Remove undocumented ``worktree.git_path``
- Remove unneeded patch to fix issues on i586:
* pygit2-i586.patch
- Add patch to remove unneeded constraint on pycparser
* pygit2-0.28-Remove-pycparser-constraint.patch
OBS-URL: https://build.opensuse.org/request/show/688613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=18
- Update to 0.28.0
* Update to libgit2 v0.28
* New ``pygit2.Mailmap``
* New ``Repository.apply(...)`` wraps ``git_apply(..)``
* Now ``Repository.merge_analysis(...)`` accepts an optional reference parameter
* Now ``Repository.add_worktree(...)`` accepts an optional reference parameter
* Now it's possible to set SSL certificate locations
* Test and documentation improvements
* Now ``worktree.path`` returns the path to the worktree directory
* Remove undocumented ``worktree.git_path``
- Remove unneeded patch to fix issues on i586:
* pygit2-i586.patch
- Add patch to remove unneeded constraint on pycparser
* pygit2-0.28-Remove-pycparser-constraint.patch
OBS-URL: https://build.opensuse.org/request/show/687891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=44