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

Specify packages on a Project #905

Closed
sammachin opened this issue Aug 19, 2022 · 3 comments
Closed

Specify packages on a Project #905

sammachin opened this issue Aug 19, 2022 · 3 comments
Labels
feature-request New feature or request that needs to be turned into Epic/Story details
Milestone

Comments

@sammachin
Copy link
Contributor

Description

As part of migrating a project to FlowForge one of the pain points is installing any custom nodes the original project used.
While the user can install these via the palette manager there are 3 pain points:

It is somewhat tedious to install several pacakges
The user cannot specify an older version they can only install latest
If the package is on npm but not in the public catalog.

The last 2 can be solved via downloading a tgz from NPM and uploading via the editor but this is far from optimal approach.

Considering possible solutions to this:

  • Allow the user to specify package names and versions as part of project settings,
  • Allow the user to pass an NPM install command with params via the editor (change to Node-RED or a Plugin)
  • Something else?
@sammachin sammachin added feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do labels Aug 19, 2022
@sammachin sammachin added this to the 1.1 milestone Sep 2, 2022
@sammachin
Copy link
Contributor Author

Related to #405

@knolleary
Copy link
Member

I think 405 will address 80% of this - with the remaining 20% (custom tgz files/nodes not on public npm) being a much more complex proposition as we will need to store the tgz's somewhere indefinitely so they can be reinstalled whenever the project is resumed (ie restarted in a clean container).

I would prioritise 405 - being able to specify nodes/version on the assumption they come from public npm catalog.

@knolleary
Copy link
Member

With #405 merged in 1.0, we have a way for the user to list packages in project settings. It still relies on them being npm installable nodes (but they don't have to be listed on flows.nodered.org) - which I think will satisfy just about all cases.

The only scenario it won't help with is where a user has a custom node they want including that isn't published to public npm. We have the concept of private node catalogues in the backlog which can cover some of that.

All of that said, I'm going to close this issue as I think we have addressed the core of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request that needs to be turned into Epic/Story details
Projects
Archived in project
Development

No branches or pull requests

2 participants