-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: Setup
-
None
It would be nice to have Instruction API support for package management, leveraging the named package support in the net.solarnetwork.node.service.PlatformPackageService. In SolarNodeOS system packages (*.deb) are handled as named packages. That is, the following managment functions would be helpful:
- List named packages, with an optional name filter
- List upgradable named packages
- Refresh named package database
- Install named package, with optional version
- Upgrade all named packages
As OS updates can lead to bricked nodes if care is not taken, this API could make it too easy to break nodes. However the main use case for this functionality, offering management applications the ability to manage the software installed on nodes, is valid.