pachli-android/tools/mkserverversions
Nik Clayton 5f198b0d90
build: Simplify build infrastructure for command line tools (#613)
Provide a build convention plugin for command line tools, and use
`libs.versions.toml` for command line tool dependencies. Adjust the
individual tool `build.gradle.kts` files accordingly.

Remove unnecessary `gradle.properties` and `settings.gradle` files for
projects that are included as subprojects, not included builds.

Add a trivial test for each command line tool so there are tests to run
and provide some confidence that automated library upgrades don't break
command line tool compilation.
2024-04-15 15:06:55 +02:00
..
src build: Simplify build infrastructure for command line tools (#613) 2024-04-15 15:06:55 +02:00
README.md fix: Improve parsing of Friendica (and other server) version formats (#376) 2024-01-23 20:27:25 +01:00
build.gradle.kts build: Simplify build infrastructure for command line tools (#613) 2024-04-15 15:06:55 +02:00

README.md

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.