victronenergy / node-red-contrib-victron

MIT License
90 stars 18 forks source link

Locking release on Venus device #87

Closed dirkjanfaber closed 2 years ago

dirkjanfaber commented 3 years ago

See https://community.victronenergy.com/questions/99669/venusos-280large20-updating.html

Recommended way of updating is to await a new release of Venus OS.

It would be better to lock the node-red-contrib-victron version to a Venus OS release.

dirkjanfaber commented 3 years ago

A css approach of not showing the "update to 1.4.2" button seems impossible as the id up_32747970 is generated image

Another way might be to utilize the externalModules part of the runtime configuration, but only talks about denying to install a module. It does not mention disabling updates.

Putting node-red-contrib-victron in the denyList, while it is already installed also does not work. This just disables the nodes and removes them from the palette.

dirkjanfaber commented 3 years ago

A way to solve this would be if the link would have an extra class: red-update-victronenergy-node-red-contrib-victron or so. Then we could set the style of that class to display: none (perhaps with !important appended).

This can be done with this patch.

Requesting the patch to be part of Node-RED.

dirkjanfaber commented 2 years ago

While waiting for that to happen, created the patches:

Which means that this issue can be closed now.