* New `Repository.revert(...)`
* New optional `depth` argument in submodules `add()` and `update()` methods
* Now `Submodule.url` returns `None` when the submodule does not have a url
* Fix use after free bug in error reporting
* Fix `Submodule.head_id` when the submodule is not in the current HEAD tree
* Fix `Submodule.open()` when subclassing `Repository`
* Fix error in the test suite when running with address sanitizer
* Annotations and documentation fixes
- Fix version number for previous changelog entry
- Update to 1.15.0
OBS-URL: https://build.opensuse.org/request/show/1191647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=95
* Many deprecated features have been removed, see below
* Upgrade to libgit2 v1.8.1
* New `push_options` optional argument in `Repository.push(...)`
* New support comparison of `Oid` with text string
* Fix `CheckoutNotify.IGNORED`
* Use default error handler when decoding/encoding paths
* Remove setuptools runtime dependency
* Coding style with ruff
* Add wheels for ppc64le
* Fix tests on EPEL8 builds for s390x
* Deprecate `IndexEntry.hex`, use `str(IndexEntry.id)`
* Remove deprecated `oid.hex`, use `str(oid)`
* Remove deprecated `object.hex`, use `str(object.id)`
* Remove deprecated `object.oid`, use `object.id`
* Remove deprecated `Repository.add_submodule(...)`, use `Repository.submodules.add(...)`
* Remove deprecated `Repository.lookup_submodule(...)`, use `Repository.submodules[...]`
* Remove deprecated `Repository.init_submodules(...)`, use `Repository.submodules.init(...)`
* Remove deprecated `Repository.update_submodule(...)`, use `Repository.submodules.update(...)`
* Remove deprecated constants `GIT_OBJ_XXX`, use `ObjectType`
* Remove deprecated constants `GIT_REVPARSE_XXX`, use `RevSpecFlag`
* Remove deprecated constants `GIT_REF_XXX`, use `ReferenceType`
* Remove deprecated `ReferenceType.OID`, use instead `ReferenceType.DIRECT`
* Remove deprecated `ReferenceType.LISTALL`, use instead `ReferenceType.ALL`
* Remove deprecated support for passing dicts to repository\'s `merge(...)`,
`merge_commits(...)` and `merge_trees(...)`. Instead pass `MergeFlag` for `flags`, and
`MergeFileFlag` for `file_flags`.
* Remove deprecated support for passing a string for the favor argument to repository\'s
`merge(...)`, `merge_commits(...)` and `merge_trees(...)`. Instead pass `MergeFavor`.
- Drop patches for issues fixed upstream
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=93
- update to 1.14.0:
* Drop support for Python 3.8
* New `Repository.submodules` namespace
* New `Repository.listall_mergeheads()`,
`Repository.message`,
`Repository.raw_message` and `Repository.remove_message()`
* New `pygit2.enums` supersedes the `GIT_` constants
* Now `Repository.status()`, `Repository.status_file()`,
`Repository.merge_analysis()`, `DiffFile.flags`,
`DiffFile.mode`,
`DiffDelta.flags` and `DiffDelta.status` return enums
* Now repository\'s `merge()`, `merge_commits()` and
`merge_trees()` take enums/flags for their `favor`,
`flags` and `file_flags` arguments.
* Fix crash in filter cleanup
* Documentation fixes
* Remove deprecated `Repository.create_remote(...)` function,
use instead `Repository.remotes.create(...)`
* Deprecate `Repository.add_submodule(...)`, use
`Repository.submodules.add(...)`
* Deprecate `Repository.lookup_submodule(...)`, use
`Repository.submodules[...]`
* Deprecate `Repository.init_submodules(...)`, use
`Repository.submodules.init(...)`
* Deprecate `Repository.update_submodule(...)`, use
`Repository.submodules.update(...)`
* Deprecate `GIT_*` constants, use `pygit2.enums`
* Passign dicts to repository\'s `merge(...)`,
`merge_commits(...)` and `merge_trees(...)` is deprecated.
Instead pass `MergeFavor` for the `favor` argument, `MergeFlag`
OBS-URL: https://build.opensuse.org/request/show/1142846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=34
* Drop support for Python 3.8
* New `Repository.submodules` namespace
* New `Repository.listall_mergeheads()`,
`Repository.message`,
`Repository.raw_message` and `Repository.remove_message()`
* New `pygit2.enums` supersedes the `GIT_` constants
* Now `Repository.status()`, `Repository.status_file()`,
`Repository.merge_analysis()`, `DiffFile.flags`,
`DiffFile.mode`,
`DiffDelta.flags` and `DiffDelta.status` return enums
* Now repository\'s `merge()`, `merge_commits()` and
`merge_trees()` take enums/flags for their `favor`,
`flags` and `file_flags` arguments.
* Fix crash in filter cleanup
* Documentation fixes
* Remove deprecated `Repository.create_remote(...)` function,
use instead `Repository.remotes.create(...)`
* Deprecate `Repository.add_submodule(...)`, use
`Repository.submodules.add(...)`
* Deprecate `Repository.lookup_submodule(...)`, use
`Repository.submodules[...]`
* Deprecate `Repository.init_submodules(...)`, use
`Repository.submodules.init(...)`
* Deprecate `Repository.update_submodule(...)`, use
`Repository.submodules.update(...)`
* Deprecate `GIT_*` constants, use `pygit2.enums`
* Passign dicts to repository\'s `merge(...)`,
`merge_commits(...)` and `merge_trees(...)` is deprecated.
Instead pass `MergeFavor` for the `favor` argument, `MergeFlag`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=82
- update to 1.13.3:
* New API for filters in Python #1237#1244
* Shallow repositories: New depth optional argument for
clone_repository(...) and Remote.fetch(...) #1245#1246
* New submodule init(...), update(...) and reload(...)
functions #1248
* Release GIL in Walker.__next__ #1249
* Type hints for submodule functions in Repository #1247
* Support Python 3.12
* Documentation updates #1242
* Fix crash in reference rename #1233
* Upgrade to libgit2 v1.7.1
* Don't distribute wheels for pypy, only universal wheels for
macOS
* New Repository.remotes.create_anonymous(url) #1229
* docs: update links to pypi, pygit2.org #1228
* Prep work for Python 3.12 (not yet supported) #1223
- drop support-libgit2-1.7.patch (upstream)
* Add missing newline at end of pygit2/decl/pack.h #1163
* Remove redundant line #1139
* Added mwindow_mapped_limit, cached_memory, enable_caching,
OBS-URL: https://build.opensuse.org/request/show/1137305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=33
* New API for filters in Python #1237#1244
* Shallow repositories: New depth optional argument for
clone_repository(...) and Remote.fetch(...) #1245#1246
* New submodule init(...), update(...) and reload(...)
functions #1248
* Release GIL in Walker.__next__ #1249
* Type hints for submodule functions in Repository #1247
* Support Python 3.12
* Documentation updates #1242
* Fix crash in reference rename #1233
* Upgrade to libgit2 v1.7.1
* Don't distribute wheels for pypy, only universal wheels for
macOS
* New Repository.remotes.create_anonymous(url) #1229
* docs: update links to pypi, pygit2.org #1228
* Prep work for Python 3.12 (not yet supported) #1223
- drop support-libgit2-1.7.patch (upstream)
* Add missing newline at end of pygit2/decl/pack.h #1163
* Remove redundant line #1139
* Added mwindow_mapped_limit, cached_memory, enable_caching,
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=80
- Update to version 1.12.2:
+ Update wheels to bundle libssh2 1.11.0 and OpenSSL 3.0.9.
Remove obsolete Remote.save().
- Changes from version 1.12.1:
+ Fix segfault in signature when encoding is incorrect.
+ Typing improvements.
+ Update wheels to libgit2 v1.6.4.
- Changes from version 1.12.0:
+ Upgrade to libgit2 v1.6.3.
+ Update Linux wheels to bundle OpenSSL 3.0.8.
+ Downgrade Linux wheels to manylinux2014.
+ New ConflictCollection.__contains__.1
+ New Repository.references.iterator(...).
+ New favor, flags and file_flags optional arguments for
Repository.merge(...).
+ New keep_all and paths optional arguments for
Repository.stash(...).
+ New Respository.state().
+ Improve Repository.write_archive(...) performance.
+ Sync type annotations.
- Drop support-libgit2-1.6.patch: fixed upstream.
- Add support-libgit2-1.7.patch: support libgit2 1.7.0.
OBS-URL: https://build.opensuse.org/request/show/1100661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=32
- Update to version 1.11.1 (2022-11-09)
* Fix Linux wheels, downgrade to manylinux 2_24 #1176
* Windows wheels for Python 3.11 #1177
* CI: Use 3.11 final release for testing #1178
* Drop support for Python 3.7
* Update Linux wheels to manylinux 2_28 #1136
* Fix crash in signature representation #1162
* Fix memory leak in Signature #1173
* New optional argument raise_error in Repository.applies(...) #1166
* New notify/progress callbacks for checkout and stash #1167#1169
* New Repository.remotes.names() #1159
* Now refname argument in RemoteCallbacks.push_update_reference(...) is a string, not bytes #1168
* Add missing newline at end of pygit2/decl/pack.h #1163
OBS-URL: https://build.opensuse.org/request/show/1040007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=30
- Update to version 1.11.1 (2022-11-09)
* Fix Linux wheels, downgrade to manylinux 2_24 #1176
* Windows wheels for Python 3.11 #1177
* CI: Use 3.11 final release for testing #1178
- Update to versino 1.11.0 (2022-11-06)
* Drop support for Python 3.7
* Update Linux wheels to manylinux 2_28 #1136
* Fix crash in signature representation #1162
* Fix memory leak in Signature #1173
* New optional argument raise_error in Repository.applies(...) #1166
* New notify/progress callbacks for checkout and stash #1167#1169
* New Repository.remotes.names() #1159
* Now refname argument in RemoteCallbacks.push_update_reference(...) is a string, not bytes #1168
* Add missing newline at end of pygit2/decl/pack.h #1163
- Update to version
OBS-URL: https://build.opensuse.org/request/show/1039869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=72
- Type hints: added to C code and Branches/References
- New ``Signature`` supports ``str()`` and ``repr()``
- Fix ODB backend's read in big endian architectures
- Fix install with poetry
- Wheels: update to libgit2 v1.4.2
- Tests: fix testing ``parse_diff``
- CI: various fixes after migration to libgit2 v1.4
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=65
- 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