Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

--add-to-scope should add to scope only predefined packages #79

Open
skelly37 opened this issue Aug 16, 2022 · 0 comments
Open

--add-to-scope should add to scope only predefined packages #79

skelly37 opened this issue Aug 16, 2022 · 0 comments
Labels
feature-request New feature or request good first issue Good for newcomers priority: low No hurry, can wait to any other minor release refactor Code should be refactored
Milestone

Comments

@skelly37
Copy link
Member

skelly37 commented Aug 16, 2022

Describe the issue

  • add somme attribute to jsons, like importable which would be a list of files to import to the scope
  • document them
  • make use of them while installing/removing packages
  • check each sourced file if it's .nu, either before adding to the scope or when generating the repo cache (I'd say do the latter)

Argumentation

  1. It would allow to self-host nupac as a way to install any files, like Firefox or Telegram
  2. It would allow us to avoid unnecessary errors with multiple .nu files in the dir
  3. It would prevent from adding invalid files to scope

Screenshots and other helpful media

No response

Additional context

No response

@skelly37 skelly37 added feature-request New feature or request refactor Code should be refactored priority: low No hurry, can wait to any other minor release labels Aug 16, 2022
@skelly37 skelly37 added this to the 1.0.0 milestone Aug 16, 2022
@skelly37 skelly37 added the good first issue Good for newcomers label Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request New feature or request good first issue Good for newcomers priority: low No hurry, can wait to any other minor release refactor Code should be refactored
Projects
None yet
Development

No branches or pull requests

1 participant