Multi-EAR / Multi-EAR-services

Multi-EAR system services and configuration for a deployed Raspberry Pi OS LITE (32-bit).
MIT License
0 stars 0 forks source link

Command line functionality #28

Open psmsmets opened 2 years ago

psmsmets commented 2 years ago

Move all functions from multi-ear-services.sh except install to a command line function in the pip package:

Make some of them accessible via the multi-ear-ctrl service.

multi-ear update

autoupdate:

Jollyfant commented 2 years ago

service that daily checks for release/branch updates

I would do this when the interface is loaded using #25. If a new version is available add a button that says "Update Now". I don't think a 15 - 30 timer is necessary to catch errors in a release. There should be no more errors when pushing to main. In the worst case there should be a "factory" reset option that brings the Multi-EAR back to the version it was tested/shipped? Can be done by checking out to a particular commit e.g.,:

git reset --hard 6e559cb
Jollyfant commented 2 years ago

multi-ear update

Is using the .git in ~/Multi-Ear-Services not enough for the most part? A git pull followed by update should do the trick..