openhab-scripters / openhab-helper-libraries

Scripts and modules for use with openHAB
Eclipse Public License 1.0
88 stars 70 forks source link

Version and OpenHAB compatibility check #77

Open diijkstra opened 5 years ago

diijkstra commented 5 years ago

Warns on startup if OpenHAB version is not supported by current release and prints nice version number on startup.

My take on some stuff from Issue #71. Version number probably should be generated from something, but as we don't have build nor test stages lets hard code it for now.

Number 1.0.0a should conform to PEP 440 and indicates alpha release, probably should be bumped just on release date.

If this will conflict with 2.7.1 changes, feel free to reject