Files
hearth/nixos/system/hectic-lab/wowmine.md
T

66 lines
2.5 KiB
Markdown

# wowmine pack publishing
Retired on 2026-11-20. Website, downloads, publishing and map serving now live
on neuro at `https://wowmine.bfs.band:8443/`. The old hectic-lab paths have no
redirects. Use `../../../docs/minecraft-prism.md` for current publishing and
updater instructions. Commands below describe the historical deployment;
do not run them on hectic-lab.
The public endpoint is `https://store.hectic-lab.com/minecraft/wowmine/`. Nix
deploys only its landing page and nginx configuration. Pack files, the checksum
manifest, and `latest.mrpack` stay under `/var/www/store/minecraft/wowmine` on the
host and never enter Git or the Nix store.
The wowmine rename and `v15-wowmine` release are planned. No new release hash
or deployment success is established here. The auto-updating Prism ZIP is
`wowmine-Prism.zip`, suggested as `wowmine.zip`; its updater reads
`current/pack.toml`. See `../../../docs/minecraft-prism.md` for publication.
Old public paths are compatibility redirects for installed clients only.
## Publish an uploaded manual pack
Run these commands on `hectic-lab` as root after the Storage Box pack has
already been uploaded to a local staging path. Pick a stable version name; do
not replace an existing versioned release.
```sh
set -eu
source_pack=/path/to/already-uploaded/wowmine-v15-wowmine.mrpack
: "${source_sha256:?Set the independently verified source SHA-256}"
version=v15-wowmine
root=/var/www/store/minecraft/wowmine
release_name="wowmine-${version}.mrpack"
release_path="$root/releases/$release_name"
printf '%s %s\n' \
"$source_sha256" \
"$source_pack" | sha256sum --check --status
test ! -e "$release_path"
install -o root -g nginx -m 0640 "$source_pack" "$release_path.new"
mv -T "$release_path.new" "$release_path"
manifest="$root/.SHA256SUMS.$$"
(cd "$root/releases" && sha256sum -- *.mrpack) > "$manifest"
chown root:nginx "$manifest"
chmod 0640 "$manifest"
mv -Tf "$manifest" "$root/SHA256SUMS"
latest="$root/.latest.mrpack.$$"
ln -s "releases/$release_name" "$latest"
mv -Tf "$latest" "$root/latest.mrpack"
```
Versioned releases use a one-year immutable cache policy. `latest.mrpack` and
`SHA256SUMS` disable caching so an atomic replacement becomes visible quickly.
The manifest is available at
`https://store.hectic-lab.com/minecraft/wowmine/SHA256SUMS`.
Import the current pack in Prism Launcher with:
```text
prismlauncher://import?url=https%3A%2F%2Fstore.hectic-lab.com%2Fminecraft%2Fwowmine%2Flatest.mrpack
```
Direct URL imports do not auto-update. Repeat the publication and import steps
for each new pack version.