Documentation
¶
Overview ¶
Command fakegithub serves goapplib's fake GitHub for the browser walk that links a design from a repo (agni issue 1727). The browser suite can't reach GitHub, so the walk's agni serve reads this instead, through --github-api and --github-raw.
Each --commit tag=dir commits dir's files to the repo's main branch, replacing the files before, and tags the commit. So two folders of one board become two tagged revisions, as a repo's history would hold them. --addr serves a small JSON answer once the fake is up, naming the fake's API address, its raw-file address, and each tag's commit:
{"api": "http://127.0.0.1:N", "raw": "http://127.0.0.1:N/raw", "commits": {"1.1.2": "<sha>"}}
make exercise-enterprise runs goapplib's own cmd/fakegithub instead, which serves a seeded GitHub Enterprise Server (agni issue 1841).
It is a test tool, built and started by web/browser/linkdesign.spec.ts, and never shipped.