I would like to create node-red-contrib-context-project that behaves just like @node-red/runtime/lib/nodes/context/localfilesystem.js but uses the current project folder as dir option.
I would appreciate feedback on that idea already!
Problem from my first Context Store API discovery:
- i have no access to settings which would give access to settings.get("projects").activeProject and the corresponding parent directory settings
- i could not find a proper project api to trigger a commit if auto-commit is enabled
Recommendations for this?
Btw: would it be possible to use git-http transport by creating git-credentials and changing remote origin in the project folder or would it get reset by Node-Red?
Thanks for comments!