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

refactor(model): add ReleaseMetadata container #627

Merged
merged 4 commits into from
Feb 16, 2021

Conversation

skaldarnar
Copy link
Member

@skaldarnar skaldarnar commented Feb 16, 2021

The determination whether we are starting a LWJGL v2 or v3 game in ApplicationController fails with a NumberFormatException as the version string of the game release is no longer a plain build number. Therefore, the comment in https://github.com/MovingBlocks/TerasologyLauncher/blob/master/src/main/java/org/terasology/launcher/ui/ApplicationController.java#L341-L352 became more important.

I've decided to move this flag to the GameRelease, and implement the determination in the repository adapters (I think this works until we have better identifiers/versions for the game packages itself).

(The new logic is not used yet, but only activated in #628. In hindsight, I should have done only the refactoring first, then added the determination logic plus tests, and only then switch to the new code...)

@skaldarnar skaldarnar changed the title refactor(model): add ReleaseMetadata container for metadata (timestamp, changelog, ...) refactor(model): add ReleaseMetadata container Feb 16, 2021
@skaldarnar skaldarnar added Topic: Tests/QA Testing and quality assurance topics. Type: Maintenance Maintenance or chores not adding new features or fixing bugs. labels Feb 16, 2021
@jdrueckert jdrueckert merged commit 47df617 into master Feb 16, 2021
@jdrueckert jdrueckert deleted the refactor/release-metadata branch February 16, 2021 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Tests/QA Testing and quality assurance topics. Type: Maintenance Maintenance or chores not adding new features or fixing bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants