Expand description
rbnx update โ pull remote (url:) providers to their latest upstream
commit. Two modes, both gated on a y/N confirmation after an overview:
- deploy dir (cwd has
robonix_manifest.yaml, or-f <manifest>): update every clonedurl:provider in that deploy. - package dir (
-p <dir>, or cwd is itself a git checkout): update just that one repo.
Equivalent to a git pull (fast-forward) of each checkout. Diverged
checkouts are reported and skipped, never force-reset.
Functionsยง
- execute
- Entry point for
rbnx update [-p <dir>] [-f <manifest>]. - fast_
forward ๐ - Fast-forward
dirto FETCH_HEAD. Returns Ok(false) when it cannot (diverged). - fetch ๐
- Fetch the remote branch tip into FETCH_HEAD (deepened so behind-counts work on the shallow clones boot creates). Returns false when fetch fails.
- git ๐
- Run git in
dir, returning trimmed stdout on success. - prompt_
yes ๐ - update_
deploy ๐ - Update every outdated cloned
url:provider in a deploy manifest. - update_
single ๐ - Update a single package checkout (overview โ confirm โ fast-forward).