fakegithub

command
v0.11.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL