Expand description
Remote-provider freshness check.
Deploy manifests pull some providers from a git url: into
rbnx-boot/cache/<name>/. Once cloned, that checkout is reused on every
boot/build and never advances on its own — so a teammate can be running
a stale copy of an upstream package without noticing. This module compares
each cloned provider against its remote branch tip and reports how far
behind it is.
rbnx boot and rbnx build call report_outdated (print-only, never
fatal — a missing network must not block a deploy). rbnx update calls
collect_remote_providers + status_of to act on the same data.
Structs§
- Remote
Provider - A remote-backed provider declared in a deploy manifest.
- Remote
Status - How a local checkout compares to its remote branch tip.
Functions§
- collect_
remote_ providers - Parse a deploy manifest and list its
url:providers (cloned or not). - git 🔒
- Run a git command in
dir, returning trimmed stdout on success. - origin_
url 🔒 - report_
outdated - boot/build hook: print a one-line notice for every outdated remote provider plus how to update. Never fails the caller.
- status_
of - Fetch the remote branch and compare it to the local checkout. Best-effort:
network / shallow-history problems surface as a
note, not an error. - target_
branch 🔒 - Resolve the branch to compare against — the manifest’s
branch:or the remote’s default branch (origin/HEAD).