hanabi: pin the saves art URLs to a commit #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hanabi/pin-art-urls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Forgejo caches branch raw URLs. After committing the wooden table top, the raw endpoint kept serving the previous image long enough to look like the commit had not landed — the file was in git,
git showconfirmed it, and the URL returned the old one.A save is also a snapshot. Art moving under an already-published save is a mod that changes without anyone touching it.
So the save gets
/raw/commit/<sha>/URLs pinned to whatever commit last touchedgames/hanabi/art. Sources keepbranch/mainso a hand-pasted script still fetches something; the substitution applies only to the copy embedded in the save, covering both the LuaART_BASEand the matImageURL.Verified: pinned URLs return 200 and the mat hash matches local, where the branch URL was still returning the superseded image.