Commit Graph
3803 Commits
Author SHA1 Message Date
Athanasius 80976c8cf5 TRACE: Don't require --trace with other trace options
* `--trace-on ...` no longer requires `--trace` as well.
* Corrected check for `--trace-on *|all`.
* Updated Contributing.md to reflect mandated use of
  `logger.trace_if(...)`, with bare `logger.trace(...)` only for on the
  fly, code not going to be merged, use.
2021-08-13 11:55:10 +01:00
Athanasius cf399da8d7 TRACE: Tweak --trace-all help message
Yes, it actually uses TRACE_ALL level, that's why I didn't capitlise
'trace' in 'Force trace level logging ...'.
2021-08-13 11:39:19 +01:00
Athanasius e10e8390a3 TRACE: Move --trace-on arg to between --trace and --trace-all 2021-08-13 11:37:24 +01:00
Athanasius 80da39d393 TRACE: Tweak --trace-on help reference to */all arg 2021-08-13 11:36:38 +01:00
Athanasius 6eff033295 Merge pull request #1240 from A-UNDERSCORE-D/fix/1237/Ensure-we-can-quickly-find-all-the-current-in-code-trace_on-values
Add helper methods around trace-on and override options
2021-08-13 11:33:12 +01:00
A_D e75eb6dd4b clarified docs, added * and all support to --trace-on 2021-08-12 20:27:54 +02:00
A_D 05e6838637 removed trace_on imports 2021-08-12 16:49:27 +02:00
A_D fefa3d351d replaced if x in trace_on with trace_if 2021-08-12 16:46:55 +02:00
A_D 80fbfd1780 Updated docs containing info about trace-if 2021-08-12 16:46:26 +02:00
A_D 03d90daedc added support for --trace-all argument to ignore trace-if directives 2021-08-12 16:46:04 +02:00
A_D 41895d591a added trace-if and TRACE_ALL loglevels 2021-08-12 16:45:18 +02:00
Athanasius 505692052e edsm: Update should_send() docstring for extra param 2021-08-11 14:05:40 +01:00
Athanasius 5ceac5ded7 Contributing.md: Fix doc of how to use trace_on 2021-08-11 12:47:00 +01:00
Athanasius 4a1b13199d Merge pull request #1235 from EDCD/fix/1234/monitor-trace_on
monitor.py: Access trace_on via whole-config import
2021-08-11 12:38:00 +01:00
Athanasius 97808f5561 monitor.py: Access trace_on via whole-config import
This is necessary so as to see the same instance of config.trace_on as
is set up by EDMarketConnector.py.
2021-08-11 12:33:22 +01:00
Athanasius f6c0139440 Merge pull request #1232 from norohind/feature/1030/journal-entry-cqc
Feature/1030/journal entry cqc
2021-08-11 12:27:05 +01:00
norohind 0bb06232b8 monitor.py: add default value to entry.get('GameMode') in CQC detection 2021-08-11 14:24:27 +03:00
norohind 97998e6de9 EDMarketConnector.py: clarify comments about CQC 2021-08-11 14:00:32 +03:00
norohind c08c1a574e plug.py: reorder notify* functions 2021-08-11 13:55:46 +03:00
norohind bd32b44903 monitor.py: fix CQC to lower case 2021-08-11 13:50:09 +03:00
Athanasius 8f7a23396f Merge pull request #1233 from EDCD/fix/Releasing-automated-builds
Docs: Update Releasing.md and Automatic-Builds.md for using auto-builds
2021-08-10 15:52:15 +01:00
Athanasius 9027d7a4f1 docs/Releasing: Also replace hashes.sum if overriding an auto build 2021-08-10 15:38:34 +01:00
Athanasius 6328c47a41 Docs: Update Releasing.md and Automatic-Builds.md for using auto-builds
We now prefer automatic builds, triggered off our normal
`Release/<semantic version>` tags being pushed.
2021-08-10 14:59:34 +01:00
norohind ba38b5f02d plug.py: more verbose log message on failed while handling CQC mode journal entry 2021-08-10 16:16:01 +03:00
norohind 7b39b0fda0 plug.py: use copy.deepcopy() instead of dict() in cqc_callback
To create deepcopy for passing data to cqc_callback
2021-08-10 15:55:14 +03:00
norohind 42ce2ad414 monitor.py: trace loadgames to CQC only if in trace_on 2021-08-10 14:27:47 +03:00
norohind 030713f5b9 plug.py: rename journal_entry to cqc_callback in notify_journal_entry_cqc 2021-08-10 13:55:10 +03:00
norohind 6e2f49a63c plug.py: remove useless 'as e' in notify_journal_entry_cqc 2021-08-10 13:51:22 +03:00
norohind 7b823dd64d Remove commented out logger.debug() 2021-08-10 03:16:57 +03:00
norohind e9ee65da14 Code style fix 2021-08-10 03:15:50 +03:00
norohind 3283439485 Code style fixes 2021-08-10 03:00:36 +03:00
norohindandA_D 84500b775a More paranoia about is journal_entry_cqc callable
Co-authored-by: A_D <A-UNDERSCORE-D@users.noreply.github.com>
2021-08-10 02:52:39 +03:00
norohind a00a677746 monitor.py: use trace instead debug to log CQC loadgames 2021-08-10 02:49:58 +03:00
Athanasius e37f7bd3bc Merge pull request #1231 from EDCD/dependabot/pip/develop/pep8-naming-0.12.1
build(deps-dev): bump pep8-naming from 0.12.0 to 0.12.1
2021-08-09 18:04:09 +01:00
Athanasius 2f5b75bcd5 Merge pull request #1230 from EDCD/dependabot/pip/develop/types-requests-2.25.6
build(deps-dev): bump types-requests from 2.25.2 to 2.25.6
2021-08-09 18:04:00 +01:00
dependabot[bot] b639623b4a build(deps-dev): bump pep8-naming from 0.12.0 to 0.12.1
Bumps [pep8-naming](https://github.com/PyCQA/pep8-naming) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/PyCQA/pep8-naming/releases)
- [Changelog](https://github.com/PyCQA/pep8-naming/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/PyCQA/pep8-naming/compare/0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: pep8-naming
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 17:03:15 +00:00
dependabot[bot] 3326ac7003 build(deps-dev): bump types-requests from 2.25.2 to 2.25.6
Bumps [types-requests](https://github.com/python/typeshed) from 2.25.2 to 2.25.6.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 17:03:06 +00:00
Athanasius a8ffce098d Merge pull request #1229 from EDCD/fix/1057/licenses
Include a copy of any relevant licenses
2021-08-09 17:30:14 +01:00
Athanasius f678811a7e Licenses: Correct for other github redirects on downloads 2021-08-09 17:26:15 +01:00
Athanasius 1256a778f0 Licenses: Correct WinSparkle, by following redirect 2021-08-09 17:22:50 +01:00
Athanasius fd215d47bf ChangeLog: Call out docs/Licenses now we have it. 2021-08-09 17:17:39 +01:00
Athanasius e5db795988 Licenses: python-packages: idna 2021-08-09 16:55:02 +01:00
Athanasius e6f741e74d Licenses: python-packages: urllib3 2021-08-09 16:51:13 +01:00
Athanasius 117a86e1c5 Licenses: python-packages: charset-normalizer 2021-08-09 16:43:16 +01:00
Athanasius d5361aca41 Licenses: python-packages: semantic-version 2021-08-09 15:48:15 +01:00
Athanasius 30c7829eda Licenses: python-packages: watchdog 2021-08-09 15:46:49 +01:00
Athanasius c61bc39259 Licenses: python-packages: requests 2021-08-09 15:45:29 +01:00
Athanasius ea63678393 Licenses: python-packages: certifi 2021-08-09 15:44:42 +01:00
Athanasius 5f665bc670 Licenses: python-packages: pywin32 2021-08-09 15:43:00 +01:00
Athanasius b6c79f3d01 Post-release appversion bump to 5.1.4-beta0 2021-08-09 15:33:58 +01:00