src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-10-26 20:03:14 -0500
committerLuke Hoersten <[email protected]>2026-10-26 20:03:14 -0500
commitfd6eed0829c82790fed84e9b2c72af993c8739d7 (patch)
tree6ee0357d1b31558e19c748e78c66afe45f445c11
parent9e1e71d661c9c3df5eaa6b1ce5f0704e470fe96f (diff)
version-check: cover minecraft's deps and the build/server duplicates
minecraft/server was missed in the original sweep since its lookup comments didn't match the github releases/tags pattern; paper, dynmap, and geyser now get the same marker. Also add markers to the three build/server (or /otp) duplicate version vars (bin, dendrite, pleroma), which were intentionally skipped before since they mirror their build role's version rather than pinning an independent upstream check. Point them at the build role's file instead of a URL so one grep still finds every instance; documented in the README alongside the existing URL form.
-rw-r--r--README.md10
-rw-r--r--bin/server/defaults/main.yaml1
-rw-r--r--dendrite/server/defaults/main.yaml1
-rw-r--r--minecraft/server/defaults/main.yaml6
-rw-r--r--pleroma/otp/defaults/main.yaml1
5 files changed, 16 insertions, 3 deletions
diff --git a/README.md b/README.md
index 86189fd..579a4cc 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,16 @@ confirmed:
relayer_version: "2.3.1"
```
+Some roles are split into a `build` role (compiles/downloads the pinned version) and a consuming
+role (`server`/`otp`) that downloads the resulting artifact at the same version from the build
+server. The consuming role's copy of the variable isn't an independent upstream pin, so its marker
+points at the build role's file instead of a URL:
+
+```yaml
+# version-check: must match bin_version in bin/build/defaults/main.yaml
+bin_version: "2.0.2"
+```
+
Find every instance across the repo with:
```sh
diff --git a/bin/server/defaults/main.yaml b/bin/server/defaults/main.yaml
index 0d03a95..b7b81f3 100644
--- a/bin/server/defaults/main.yaml
+++ b/bin/server/defaults/main.yaml
@@ -1,5 +1,6 @@
---
+# version-check: must match bin_version in bin/build/defaults/main.yaml
bin_version: "2.0.2"
bin_user: "pastebin"
bin_port: 8820
diff --git a/dendrite/server/defaults/main.yaml b/dendrite/server/defaults/main.yaml
index d4d58ff..1cdfbfa 100644
--- a/dendrite/server/defaults/main.yaml
+++ b/dendrite/server/defaults/main.yaml
@@ -1,5 +1,6 @@
---
+# version-check: must match dendrite_version in dendrite/build/defaults/main.yaml
dendrite_version: "0.15.2"
dendrite_user: "dendrite"
dendrite_old_key: false
diff --git a/minecraft/server/defaults/main.yaml b/minecraft/server/defaults/main.yaml
index 687de45..2552e8e 100644
--- a/minecraft/server/defaults/main.yaml
+++ b/minecraft/server/defaults/main.yaml
@@ -10,8 +10,8 @@ minecraft_whitelist: "true"
minecraft_view_distance: "10"
minecraft_world_name: "world"
minecraft_dir: "{{minecraft_parent_dir}}/minecraft/{{minecraft_world_name}}"
-# https://papermc.io/downloads/paper
# paper is a spigot derivative
+# version-check: https://papermc.io/downloads/paper
minecraft_paper_version: "1.21.11"
minecraft_paper_build: "69"
@@ -20,11 +20,11 @@ minecreat_plugins_enabled:
# - "geyser"
# https://www.reddit.com/r/Dynmap/
-# http://dynmap.us/builds/dynmap/?C=M;O=D
+# version-check: http://dynmap.us/builds/dynmap/?C=M;O=D
minecraft_dynmap_version: "3.8"
minecraft_dynmap_url: "http://dynmap.us/builds/dynmap/Dynmap-{{minecraft_dynmap_version}}-spigot.jar"
# https://geysermc.org
-# https://ci.opencollab.dev/job/GeyserMC/view/default/builds
+# version-check: https://ci.opencollab.dev/job/GeyserMC/view/default/builds
minecraft_geyser_version: "1538"
minecraft_geyser_url: "https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/master/{{minecraft_geyser_version}}/artifact/bootstrap/spigot/build/libs/Geyser-Spigot.jar"
diff --git a/pleroma/otp/defaults/main.yaml b/pleroma/otp/defaults/main.yaml
index 7f3b8de..7dbef57 100644
--- a/pleroma/otp/defaults/main.yaml
+++ b/pleroma/otp/defaults/main.yaml
@@ -27,6 +27,7 @@ pleroma_db: "pleroma_{{pleroma_instance}}"
pleroma_db_user: "pleroma_{{pleroma_instance}}"
pleroma_data_dir: "/var/lib/pleroma/instance_data"
+# version-check: must match pleroma_version in pleroma/build/defaults/main.yaml
pleroma_version: "2.11.0"
pleroma_download_url: "http://{{build_server_host}}:{{build_server_port}}/pleroma-{{pleroma_version}}.tar.gz"

☐