nushell / nushell/nupm

Package Registry Improvements

Open
#72 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

meta-issue registry
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.nuon to a separate repository (e.g., nushell/nupkgs)
  • Allow splitting registry.nuon to separate files. E.g., each package could have its own registry.nuon and these would be gathered at the top-level registry.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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.