You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accept a comma-separated list of manifest repository names.
Update only the selected repositories.
Preserve manifest order in both text and JSON output.
Validate the selection before any Git operation:
reject empty names and names not present in the manifest;
reject duplicate names.
Keep the current all-repositories behavior when --repos is omitted.
Preserve the existing required/optional and containment safety behavior for selected repositories.
--format json
Keep text as the default output format.
Emit exactly one JSON document to stdout and diagnostics only to stderr.
Use a versioned document with schema_version: 1.
Include workspace and manifest metadata, whether this was a dry run, the selected repositories, per-repository results, and aggregate counts.
Per-repository records should expose the existing result semantics: repository name, path, required status, action, status, detail when available, and Git exit code when available.
Represent dry-run work as planned without invoking Git.
Context
The core
basectl workspace updatecommand is already implemented and was previously closed as completed. It currently:git pull --ff-onlyfor present repositories;--dry-run;planned,updated,unchanged,skipped, andfailedresults in text.This issue is reopened for the remaining targeting and automation enhancements.
Goal
Add two complementary capabilities to
basectl workspace update:--repos;--format json.Proposed interface
Requirements
--repos--reposis omitted.--format jsonschema_version: 1.plannedwithout invoking Git.Acceptance criteria
--repos <name[,name...]>filters updates without changing the default behavior.--format jsonemits the documented versioned schema.Non-goals
git pull --ff-onlystrategy.Those behaviors can be proposed separately if needed after this focused enhancement is shipped.