Documentation
¶
Overview ¶
Package version holds the build version in one place so both the CLI (`panda version`) and the web panel (/api/version) report the same value. Release builds override it via -ldflags:
-X github.com/Xustalis/OpenPanda/internal/version.Version=$(VERSION)
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Codename = "Rendezvous"
Codename is the release line's thematic name — v0.0.11 is "Rendezvous", the orbital meeting: sibling tasks exchange notes mid-flight on the message board, delegated hops relay contexts and artifacts up the chain, and agent work meets an undo point instead of drifting past one. (The alpha/beta line ran as "Periapsis", but that name already belongs to v0.0.9.) Surfaced by `panda version` and /api/version; not part of the semver itself.
var ReleasePubKey = "a84a556bd45ee7743437d7b9b0c4f6e0df34c496f639b5a045d5de484f128560"
ReleasePubKey is the Ed25519 public key (hex or base64) the self-update path trusts to sign checksums.txt. The compiled-in default below is the official OpenPanda release channel's key, so every build — release or a plain `make build` — verifies checksums.txt.sig out of the box instead of failing closed on a missing key. Release packaging can rotate the baked value via -ldflags (scripts/package.sh derives it from OPENPANDA_RELEASE_KEY):
-X github.com/Xustalis/OpenPanda/internal/version.ReleasePubKey=<hex>
An operator running a self-hosted channel (OPENPANDA_UPDATE_REPO) repoints verification at their own key with OPENPANDA_UPDATE_PUBKEY, or skips signature verification entirely with OPENPANDA_UPDATE_UNSIGNED=1 — the env knobs always win over the baked default (updateEnvOptions). An empty key with no opt-out refuses downloads outright.
var Version = "0.0.11"
Version is the semantic version of this build, and the default for a build that does not go through release packaging.
It tracks the newest tag on main — currently v0.0.11 — so ad-hoc builds identify themselves with the branch's latest published lineage.
Functions ¶
Types ¶
This section is empty.