From: Arto J. <no...@gi...> - 2024-02-20 17:49:11
|
Branch: refs/heads/master Home: https://github.com/pytrainer/pytrainer Commit: dc3b76e3e70465e9416791c24406b5d2ad4dcd84 https://github.com/pytrainer/pytrainer/commit/dc3b76e3e70465e9416791c24406b5d2ad4dcd84 Author: Arto Jantunen <vi...@ik...> Date: 2024-02-19 (Mon, 19 Feb 2024) Changed paths: M pyproject.toml M pytrainer/__init__.py A pytrainer/__main__.py Log Message: ----------- Move main function from __init__.py to __main__.py This allows starting the application under the debugger with `python -m pdb -m pytrainer`. Commit: b9cf506e6abfbdc265fb5dd0834dd6d6a292e814 https://github.com/pytrainer/pytrainer/commit/b9cf506e6abfbdc265fb5dd0834dd6d6a292e814 Author: Arto Jantunen <vi...@ik...> Date: 2024-02-19 (Mon, 19 Feb 2024) Changed paths: M .gitignore Log Message: ----------- Gitignore the generated version.py This must not end up in the repository as it's auto-generated by setuptools-scm as needed. Commit: 2bb762c1bcedff41a3f33c1d3bd16a34380d9395 https://github.com/pytrainer/pytrainer/commit/2bb762c1bcedff41a3f33c1d3bd16a34380d9395 Author: Arto Jantunen <vi...@ik...> Date: 2024-02-19 (Mon, 19 Feb 2024) Changed paths: M pytrainer/__main__.py M pytrainer/main.py Log Message: ----------- Parse options before initializing the main GUI class (pyTrainer) This should allow setting up logging _before_ localization, which allows using standard logging there instead of print(). Commit: 064a59f9d30dbb32eeaddcf07d0d1a15f0993c25 https://github.com/pytrainer/pytrainer/commit/064a59f9d30dbb32eeaddcf07d0d1a15f0993c25 Author: Arto Jantunen <vi...@ik...> Date: 2024-02-19 (Mon, 19 Feb 2024) Changed paths: M pytrainer/__main__.py M pytrainer/main.py Log Message: ----------- Also initialize Environment in main() instead of pyTrainer init Again to allow for logging earlier. Commit: b3c8056b2fd86916a1fdb455b03bbe3a5c57aea8 https://github.com/pytrainer/pytrainer/commit/b3c8056b2fd86916a1fdb455b03bbe3a5c57aea8 Author: Arto Jantunen <vi...@ik...> Date: 2024-02-19 (Mon, 19 Feb 2024) Changed paths: M pytrainer/__main__.py M pytrainer/gui/windowprofile.py M pytrainer/main.py Log Message: ----------- Move logging setup from pyTrainer init to main() And this allows using it in initialize_gettext(). Commit: 96d9b00e29ac8896398728943c8c07b1da7997c1 https://github.com/pytrainer/pytrainer/commit/96d9b00e29ac8896398728943c8c07b1da7997c1 Author: Arto Jantunen <vi...@ik...> Date: 2024-02-19 (Mon, 19 Feb 2024) Changed paths: M imports/file_kml20.py M pytrainer/gui/drawGraph.py M pytrainer/lib/gpx.py M pytrainer/lib/graphdata.py M pytrainer/main.py Log Message: ----------- Remove commented-out print() calls Commit: 46bc4e72e55f1bdd98cc4151906e0b6d0c83b5a1 https://github.com/pytrainer/pytrainer/commit/46bc4e72e55f1bdd98cc4151906e0b6d0c83b5a1 Author: Arto Jantunen <vi...@ik...> Date: 2024-02-19 (Mon, 19 Feb 2024) Changed paths: M pytrainer/lib/localization.py Log Message: ----------- Convert print() in localization init to use logging instead Commit: c1b187adf1c90fe2b756e276d97de480d86b04f5 https://github.com/pytrainer/pytrainer/commit/c1b187adf1c90fe2b756e276d97de480d86b04f5 Author: Arto Jantunen <vi...@ik...> Date: 2024-02-20 (Tue, 20 Feb 2024) Changed paths: M .gitignore M imports/file_kml20.py M pyproject.toml M pytrainer/__init__.py A pytrainer/__main__.py M pytrainer/gui/drawGraph.py M pytrainer/gui/windowprofile.py M pytrainer/lib/gpx.py M pytrainer/lib/graphdata.py M pytrainer/lib/localization.py M pytrainer/main.py Log Message: ----------- Merge pull request #266 from viiru-/improve-startup-and-logging Improve startup and logging Compare: https://github.com/pytrainer/pytrainer/compare/7a54d1010dd6...c1b187adf1c9 To unsubscribe from these emails, change your notification settings at https://github.com/pytrainer/pytrainer/settings/notifications |