Skip to content

Conversation

@kbball
Copy link

@kbball kbball commented Jan 15, 2023

I noticed that jq was not call out as a dependency and if not installed, it failed silently and acted as if the grid square was not correctly set. Added logic to check for jq and if not to install similar to the ruby logic already existing.

Additionally, ruby 2.3 is EOL with ruby 2.7 going EOL in about two months. Bump the ruby version to ruby 3 which has been running fine on my evolve3.

@SpudGunMan
Copy link

Ruby is used so little, I was wondering if a easy Python script is better or using maidenhead.

@kbball
Copy link
Author

kbball commented Jan 15, 2023

Knocked up a quick Python script to do that job. It is using python3 which I know can be divisive. Need to do a little bit more testing to see how it handles not having a GPS lock and GPS not being attached and update error handling accordingly but the happy path of the code works.

@SpudGunMan
Copy link

Fun this would be one less requirement for the project, as for Python3 it's the future 2 is doa

@kbball kbball changed the title JQ Dependency check/install and bump ruby version JQ Dependency check/install and GPS change from Ruby to Python Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants