Skip to content
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

Protocol version 6: Compatibility future-proofing and some enhancements #108

Merged
merged 11 commits into from
Nov 22, 2021

Conversation

Noordfrees
Copy link
Member

@Noordfrees Noordfrees commented Oct 21, 2021

Increasing the protocol version for every minor feature will quickly make the code unmaintainable. The new protocol version gives every command its own independent command version, so that from now on changing a command's syntax requires updating only that one command's version handling and does not touch the global version.

The other two enhancements in this branch are the ability to append CMD_INFO payloads to the CMD_LIST response to speed up network communication if the client requests it; and to configure Tx resource properties via CMD_SETUP_TX so it no longer requires the add-ons maintainer to have admin privileges on Transifex.

@Noordfrees Noordfrees added enhancement New feature or request maintenance Shell scripts & backend stuff labels Oct 21, 2021
@Noordfrees Noordfrees self-assigned this Oct 21, 2021
Copy link
Member

@matthiakl matthiakl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Just two small comments regarding the documentation.
I will look at the client side next.

wl/server/Command.java Outdated Show resolved Hide resolved
wl/server/HandleCommand.java Show resolved Hide resolved
@Noordfrees Noordfrees merged commit b1b0036 into widelands:master Nov 22, 2021
@Noordfrees Noordfrees deleted the misc-enhancements branch November 22, 2021 19:59
@Noordfrees
Copy link
Member Author

Thanks for the review

Merged and deployed, alpha is offline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance Shell scripts & backend stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants