pachli-android/tools/mkserverversions
2024-03-21 17:10:55 +01:00
..
src/main
build.gradle.kts fix(deps): update dependency com.apollographql.apollo3 to v3.8.3 (#558) 2024-03-21 17:10:55 +01:00
README.md
settings.gradle.kts

mkserverversions

Synopsis

mkserverversions creates a JSON5 file that maps different Fediverse server names to a list of the different version strings seen for those servers, as recorded by Fediverse Observer.

This is used as input data for core/network/ServerTest, to ensure that the version parsing code can handle real-world version strings.

Run mkserverversions every month to update the test data, and update the parsing code if any of the tests fail.

Usage

From the parent directory, run:

./runtools mkserverversions

Verify the modifications made to server-versions.json5, re-run the tests, and commit the result.