PyAr / PyCamp_Bot

Voting system for the PyCamp
6 stars 24 forks source link

Add show_version command #82

Closed andresdelfino closed 3 months ago

andresdelfino commented 3 months ago

The idea of this command is to let anyone developing the bot to check if they changes were deployed, if the code was changed in place (dirty worktree) and if the dependencies where updated (to check if only git pull was run).

andresdelfino commented 3 months ago

Example output:

Commit deployado: 68e809453
Dirty worktree: sí
Versión de Python: 3.10.14
Dependencias:
anyio==4.4.0
certifi==2024.6.2
exceptiongroup==1.2.1
freezegun==1.5.1
h11==0.14.0
httpcore==0.16.3
httpx==0.23.3
idna==3.7
iniconfig==2.0.0
munch==2.5.0
packaging==24.1
peewee==3.16.0
pluggy==1.5.0
pytest==8.2.2
python-dateutil==2.9.0.post0
python-telegram-bot==20.2
rfc3986==1.5.0
six==1.16.0
sniffio==1.3.1
tomli==2.0.1
typing_extensions==4.12.2