You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to investigation from @ajschmidt8, we've identified a significant increase in the size of our repository, primarily attributed to .sccache files that were inadvertently committed to the repo's history. A fresh clone of the cccl repository is currently about 367MB, which is unusually large.
Investigation and Findings
Clone and Size Assessment:
git clone [email protected]:NVIDIA/cccl.git
cd cccl
du -h --max-depth 0 .
Identification of Large Files:
Used a command (inspired by a Stack Overflow answer) to list the largest files in the repo's history.
Finding: .sccache files contribute approximately 224MB to the repo size.
Options for Resolution
Do Nothing:
Pros: Simplest option, no action required.
Cons: Continues the burden of large clone size and potential for slower operations.
Rewrite History to Remove .sccache Files:
Pros: Significantly reduce repo size, faster clone and operations.
Cons: Complex process; requires rewriting history, which can disrupt all current branches and open pull requests.
Implications:
All contributors will need to re-clone the repository or carefully rebase their work.
Potential loss of historical context for some changes.
Requires meticulous coordination and communication with all contributors.
Suggested Course of Action
Given the substantial size contribution of the .sccache files, it seems prudent to consider rewriting the repository's history to remove these files, despite the complexities involved. This action would provide long-term benefits in terms of repository manageability and performance.
The text was updated successfully, but these errors were encountered:
Thanks to investigation from @ajschmidt8, we've identified a significant increase in the size of our repository, primarily attributed to
.sccache
files that were inadvertently committed to the repo's history. A fresh clone of thecccl
repository is currently about 367MB, which is unusually large.Investigation and Findings
.sccache
files:.sccache
files contribute approximately 224MB to the repo size.Options for Resolution
Do Nothing:
Rewrite History to Remove
.sccache
Files:Suggested Course of Action
Given the substantial size contribution of the
.sccache
files, it seems prudent to consider rewriting the repository's history to remove these files, despite the complexities involved. This action would provide long-term benefits in terms of repository manageability and performance.The text was updated successfully, but these errors were encountered: