Conversation
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.
This pull request adds comprehensive support for Git LFS (Large File Storage) to the
pubgatetool, enabling proper handling of LFS-tracked files throughout all pipelines. The changes include auto-detection of LFS, seamless integration of LFS fetch/push operations during absorb and publish, and improved file classification to distinguish between text, binary, and LFS pointer files. Documentation is updated to reflect these enhancements and clarify edge cases.Git LFS support and integration:
is_lfs_pointerfunction and integrated it into file classification logic (pubgate/git.py). LFS files are now distinguished from regular binaries and handled accordingly. [1] [2] [3] [4] [5]pubgate/core.py). [1] [2] [3] [4] [5]GitRepofor LFS availability detection, fetch, and push, with logging and silent skipping if LFS is not installed (pubgate/git.py).File handling improvements:
pubgate/git.py,pubgate/absorb.py). [1] [2] [3] [4]pubgate/stage_snapshot.py). [1] [2] [3]Documentation updates:
.gitattributesand handling of sensitive LFS files (README.md,SPEC.md). [1] [2] [3]These changes ensure that repositories using Git LFS are handled safely and efficiently, with clear user guidance and robust integration throughout the
pubgateworkflow.