Modularize deathlog, unit tests, emit GUID on death, new recorded_deaths object for internal use#442
Modularize deathlog, unit tests, emit GUID on death, new recorded_deaths object for internal use#442tpetrychyn wants to merge 8 commits intoZarant:masterfrom
Conversation
|
Can you elaborate some more on your work here? I've been working on an api back-end written in flask using python I'm fairly confident we don't have any other Go users on the team, but python is a little more ubiquitous How best can we work together? |
ab8f8dc to
cedd4ef
Compare
|
Hey @zdeyn, for sure, Addon:This PR should be ready to merge, I have been running it in game for a day or two and by default is functionally unchanged. The spirit of this PR is two-fold:
I got carried away with the refactor but I think it's a great improvement to have unit tests to make future work easier and safer. API:If you have a python flask API in development I would be happy to contribute Python code there. The API is dead simple, just two steps:
Currently I have a mysql table setup in Planetscale free tier we could use, or setup a new one for your organization. |
|
@zdeyn if you would prefer, I could split the PRs:
|
Changes:
New config
Next steps
This PR is intended to support a new deaths recorder API, see: https://github.com/tpetrychyn/wow-hardcore-death-recorder
Mods will copy and paste their death_log_entries table to the API so deaths can be persisted and queried later
Tests run in docker