Skip to content

Conversation

@tiran
Copy link
Collaborator

@tiran tiran commented Dec 1, 2025

The new function clones a git repository with submodules with a blob filter. A blobless clone contains the full git history but no blobs. Blobs are downloaded on demand. Pip's VCS feature uses similar tricks to speed up builds from a VCS URL.

The ref parameter can be any tree-ish reference like a commit, tag, or branch. To force a tag, use refs/tags/v1.0 to fetch the v1.0 tag.

Like in pip, submodules are automatically cloned recursively.

See: #868

@tiran tiran marked this pull request as ready for review December 2, 2025 08:04
@tiran tiran requested a review from a team as a code owner December 2, 2025 08:04
@mergify mergify bot added the ci label Dec 2, 2025
The new function clones a git repository with submodules with a blob filter.
A blobless clone contains the full git history but no blobs. Blobs are
downloaded on demand. Pip's VCS feature uses similar tricks to speed
up builds from a VCS URL.

The *ref* parameter can be any tree-ish reference like a commit, tag, or
branch. To force a tag, use `refs/tags/v1.0` to fetch the `v1.0` tag.

Like in pip, submodules are automatically cloned recursively.

See: python-wheel-build#868
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Copy link
Contributor

@rd4398 rd4398 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!
This looks good

@mergify mergify bot merged commit 26aefae into python-wheel-build:main Dec 2, 2025
111 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants