18 ms·
Cannot find if it supports any version control? Does it?
by adontz 5y ago
Cannot find if it supports any version control? Does it?
- hwillis 5y agoIt does (everything is saved as json), but it's a bit of a hassle. Scripts are saved to a single line, so you really need a plugin that breaks them up. It's really pretty silly that isn't the default. The other huge PITA is that touching a node in the UI causes the json to update even if you didn't do anything, and changes will often cause nodes in the json to reorder. That makes git commits very cluttered. Merging is also very hit-or-miss and duplicate nodes are common. You can mostly fix this with another plugin that saves flows to individual files instead of one big file (default). As long as you split your flows and subflows up enough, team members will usually not step on each others toes. I used this at work. Not a fan. If you only touched the system once every 4 months I can see the usefulness- It's easier to see the overall structure than wading through code, particularly if you're a visual person. It makes it relatively easy to pick something up that you have mostly forgotten. It is a huge PITA if you are trying to build API features quickly with a team. Especially if there's nobody to tell you to use the plugins.
- samlents 5y agoI've run into these issues as well but haven't come across those packages. What plugins are you all using?
- hwillis 5y agoset flowFilePretty to true (splits up lines in function nodes) and use node-red-contrib-flow-manager to split flows up. [1] https://flows.nodered.org/node/node-red-contrib-flow-manager https://flows.nodered.org/node/node-red-contrib-flow-manager
- throwawaypita 5y agoYou know what else is PITA? People complaining about open source and not contributing changes.
- rcarmo 5y agoIt does. The projects feature has a visual diff editor that makes it very easy to see what is going on, and uses git as a back-end.