Relatively simple. Because all of our loggers are created out of EDMCLogging, we can create a fake type in EDMCLogging that inherits from logging.Logger but also defines a trace method. Once that is done, we just have to annotate our methods to get loggers with the new type, cast all of the returns, and suddenly we no longer have any complaints about logger.trace. This doesn't _actually_ change any behaviour at runtime, and logging.Logger.trace and logging.TRACE will continue to be broken, but those are used far less than logger.trace is used throughout the codebase, and therefore I think we can live with `# type: ignore` comments everywhere
Any questions or offers of help can be directed to the EDCD Discord #edmc channel:
Elite: Dangerous Market Connector (EDMC)
This application is only of use to PC players of the game Elite Dangerous (and its expansions). It won't work with PS4 or Xbox accounts.
It utilises the Journal files written by the game on the user's computer, together with data from the API Frontier Developments supplies in order to feed this data to various third party sites that the user may find useful.
See the Wiki documentation for more details.
Installation & Uninstall
Please see the Installation & Setup wiki page.
Running from source
Please see the Running from source wiki page.
Plugins
Plugins extend the behaviour of this app. See the Plugins wiki page for more information.
If you would like to write a plugin please see PLUGINS.md.
Troubleshooting
Please see the Troubleshooting wiki page.
Reporting a problem
Please report a problem as a new GitHub issue. Please wait for the error to occur and zip up and attach this app's log file to the new issue:
Mac:
$TMPDIR/EDMarketConnector.log
Windows:
%TMP%\EDMarketConnector.log
Packaging for distribution
Please see docs/Releasing.md.
Disclaimer
This app uses the “Companion” web API that Frontier originally supplied for their Elite Dangerous iOS app and now support for third-party apps. If that API ceases to function in the future then much of this application's functionality will be curtailed (although it could still utilise Journal files).
Acknowledgements
Please see the Acknowledgements wiki page.
License
Copyright © 2015-2019 Jonathan Harris, 2020 EDCD
Licensed under the GNU Public License (GPL) version 2 or later.