Skip to main content

Module check_remotes

Module check_remotes 

Source
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§

RemoteProvider
A remote-backed provider declared in a deploy manifest.
RemoteStatus
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).