Skip to content

Implement NGC save/load in hs-toxcore and run round-trip tests against c-toxcore #2301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iphydf opened this issue Apr 18, 2022 · 2 comments
Closed
Milestone

Comments

@iphydf
Copy link
Member

iphydf commented Apr 18, 2022

A new section type needs to be added and documented here: https://github.com/TokTok/hs-toxcore/blob/24ee6e2c3dc1d1565558c14705723228f5fdad6a/src/Network/Tox/SaveData.lhs#L116

Then it needs to be added and parsed here: https://github.com/TokTok/hs-toxcore/blob/24ee6e2c3dc1d1565558c14705723228f5fdad6a/src/Network/Tox/SaveData.lhs#L266

Then a test like this needs to be added: https://github.com/TokTok/hs-toxcore-c/blob/57d3c85f4042ea69c15916f58ebc5ec30a5af1ad/test/Network/Tox/Types/EventsSpec.hs#L59

And we should run that test against c-toxcore to make sure the documentation agrees with the implementation.

@iphydf iphydf added this to the v0.2.19 milestone Apr 18, 2022
@iphydf
Copy link
Member Author

iphydf commented Nov 10, 2023

TokTok/hs-toxcore#218

@iphydf iphydf moved this to In Progress in DHT Group Chats Nov 15, 2023
@iphydf
Copy link
Member Author

iphydf commented Dec 29, 2023

Mostly done. The rest just needs the save format to be made more msgpacky.

@iphydf iphydf closed this as completed Dec 29, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in DHT Group Chats Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant