-
Notifications
You must be signed in to change notification settings - Fork 63
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
Remove python client version check #676
Comments
I can work on this issue during #hacktoberfest. Is this about remove code which is somehow related to I've found 1 test here:
Should this line be removed from test too? Thanks. |
Yea that’s right. We don’t need to be keeping track of client version numbers at all, so we can just remove any reference to that attribute. You can also run the tests and see what fails after you remove stuff (use the Travis build if you don’t want to set it up locally). Removing this code will also let us get rid of the |
@Askaholic thanks. I will work on it. |
* Removed semver package deprecation warning from pytest * Removed _check_version method and semver package * Removed client_version_info from PlayerService * Removed client_version_info from test_update_data unittest * Removed test_server_deprecated_client test * Restored and renamed _check_version to _check_user_agent * Restored test_server_deprecated_client test * Removed version_lobby from test-data.sql
I would like to drop the table
version_lobby
in the database. The whole version check is sort of pointless today. The database records point to the download of the java client and the minimum version is 0.13.0 which is like 5 years old. Seems like it's completely useless.Both clients have an auto-update mechanism outside of the faf-database.
Related code (didn't check for tests):
server/server/player_service.py
Line 40 in 2932f86
server/server/player_service.py
Lines 259 to 265 in 2932f86
server/server/lobbyconnection.py
Lines 458 to 478 in 2932f86
The text was updated successfully, but these errors were encountered: