Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
versions.jsoncontains information about the MariaDB versions available in this repo (and therefore also on Docker Hub).It was inspired by PHP's
versions.json, but was adapted to better fit MariaDB's needs. The information inversions.jsonis currently scattered across the repo and often just accessible by humans, e.g. right now it's impossible to reliably determine the latest full version of containerized MariaDB 10.5 programmatically. The only way is to either fiddle around withsedon the Dockerfile, or to build the container.This PR also fixes some issues with
jqinupdate.sh. The previous jq script to determine the MariaDB version of a given milestone (mariaversion()function) was a bit weird (recursively searching for a.release_idkey even caused myjqto exit with a non-zero status code, causingupdate.shto fail; the REST API response has a known structure), so I replaced it. I also switched tojq -r(enabling raw output), so that Bash doesn't have to remove the quotes first. See a57a46c.versions.jsonis managed by./update.sh, see cb3db38. There's no need to edit this file manually (even when adding/removing milestones), just run./update.sh. If you pass arguments toupdate.sh, it will update the entries of the given versions inversions.jsononly. See b72beb4 for an example.{ "11.1": { "milestone": "11.1", "version": "11.1.1", "fullVersion": "1:11.1.1+maria~ubu2204", "releaseStatus": "RC", "supportType": "Short Term Support", "base": "ubuntu:jammy", "arches": [ "amd64", "arm64v8", "ppc64le", "s390x" ] }, "11.0": { "milestone": "11.0", "version": "11.0.2", "fullVersion": "1:11.0.2+maria~ubu2204", "releaseStatus": "Stable", "supportType": "Short Term Support", "base": "ubuntu:jammy", "arches": [ "amd64", "arm64v8", "ppc64le", "s390x" ] }, "10.11": { "milestone": "10.11", "version": "10.11.4", "fullVersion": "1:10.11.4+maria~ubu2204", "releaseStatus": "Stable", "supportType": "Long Term Support", "base": "ubuntu:jammy", "arches": [ "amd64", "arm64v8", "ppc64le", "s390x" ] }, "10.10": { "milestone": "10.10", "version": "10.10.5", "fullVersion": "1:10.10.5+maria~ubu2204", "releaseStatus": "Stable", "supportType": "Short Term Support", "base": "ubuntu:jammy", "arches": [ "amd64", "arm64v8", "ppc64le", "s390x" ] }, "10.9": { "milestone": "10.9", "version": "10.9.7", "fullVersion": "1:10.9.7+maria~ubu2204", "releaseStatus": "Stable", "supportType": "Short Term Support", "base": "ubuntu:jammy", "arches": [ "amd64", "arm64v8", "ppc64le", "s390x" ] }, "10.6": { "milestone": "10.6", "version": "10.6.14", "fullVersion": "1:10.6.14+maria~ubu2004", "releaseStatus": "Stable", "supportType": "Long Term Support", "base": "ubuntu:focal", "arches": [ "amd64", "arm64v8", "ppc64le", "s390x" ] }, "10.5": { "milestone": "10.5", "version": "10.5.21", "fullVersion": "1:10.5.21+maria~ubu2004", "releaseStatus": "Stable", "supportType": "Long Term Support", "base": "ubuntu:focal", "arches": [ "amd64", "arm64v8", "ppc64le", "s390x" ] }, "10.4": { "milestone": "10.4", "version": "10.4.30", "fullVersion": "1:10.4.30+maria~ubu2004", "releaseStatus": "Stable", "supportType": "Long Term Support", "base": "ubuntu:focal", "arches": [ "amd64", "arm64v8", "ppc64le" ] }, "11.2": { "milestone": "11.2", "version": "11.2.0", "fullVersion": "1:11.2.0+maria~ubu2204", "releaseStatus": "Alpha", "supportType": "Unknown", "base": "ubuntu:jammy", "arches": [ "amd64", "arm64v8", "ppc64le", "s390x" ] } }