reducing `nu_scripts` git repo size by removing images and some obsolete file and rewriting history
Open
Nobody has claimed this yet.
- Dominant language
- Nushell
- Stars
- 1.3k
- Forks
- 323
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 3
Description
Now the repo size seems huge to me:
> du | sort-by physical -r | first 4 | select path physical
╭─#─┬───────────────────────path────────────────────────┬─physical─╮
│ 0 │ /Users/user/git/nu_scripts_dev/.git │ 297.5 MB │
│ 1 │ /Users/user/git/nu_scripts_dev/themes │ 58.6 MB │
│ 2 │ /Users/user/git/nu_scripts_dev/custom-completions │ 5.5 MB │
│ 3 │ /Users/user/git/nu_scripts_dev/modules │ 1.1 MB │
╰─#─┴───────────────────────path────────────────────────┴─physical─╯
apparently because images are stored here.
Can we reduce the size of the repo by storing images using git-lfs?
I can do all the preparations and transfer the results to contributors with push rights.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the .git directory and the themes, custom-completions, and modules paths, using the reported disk-usage command to locate large files. Determine which images and obsolete files are candidates for Git LFS or history rewriting. Done means the repository is smaller and the prepared results can be transferred to contributors with push rights.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100