pygit2
pygit2 copied to clipboard
Python bindings for libgit2
## Description: In `pygit2/src/odb_backend.c`, the C functions pgit_odb_backend_read and pgit_odb_backend_read_prefix are used as callbacks for libgit2's custom ODB backend mechanism. The code passes the function parameter sz (which is of...
Reproduces on pygit2 1.17.0/1.18.0 / python 3.11 on Mac / Linux: ``` import pygit2 pygit2.clone_repository("https://gitlab.com/antora/antora", "/tmp/antora") ``` Takes more than 10 minutes, while the cli equivalent: ``` git clone https://gitlab.com/antora/antora...
Unfortunately actually doing this might end up being blocked on upstream support in CFFI for free-threaded Python, see https://github.com/python-cffi/cffi/issues/126 for more detail. We are working on fixing CFFI in a...
* runs on pushes to master or prs to master * will prevent action from running for the push in pr and pull request into master
Currently - project is testing on min and latest python versions (3.10, and 3.13) The wheel released to pypi - is built using 3.11 I think the wheel should be...
https://github.com/libgit2/pygit2/blob/212cae3f86772ffc245124c5fc1a7c37043f95a0/test/test_credentials.py#L194 This test is xfailing, is there a reason this isn't making the linux github actions fail?
In case if I want to check if branch was provided to submodule and it is not provided I got error if sm.branch: name = f"{sm.branch}/{sm.name}" else: name = f"{sm.name}"...
Error: `_pygit2.GitError: error parsing REF pkt-line` Fetching: https://gitlab.freedesktop.org/xdg/shared-mime-info.git I am not really sure why it fails. It works fine with the git command/GitPython. What is pygit2/libgit2 doing different? ~~~Console ❯...
Hey. [Documentation](https://www.pygit2.org/index_file.html#status) claims: > ignored > Whether to show ignored files with untracked files. Ignored when untracked_files == “no” However, the option does **not** seem to be ignored, i.e. with...
With this issue I want to catch your attention to the fact that the development of pygit2 depends very much on your contributions. As maintainer I do the following things:...