Package Registry Improvements
Nobody has claimed this yet.
- Dominant language
- Nushell
- Stars
- 335
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Description
https://github.com/nushell/nupm/pull/56 added the ability to install nupm packages from a registry. Currently, we have a registry.nuon at the repository root but as we go, we'll need to make it more robust and maintainable.
Proposed steps
- Move
registry.nuonto a separate repository (e.g.,nushell/nupkgs) - Allow splitting
registry.nuonto separate files. E.g., each package could have its ownregistry.nuonand these would be gathered at the top-levelregistry.nuon. I think with the growing number of packages, a single file would quickly become unmaintainable. - Add a CI job to test package installations.
- In the long run, think about stability: What if some package's CI starts failing? What if some package's URL becomes unavailable? Maybe we can allow creating snapshots: Download package files from all packages defined in the registry and distribute it as a huge zip file. Users could then download the snapshot and be 100% sure that all packages are available.
Contributor guide
No contributing guide indexed for this repository
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 with the root-level registry.nuon and the package-installation work introduced by PR #56. Review how registry entries are loaded, then consider the proposed separate repository, split registry files, and CI installation checks. Done would require an agreed, maintainable registry design and a working validation path for package installations.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100