forked from pool/python-pygit2
Compare commits
No commits in common. "update_to_1.17.0" and "factory" have entirely different histories.
update_to_
...
factory
27
const-parents.patch
Normal file
27
const-parents.patch
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
---
|
||||
src/repository.c | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/src/repository.c
|
||||
+++ b/src/repository.c
|
||||
@@ -1065,7 +1065,8 @@ Repository_create_commit(Repository *sel
|
||||
|
||||
err = git_commit_create(&oid, self->repo, update_ref,
|
||||
py_author->signature, py_committer->signature,
|
||||
- encoding, message, tree, parent_count, parents);
|
||||
+ encoding, message, tree, parent_count,
|
||||
+ (const git_commit **)parents);
|
||||
if (err < 0) {
|
||||
Error_set(err);
|
||||
goto out;
|
||||
@@ -1147,7 +1148,8 @@ Repository_create_commit_string(Reposito
|
||||
|
||||
err = git_commit_create_buffer(&buf, self->repo,
|
||||
py_author->signature, py_committer->signature,
|
||||
- encoding, message, tree, parent_count, parents);
|
||||
+ encoding, message, tree, parent_count,
|
||||
+ (const git_commit **)parents);
|
||||
if (err < 0) {
|
||||
Error_set(err);
|
||||
goto out;
|
BIN
pygit2-1.16.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pygit2-1.16.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pygit2-1.17.0.tar.gz
(Stored with Git LFS)
BIN
pygit2-1.17.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -1,18 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 13:52:23 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Remove upstreamed const-parents.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 09:21:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 1.17.0
|
||||
* Upgrade to libgit2 1.9
|
||||
* Add certificate_check callback to Remote.ls_remotes(...)
|
||||
* Fix build with GCC 14
|
||||
* Documentation: fix typo in Repository.status(...) docstring
|
||||
* Fix tests with Python 3.13.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 5 10:50:38 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
@ -19,12 +19,15 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pygit2
|
||||
Version: 1.17.0
|
||||
Version: 1.16.0
|
||||
Release: 0
|
||||
Summary: Python bindings for libgit2
|
||||
License: GPL-2.0-only
|
||||
URL: https://github.com/libgit2/pygit2
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM const-parents.patch gh#libgit2/pygit2!1324 mcepl@suse.com
|
||||
# use correct type of git_commit_create() function
|
||||
Patch0: const-parents.patch
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module cached-property}
|
||||
BuildRequires: %{python_module cffi >= 1.17.0}
|
||||
|
Loading…
Reference in New Issue
Block a user