Skip to content

Check most current meshtastic version#434

Merged
caveman99 merged 5 commits into
meshtastic:masterfrom
mverch67:code_274
Mar 31, 2023
Merged

Check most current meshtastic version#434
caveman99 merged 5 commits into
meshtastic:masterfrom
mverch67:code_274

Conversation

@mverch67
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread meshtastic/util.py
@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