Lake: clone packages required from git repository's subdirectory using `--sparse`
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
Proposal
When developing multiple small packages it might be useful to store them in a single repository.
Such packages can be required using require ... from git ... @ "..." / "subdir" syntax,
but each would come with a clone of the full repository wasting space.
Community Feedback
Impact
Add 👍 to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add 👍 to it.
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
The issue names no files, tests, or entry points. Start by locating Lake's handling of git-based package requirements and review how repository subdirectories are currently cloned. Done should mean packages required from a git subdirectory can use sparse checkout without cloning unrelated repository contents.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100