Skip to content

feat: filter unused blobs when cloning repo - #217

Merged
lampajr merged 1 commit into
kiegroup:mainfrom
BtbN:filter_clone_branch
Jul 21, 2026
Merged

feat: filter unused blobs when cloning repo#217
lampajr merged 1 commit into
kiegroup:mainfrom
BtbN:filter_clone_branch

Conversation

@BtbN

@BtbN BtbN commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Description

Instructs git to do a blob-filtered clone.
This can potentially save a lot of time, traffic and space, depending on the repo in question, and it does no harm if not.

How Has This Been Tested?

Deployed on our Forgejo instance and works fine.
Git gracefully falls back to a full clone if the remote does not support filters, so this is pretty risk free.

Checklist

  • Tests added if applicable.
  • Documentation updated if applicable.

Merge criteria:

  • The commits and have meaningful messages; the author will squash them after approval or will ask to merge with squash.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 89.37% 555/621
🟢 Branches 85.48% 259/303
🟢 Functions 87.92% 131/149
🟢 Lines 89.22% 538/603

Test suite run success

218 tests passing in 18 suites.

Report generated by 🧪jest coverage report action from 0e3aa86

@lampajr
lampajr merged commit 9a4855c into kiegroup:main Jul 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants