Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Registry Improvements #72

Open
4 tasks
kubouch opened this issue Feb 18, 2024 · 0 comments
Open
4 tasks

Package Registry Improvements #72

kubouch opened this issue Feb 18, 2024 · 0 comments

Comments

@kubouch
Copy link
Contributor

kubouch commented Feb 18, 2024

Description

#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant