docs(migration): RepoLens's private mirror, report token and webhook #19

Merged
poli0981 merged 1 commits from docs/repolens-mirror-token into main 2026-11-27 02:30:24 +00:00
2 changed files with 16 additions and 7 deletions

No files matched your search

+1 -1
View File
@@ -487,7 +487,7 @@ None (2026-11-23). A new question goes into [`migration/README.md`](migration/RE
| WardSweep | rust + dotnet | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| free-steam-games-list | data + web + tauri | ☑ merged 2026-11-24 (Gitea #1) | ☑ | ☑ | ☑ | ☑ v4.8.0 / apps 2.6.0 on R2 | ☐ | `3 13 * * *` (data-daily), `49 15 * * 2` (security) |
| free-games-itchio-list | data + web + tauri | ☑ merged 2026-11-25 (Gitea #1) | ☑ | ☑ | ☑ | ☑ v4.7.0 on R2 | ☑ | `27 13 * * *` (update), `49 13 * * *` (refresh), `1 15 * * 3` (security) |
| RepoLens | web | ☑ merged 2026-11-26 (Gitea #2) | ☑ | ☑ | ☑ | ☑ v1.6.0 deployed by the CI `deploy` job | n/a (private) | `11 13 * * *` (smoke), `33 14 * * 2` (security) |
| RepoLens | web | ☑ merged 2026-11-26 (Gitea #2) | ☑ | ☑ | ☑ | ☑ v1.6.0 deployed by the CI `deploy` job | ☑ private (2026-11-27) | `11 13 * * *` (smoke), `33 14 * * 2` (security) |
| content | content (submodule of poli0981-dev) | ☑ main on Gitea 2026-11-24 | n/a | n/a | n/a | n/a | ☑ | none |
| CommandForge | dotnet | ☑ merged 2026-11-26 (Gitea #2, #3) | ☑ | ☑ | ☑ | ☑ v2.3.0 on R2 (`vpk upload s3`), Gitea release by CI | ☑ | `11 14 * * 5` (security) |
| any repo not listed (not inventoried) | | | | | | | | |
+15 -6
View File
@@ -8,8 +8,10 @@ and **v1.6.0** followed with the dependency refresh (Gitea #3, #4). The site rea
production smoke 7/7. Renovate's onboarding PR #1 was closed (#2 adds `renovate.json`). What the move found:
- **The repository went private on Gitea** (the owner's choice: `LICENSE` carries an internal relicensing note that
must not be public). It is not mirrored to GitLab; outside contributions arrive by e-mail. Renovate and the runner
keep working (`renovate-bot` is a collaborator).
must not be public). Outside contributions arrive by e-mail. Renovate and the runner keep working (`renovate-bot`
is a collaborator). **Its GitLab push mirror** (added 2026-11-27, also where the confidential bug reports land) was
created **public**, which exposed the private source and that note; it was switched to private the same day. For a
private Gitea repo, check the mirror's visibility right after creating it.
- **Anonymous reads (D13) settled the VERIFY items:** `GET /repos/{o}/{r}/licenses` answers (the list and repo objects
carry `licenses` too, which can include `README`); `GET …/actions/runs` answers 401 without a token, so the build
badge reads the head commit's statuses (`GET …/commits/{sha}/status`, anonymous, one per job, latest per context,
@@ -25,7 +27,13 @@ production smoke 7/7. Renovate's onboarding PR #1 was closed (#2 adds `renovate.
Webhooks → System Webhooks) names the events Create, Delete, Push, Repository, Release, **Statuses** and
**Workflow Run**. Gitea sends no ping, rename, transfer or visibility events.
- **Bug reports (RL2, D14):** `GITLAB_TOKEN_ISSUES` is optional on purpose: without it the endpoint answers 503 and the
dialog offers `code@` (no deploy waits on a GitLab token).
dialog offers `code@` (no deploy waits on a GitLab token). The token set on 2026-11-26 has the **Guest** role: GitLab
files a Guest's confidential issue but silently drops its labels, so Reporter is the role to pick. It **expires
2027-11-26** (RepoLens docs/11 §H).
- **System webhook (live 2026-11-27, admin hook #1):** system hooks have no Test Delivery button, so the first real
events checked it (`npx wrangler tail repolens --format json --search webhook`): a push and two commit statuses of
free-games-itchio-list answered `202`, refreshed the list and the detail in ~2.5 s with 13 requests, and the burst's
later deliveries rode along.
- **e2e in the job container:** binding `wrangler dev` and Playwright to `127.0.0.1` (runbook §6) was enough; chromium
and webkit both ran. One PR's CI took ~10 minutes on the single runner (verify 55 s, e2e 2 min 44 s, Qodana
2 min 48 s).
@@ -39,9 +47,10 @@ production smoke 7/7. Renovate's onboarding PR #1 was closed (#2 adds `renovate.
Cron Trigger will meet the same wall.
- **On the PC:** GPG signing failed with "sending fd … to keyboxd" until `gpgconf --kill keyboxd` of **Gpg4win** (git's
`gpg.program`), not Git Bash's `gpgconf`.
- **Left to the maintainer:** the GitLab project + `GITLAB_TOKEN_ISSUES`, the system webhook + `GITEA_WEBHOOK_SECRET`,
deleting the dead `GITHUB_*` Worker secrets, disconnecting Workers Builds, Qodana Cloud's VCS URL, and every
repo's description/website/topics on Gitea (all empty after the import; RepoLens shows them once set).
- **Done by the maintainer by 2026-11-27:** the GitLab project + `GITLAB_TOKEN_ISSUES`, the system webhook +
`GITEA_WEBHOOK_SECRET`, the dead `GITHUB_*` Worker secrets deleted. **Still open:** disconnecting Workers Builds,
Qodana Cloud's VCS URL, and every repo's description/website/topics on Gitea (all empty after the import; RepoLens
shows them once set).
**Before the move:** the site had no data source. Every repo it showed came from GitHub's GraphQL API with `GITHUB_TOKEN_READ`, a token of the suspended account; bug reports opened GitHub issues with `GITHUB_TOKEN_ISSUES`; the webhook was GitHub's. Restoring it is a website incident, which maintenance mode takes.