Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check most current meshtastic version #434

Merged
merged 5 commits into from
Mar 31, 2023
Merged

Conversation

mverch67
Copy link
Contributor

@mverch67 mverch67 commented Mar 30, 2023

This is a solution for #274 Let user know if they are not running the most current version of the cli.

It affects the --info and --support command:

$ meshtastic --info

[...]

*** A newer version v2.1.4 is available! Consider running "pip install --upgrade meshtastic" ***

$ meshtastic --support

If having issues with meshtastic cli or python library
or wish to make feature requests, visit:
https://github.com/meshtastic/python/issues
When adding an issue, be sure to include the following info:
 System: Linux
   Platform: Linux-6.2.7-200.fc37.x86_64-x86_64-with-glibc2.36
   Release: 6.2.7-200.fc37.x86_64
   Machine: x86_64
   Encoding (stdin): utf-8
   Encoding (stdout): utf-8
 meshtastic: v2.1.3 (*** newer version v2.1.4 available ***)
 Executable: /home/manuel/Documents/PlatformIO/Projects/python-fork/meshtastic/__main__.py
 Python: 3.11.2 CPython GCC 12.2.1 20221121 (Red Hat 12.2.1-4)

Please add the output from the command: meshtastic --info

Copy link
Member

@caveman99 caveman99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good thing to add, but please read comments.

meshtastic/util.py Show resolved Hide resolved
@caveman99 caveman99 merged commit 78f85ef into meshtastic:master Mar 31, 2023
@mverch67 mverch67 deleted the code_274 branch March 31, 2023 08:40
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