Documentation
¶
Overview ¶
Command pagesbuildcampaign rolls the pagesbuild step (go-redfish/docs#11) out to docs repositories: one small pull request per repository, merged on green. It drives the tools this machine already trusts rather than reimplementing them: agentsync (claims), git, gitpush (the push, with no token on a command line), gh (pull request, checks, rate limit) and ghmerge.
Per repository: claim it (a repository another session holds is SKIPPED, never waited on), clone it under --workdir/<org>-docs-pagesbuild, check the clone is the tip of main, branch, run pagesbuildadd's edit, commit, push, open the pull request. Waves of --wave repositories: the pull requests of a wave are opened first, then each is watched and merged only if green; the campaign pauses between waves and stops when the REST core budget is below --min-core. Every outcome is appended to --state, and a re-run skips what finished (merged, already, refused-shape).
Outcomes: merged, already, skipped-claimed, refused-shape, failed-ci, unobserved (the checks were never seen to finish; PR left open), failed.