Short-bus / pilomar

RaspberryPi based miniature observatory
https://shortbus.blog/
GNU General Public License v3.0
63 stars 14 forks source link

Relax the version cross-check between pilomar.py and code.py programs #37

Closed Short-bus closed 7 months ago

Short-bus commented 7 months ago

Version numbering is "a.b.c" format. Each program has a list of versions that it will accept from its partner program. The "c" element is really for bug fixes rather than functional changes. The programs should accept any value of the 'c' element, and only care that "a.b" part of the version numbers are acceptable. Version number changes where "a" or "b" elements change are more likely to require compatible changes in the partner program.

Short-bus commented 7 months ago

For the Dec.2023 branch I've added an 'about' option on the miscellaneous menu where versions can be displayed and checked.

Miscellaneous tools menu 1 About 2 Show parameters
3 Edit parameters 4 Reload parameters
5 Set local timezone 6 Tracking status
7 Show folder list 8 Edit target history
9 Debug mode on 10 Debug mode off
11 Check / remount storage 12 Choose color scheme
13 Choose individual color x Exit ? Refresh
Menu option : 1 About pilomar.py 2023-12-30 13:08:39 Now: 2023-12-30 13:08:39.185484+00:00 UTC 2023-12-30 13:08:39 Program: pilomar.py 2023-12-30 13:08:39 Program version: 0.1.2 2023-12-30 13:08:39 Project root: /home/pi/pilomar 2023-12-30 13:08:39 Microcontroller program version: 0.2.1 2023-12-30 13:08:39 Acceptable microcontroller versions: ['0.0', '0.1', '0.2'] 2023-12-30 13:08:39 Python version: sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0) 2023-12-30 13:08:39 Skyfield version: (1, 39) 2023-12-30 13:08:39 Astroalign version: 2.5.1 2023-12-30 13:08:39 Numpy version: 1.21.6 2023-12-30 13:08:39 Pandas version: 1.3.5 2023-12-30 13:08:39 PiDNG version: Unknown