RFC: lake: add command to fetch dependency sources
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
Proposal
lake should provide a command (lake fetch?) that fetches the sources for all dependencies, without building them.
Currently, afaict, the only way to get the sources is to trigger a build of some facet.
Use case: I'm building a Docker image that should contain all source files needed to build some project, but no build artifacts.
Workaround: build the smallest dependency (e.g. lake build batteries), then remove its build outputs (rm -rf .lake/packages/batteries/.lake).
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
Start by examining the existing lake dependency-fetching and build command flow. Determine how a fetch-only operation should obtain all dependency sources without producing build artifacts; done means a documented command reliably supports the Docker use case.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100