SG-42549 Change git configuration to use LFS#338
Conversation
There was a problem hiding this comment.
Pull request overview
This PR switches the vendored Python source dependency bundles (resources/python/src/<version>/pkgs.zip) to be stored via Git LFS, reducing repository bloat from large binary artifacts.
Changes:
- Add a root
.gitattributesrule to trackresources/python/src/*/pkgs.zipwith Git LFS. - Replace per-version
pkgs.zipfiles (3.7, 3.9, 3.10, 3.11, 3.13) with Git LFS pointer files.
Reviewed changes
Copilot reviewed 1 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.gitattributes |
Adds Git LFS tracking rule for resources/python/src/*/pkgs.zip. |
resources/python/src/3.7/pkgs.zip |
Converted to Git LFS pointer. |
resources/python/src/3.9/pkgs.zip |
Converted to Git LFS pointer. |
resources/python/src/3.10/pkgs.zip |
Converted to Git LFS pointer. |
resources/python/src/3.11/pkgs.zip |
Converted to Git LFS pointer. |
resources/python/src/3.13/pkgs.zip |
Converted to Git LFS pointer. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1 @@ | |||
| resources/python/src/*/pkgs.zip filter=lfs diff=lfs merge=lfs -text | |||
There was a problem hiding this comment.
Adding filter=lfs for resources/python/src/*/pkgs.zip makes correct builds/packaging dependent on Git LFS being installed and enabled during checkout and when regenerating/pushing these zips (e.g., Azure Pipelines and any release packaging that uses git archive/GitHub source zips). Without an explicit LFS fetch/checkout step, consumers may receive the pointer text file instead of the real zip, which will then fail at runtime when pkgs.zip is added to sys.path. Please ensure CI/deploy tooling enables LFS (e.g., checkout: self with LFS enabled or running git lfs install + git lfs pull) and that the release packaging process bundles LFS objects, not pointers.
| resources/python/src/*/pkgs.zip filter=lfs diff=lfs merge=lfs -text | |
| resources/python/src/*/pkgs.zip -text |
No description provided.