semuconsulting / PyGPSClient

Python Graphical GPS Client Application supporting NMEA, UBX, RTCM3, NTRIP & SPARTN Protocols
BSD 3-Clause "New" or "Revised" License
499 stars 98 forks source link

Add load/save config facility #56

Closed semuadmin closed 1 year ago

semuadmin commented 1 year ago

PyGPSClient Pull Request Template

Description

Add facility to save and reload GUI configuration. Access via File...Save Configuration and File...Load Configuration. Default config filename is $HOME/pygpsclient.json and any such file will be automatically loaded on start.

Testing

Please test all changes, however trivial, against the supplied pytest suite tests/test_*.py. Please describe any test cases you have amended or added to this suite to maintain >= 99% code coverage.

Checklist:

semuadmin commented 1 year ago

Suggest following enhancements:

1. add command line option to specify config file path e.g. --config

2. allow for mqapikey, mqttclientid and colortags to be specified in config file, and maybe deprecate use of discrete files in future versions?

Done

semuadmin commented 1 year ago

moved to RC 1.3.22