Add LFS template bundle with comprehensive test suite#574
Open
Add LFS template bundle with comprehensive test suite#574
Conversation
Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Introduce a Git LFS template for installation
Add LFS template bundle
Feb 7, 2026
Member
|
@copilot avoid the update of rhiza.mk |
Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Contributor
Author
Member
|
@copilot Please implement some tests for this functionality |
Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Contributor
Author
Done. Added comprehensive test suite in commit 84f8706: Structure Tests (16 tests) in
Integration Tests (12 tests) in
Total: 28 tests covering functionality, structure, and documentation. |
Copilot
AI
changed the title
Add LFS template bundle
Add LFS template bundle with comprehensive test suite
Feb 7, 2026
Add suppression comment for py/incomplete-url-substring-sanitization alert. The flagged code is a test assertion checking command output, not URL validation for security purposes. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Remove trailing whitespace - Remove unused pytest import - Add blank lines after imports per PEP 8 - Fix conftest.py root path for relocated file Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Change from multiline comment to inline lgtm suppression format that CodeQL properly recognizes. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Thomas Schmelzer <thomas.schmelzer@gmail.com>
HarryCampion
reviewed
Feb 7, 2026
Collaborator
There was a problem hiding this comment.
think we can get rid of this?
Member
There was a problem hiding this comment.
Careful, I need the hook for some local tests in tests/test_rhiza. Please note that template-bundles is not copied into the different downstream repos. Maybe it should be outside .rhiza?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement Git LFS Template
.rhiza/make.d/09-lfs.mkwith Git LFS installation targetslfs-install: Cross-platform git-lfs installation (macOS arm64/amd64, Linux)lfs-pull: Download all LFS files for current branchlfs-track: List all LFS-tracked patternslfs-status: Show LFS file statustemplate-bundles.ymldocs/LFS.mdUpdate(removed - not needed).phonytargets in rhiza.mk.rhiza/tests/structure/test_lfs_structure.py: Verify file existence, target definitions, cross-platform support, error handling, bundle configuration, and documentation completeness.rhiza/tests/integration/test_lfs.py: Test makefile target execution, platform-specific logic, GitHub API usage, sudo privilege handling, and actual execution scenariosTesting
make helpoutputThe implementation provides a complete, tested, and documented Git LFS template that can be included in downstream Rhiza projects via
.rhiza/template.yml.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.