1
0
forked from pool/python-pygit2
Commit Graph

100 Commits

Author SHA256 Message Date
2ba852cf70 Clean up spec file to enable building on leap 2024-10-18 17:38:54 -07:00
Dominique Leuenberger
5ddd6ee66d Accepting request 1191651 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1191651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=40
2024-08-05 15:24:04 +00:00
a379493f00 Accepting request 1191647 from home:glaubitz:branches:devel:languages:python
* 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
2024-08-05 11:55:41 +00:00
Ana Guerrero
fd073f52b5 Accepting request 1181735 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1181735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=39
2024-06-20 14:47:12 +00:00
ffc7350c5c - Update to 1.15.1
* 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
2024-06-19 11:29:50 +00:00
Ana Guerrero
1ddbf52680 Accepting request 1174862 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1174862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=38
2024-05-22 19:29:43 +00:00
bb9bb2c788 Accepting request 1174830 from devel:Factory:git-workflow
- add  pygit2-Upgrade_to_libgit2_v1_8_1-2.patch
  pygit2-Upgrade_to_libgit2_v1_8_1.patch: support libgit2 1.8.1

OBS-URL: https://build.opensuse.org/request/show/1174830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=91
2024-05-17 13:15:37 +00:00
Ana Guerrero
39ece02537 Accepting request 1171422 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1171422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=37
2024-05-02 21:48:44 +00:00
df69bb9251 Accepting request 1171336 from home:michals
- Fix build with gcc 14
  * Fix-CI.patch
  * Fix-leaks-in-fetch_refspecs-and-push_refspecs.patch

OBS-URL: https://build.opensuse.org/request/show/1171336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=89
2024-05-02 16:40:21 +00:00
Ana Guerrero
eddbf61f0a Accepting request 1164267 from devel:languages:python
- Added patch:
  * pygit2-Upgrade_to_libgit2_v1_8_0.patch (gh#libgit2/pygit2@6d539d76b53b)
    + Backport of upstream commit to build with libgit2 1.8.x
    + Apply only if libgit2-devel >= 1.8
    + Fixes build in Factory

OBS-URL: https://build.opensuse.org/request/show/1164267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=36
2024-04-03 15:20:55 +00:00
dc52473b03 - Add upstream patch link to spec and changes files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=87
2024-04-03 06:09:33 +00:00
9ca5fe6c63 Accepting request 1163862 from home:fstrba:branches:devel:languages:python
Fix build in factory with libgit2 1.8.x

OBS-URL: https://build.opensuse.org/request/show/1163862
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=86
2024-04-03 06:06:11 +00:00
Dominique Leuenberger
d9d9e7c6ed Accepting request 1153847 from devel:languages:python
- update to 1.14.1:
  * Now `Object.filemode` returns `enums.FileMode` and
    `Reference.type` returns `enums.ReferenceType`
  * Fix tests on Fedora 40
  * Deprecate `ReferenceType.OID`, use `ReferenceType.DIRECT`
  * Deprecate `ReferenceType.LISTALL`, use `ReferenceType.ALL`

OBS-URL: https://build.opensuse.org/request/show/1153847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=35
2024-03-01 22:37:46 +00:00
e6cad68a57 - update to 1.14.1:
* Now `Object.filemode` returns `enums.FileMode` and
    `Reference.type` returns `enums.ReferenceType`
  * Fix tests on Fedora 40
  * Deprecate `ReferenceType.OID`, use `ReferenceType.DIRECT`
  * Deprecate `ReferenceType.LISTALL`, use `ReferenceType.ALL`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=84
2024-03-01 10:14:54 +00:00
Ana Guerrero
9db20ba5d6 Accepting request 1142846 from devel:languages:python
- 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
2024-01-31 22:54:24 +00:00
5e36294a53 - 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/package/show/devel:languages:python/python-pygit2?expand=0&rev=82
2024-01-30 18:13:05 +00:00
Dominique Leuenberger
5cd60e2f23 Accepting request 1137305 from devel:languages:python
- 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
2024-01-07 20:39:53 +00:00
cce0cea461 - 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/package/show/devel:languages:python/python-pygit2?expand=0&rev=80
2024-01-06 21:01:04 +00:00
Ana Guerrero
4839da7457 Accepting request 1100661 from devel:languages:python
- 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
2023-07-26 11:24:13 +00:00
72c8418897 add patch info
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=78
2023-07-25 15:03:09 +00:00
372385db80 Accepting request 1100659 from home:dimstar:Factory
Fix build in openSUSE:Factory; support libgit2 1.7

OBS-URL: https://build.opensuse.org/request/show/1100659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=77
2023-07-25 14:59:33 +00:00
Dominique Leuenberger
f68c127087 Accepting request 1073635 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1073635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=31
2023-03-26 18:19:58 +00:00
017f481103 Accepting request 1073520 from home:dgarcia:branches:devel:languages:python
- Add support-libgit2-1.6.patch to make it work with the latest
  libgit2 release gh#libgit2/pygit2#1200

OBS-URL: https://build.opensuse.org/request/show/1073520
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=75
2023-03-21 20:35:02 +00:00
Dominique Leuenberger
f4450f52f9 Accepting request 1040007 from devel:languages:python
- 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
2022-12-05 17:00:44 +00:00
e80915fa35 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=73 2022-12-04 14:55:39 +00:00
2897b9a787 Accepting request 1039869 from home:yarunachalam:branches:devel:languages:python
- 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
2022-12-04 14:55:17 +00:00
Dominique Leuenberger
59b989d5ab Accepting request 1004951 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1004951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=29
2022-09-20 17:24:09 +00:00
ca524fcc3d Accepting request 1004945 from home:coolo:branches:openSUSE:Factory
- Update to 1.10.1
  - Fix segfault in ``Signature`` repr
    `#1155 <https://github.com/libgit2/pygit2/pull/1155>`_
  - Linux and macOS wheels for Python 3.11
    `#1154 <https://github.com/libgit2/pygit2/pull/1154>`_
  - Upgrade to libgit2 1.5
  - Add support for ``GIT_OPT_GET_OWNER_VALIDATION`` and
    ``GIT_OPT_SET_OWNER_VALIDATION``
    `#1150 <https://github.com/libgit2/pygit2/pull/1150>`_
  - New ``untracked_files`` and ``ignored`` optional arguments for
    ``Repository.status(...)``
    `#1151 <https://github.com/libgit2/pygit2/pull/1151>`_
- Remove support-libgit-1.5.patch no longer needed

OBS-URL: https://build.opensuse.org/request/show/1004945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=70
2022-09-20 12:05:41 +00:00
Richard Brown
c4f2dc55b7 Accepting request 990575 from devel:languages:python
- Update to 1.9.2:
  * New Repository.create_commit_string(...) and
    Repository.create_commit_with_signature(...) #1142
  * Linux and macOS wheels updated to libgit2 v1.4.3
  * Remove redundant line #1139 
- Add patch support-libgit-1.5.patch:
  * Suppot libgit 1.5.0

OBS-URL: https://build.opensuse.org/request/show/990575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=28
2022-07-22 17:21:13 +00:00
Steve Kowalik
2792e03e4c - Add patch support-libgit-1.5.patch:
* Suppot libgit 1.5.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=68
2022-07-21 14:45:28 +00:00
Steve Kowalik
f911a1ee67 - Update to 1.9.2:
* New Repository.create_commit_string(...) and
    Repository.create_commit_with_signature(...) #1142
  * Linux and macOS wheels updated to libgit2 v1.4.3
  * Remove redundant line #1139

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=67
2022-07-21 14:18:07 +00:00
Dominique Leuenberger
75cacf6c74 Accepting request 965070 from devel:languages:python
- update to 1.9.1:
  - 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/request/show/965070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=27
2022-03-26 21:32:10 +00:00
5e5f79d1ac - update to 1.9.1:
- 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
2022-03-26 18:53:24 +00:00
Dominique Leuenberger
f06b92e0e7 Accepting request 958025 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/958025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=26
2022-02-28 18:43:49 +00:00
257e6e388d Accepting request 957975 from home:pgajdos:python
- version update to 1.9.0
  1.9.0 (2022-02-22)
  -------------------------
  - Upgrade to libgit2 v1.4
  - Documentation, new recipes for committing and cloning
    `#1125 <https://github.com/libgit2/pygit2/pull/1125>`_
  1.8.0 (2022-02-04)
  -------------------------
  - Rename ``RemoteCallbacks.progress(...)`` callback to ``.sideband_progress(...)``
    `#1120 <https://github.com/libgit2/pygit2/pull/1120>`_
  - New ``Repository.merge_base_many(...)`` and ``Repository.merge_base_octopus(...)``
    `#1112 <https://github.com/libgit2/pygit2/pull/1112>`_
  - New ``Repository.listall_stashes()``
    `#1117 <https://github.com/libgit2/pygit2/pull/1117>`_
  - Code cleanup
    `#1118 <https://github.com/libgit2/pygit2/pull/1118>`_
  Backward incompatible changes:
  - The ``RemoteCallbacks.progress(...)`` callback has been renamed to
    ``RemoteCallbacks.sideband_progress(...)``. This matches the documentation,
    but may break existing code that still uses the old name.
  1.7.2 (2021-12-06)
  -------------------------
  - Universal wheels for macOS
    `#1109 <https://github.com/libgit2/pygit2/pull/1109>`_
  1.7.1 (2021-11-19)
  -------------------------
  - New ``Repository.amend_commit(...)``
    `#1098 <https://github.com/libgit2/pygit2/pull/1098>`_
  - New ``Commit.message_trailers``
    `#1101 <https://github.com/libgit2/pygit2/pull/1101>`_

OBS-URL: https://build.opensuse.org/request/show/957975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=64
2022-02-28 11:02:51 +00:00
Dominique Leuenberger
0d78a55ee4 Accepting request 926495 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/926495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=25
2021-10-23 21:14:04 +00:00
51b70e4430 Accepting request 926494 from home:mcepl:branches:devel:libraries:c_c++
- 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
2021-10-20 09:10:02 +00:00
Dominique Leuenberger
fada16a7d8 Accepting request 845686 from devel:languages:python
- 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
2020-11-03 14:16:59 +00:00
e8d7e2c65f fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=61
2020-11-03 09:02:39 +00:00
1ba22b36f4 Accepting request 845218 from home:jayvdb:branches:devel:libraries:c_c++
- Add libgit2_1_1.patch for compatibility with libgit 1.1.0
- Update to v1.3.0

OBS-URL: https://build.opensuse.org/request/show/845218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=60
2020-11-02 15:43:22 +00:00
Dominique Leuenberger
4ee70f3a8f Accepting request 800601 from devel:languages:python
- Update to 1.2.1:
  * Drop python2 support
  * Various crash fixes

OBS-URL: https://build.opensuse.org/request/show/800601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=23
2020-05-07 12:50:04 +00:00
Tomáš Chvátal
211b658785 - Update to 1.2.1:
* Drop python2 support
  * Various crash fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=58
2020-05-06 08:08:09 +00:00
Dominique Leuenberger
bffe0e3581 Accepting request 753142 from devel:languages:python
- Fix building for s390x (bsc#1158198)

OBS-URL: https://build.opensuse.org/request/show/753142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=22
2019-12-03 11:43:30 +00:00
Tomáš Chvátal
eab5ca171b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=56 2019-12-03 09:47:18 +00:00
Tomáš Chvátal
a17653abbb Accepting request 753135 from home:juliogonzalezgil:branches:devel:languages:python
- Fix building for s390x (bsc#1158198)

NOTE: SLE15SP2 build results are only possible by copypacking libgit2

OBS-URL: https://build.opensuse.org/request/show/753135
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=55
2019-12-03 09:46:47 +00:00
Ludwig Nussel
fd202464a7 Accepting request 730403 from devel:languages:python
- Update to 0.28.2:
  * Fix crash in reflog iteration #901
  * Support symbolic references in branches.with_commit(..) #910
  * Documentation updates #909
  * Test updates #911

OBS-URL: https://build.opensuse.org/request/show/730403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=21
2019-09-13 13:01:20 +00:00
Tomáš Chvátal
5adc76ce40 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=53 2019-09-12 12:59:59 +00:00
Tomáš Chvátal
838326e593 - Update to 0.28.2:
* Fix crash in reflog iteration #901
  * Support symbolic references in branches.with_commit(..) #910
  * Documentation updates #909
  * Test updates #911

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=52
2019-07-23 08:46:18 +00:00
Dominique Leuenberger
b0ffd0e097 Accepting request 703238 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/703238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=20
2019-05-16 20:09:15 +00:00
Tomáš Chvátal
6778612787 Accepting request 703237 from home:gary_smith:branches:devel:languages:python
- Update to 0.28.1
  * Removed patch pycparser.patch as it is no longer needed
  * Now works with pycparser 2.18 and above
  * Now ``Repository.write_archive(..)`` keeps the file mode
  * New ``Patch.data`` returns the raw contents of the patch as a byte string
  * New ``Patch.text`` returns the contents of the patch as a text string,

OBS-URL: https://build.opensuse.org/request/show/703237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=50
2019-05-15 18:35:11 +00:00