Description
Is your feature request related to a problem? Please describe.
Reproducible and lazy fetching from multiple kinds of sources is a well-defined problem.
It has been questioned whether this should be a responsibility of the Nix project. Notably tvix has so far refused to implement fetchTree (iiuc).
Multiple projects could benefit from this functionality.
Having a single, reusable implementation of this functionality in the ecosystem helps with its goal of producing reproducible outputs.
A division of labor, which is feasible here, improves the efficiency of both teams.
Describe the solution you'd like
- Review the libfetchers interface
- Make libfetchers tests independent of Nix
- Review libutil dependency
- Move libfetchers into its own repository.
Describe alternatives you've considered
- Specialize without refactoring, and keep in the same repo. This makes libfetchers unattractive to other implementers.
- Use git subtrees for everything, and have a tool to manage the subtrees.
Additional context
Discussed at #ZurichZHF with @fricklerhandwerk
Priorities
Add 👍 to issues you find important.
Activity