docs(migration): RepoLens is done, and what it found #18
No files matched your search
@@ -398,7 +398,7 @@ Qodana CLI scan for any stack; replaces `JetBrains/qodana-action`.
|
||||
- CI on `ubuntu-latest`: install, lint, typecheck, build, test.
|
||||
- Deploy job on `main`: `wrangler deploy` with `CLOUDFLARE_API_TOKEN`/`CLOUDFLARE_ACCOUNT_ID`. Disconnect Cloudflare's GitHub integration for the project (maintainer, dashboard).
|
||||
- Scheduled data refresh jobs (e.g. freeitchgames.win catalog): keep as a scheduled workflow, daily, inside 13:00–16:00 UTC (decided: delays when the PC is off are accepted). Update user-facing text that promises a time (e.g. "updated daily around 20:00–23:00 Vietnam time, may be delayed").
|
||||
- **RepoLens:** its data source was the GitHub API (GraphQL, with the suspended account's token). It moves to the Gitea REST API in its own change after the CI migration: [migration/repolens.md](migration/repolens.md).
|
||||
- **RepoLens:** its data source was the GitHub API (GraphQL, with the suspended account's token). It reads the Gitea REST API anonymously since 2026-11-26 (v1.6.0); what that took is in [migration/repolens.md](migration/repolens.md).
|
||||
|
||||
### 5.4 Chrome extension: WXT + Svelte 5 (BookmarkMagic)
|
||||
- CI on `ubuntu-latest`: build + zip. Store submission stays manual or uses store API secrets (repo-level).
|
||||
@@ -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 | ☐ | ☐ | ☐ | ☐ | n/a | ☐ | proposed |
|
||||
| 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) |
|
||||
| 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) | | | | | | | | |
|
||||
|
||||
@@ -47,7 +47,7 @@ For a repo without a guide, the same prompt works with only the runbook: §3.1 s
|
||||
| `WardSweep` (`E:\wardsweep`) | Rust broker + .NET/WPF UI, Velopack | not started | [wardsweep.md](wardsweep.md) |
|
||||
| `free-steam-games-list` (`E:\2`) | Python data pipeline + SvelteKit on Workers + Tauri + Android | **Done.** Data restored 2026-11-24 (49 GitHub-only data commits pushed, the Worker reads Gitea); migration merged as Gitea #1; v4.8.0 / apps 2.6.0 released to R2 | [free-steam-games-list.md](free-steam-games-list.md) |
|
||||
| `free-games-itchio-list` (`E:\game`) | Python data pipeline + React on Workers + Tauri + Android | **Done.** Catalog restored 2026-11-24 from the live site (+235 games); migration merged as Gitea #1; v4.7.0 released to R2 | [free-games-itchio-list.md](free-games-itchio-list.md) |
|
||||
| `RepoLens` (`E:\repo`) | SvelteKit on Workers, data from the GitHub API | not started; **the site has no data source** | [repolens.md](repolens.md) |
|
||||
| `RepoLens` (`E:\repo`) | SvelteKit on Workers, data from the Gitea API | **Done.** Merged 2026-11-26 (Gitea #2); deployed by the CI `deploy` job, v1.6.0; repository private on Gitea | [repolens.md](repolens.md) |
|
||||
| `CommandForge` (`E:\cmd`) | .NET/WPF, Velopack | **Done.** Merged 2026-11-26 (Gitea #2, #3); v2.3.0 released to R2, the first Velopack app there | [commandforge.md](commandforge.md) |
|
||||
| any repo not listed | — | not inventoried | run the inventory |
|
||||
|
||||
@@ -58,7 +58,7 @@ Every scheduled workflow gets its own slot inside 13:00–16:00 UTC (runbook §3
|
||||
| Slot (UTC) | Days | Repo · workflow | Status |
|
||||
|---|---|---|---|
|
||||
| 13:03 | daily | free-steam-games-list · data-daily | live |
|
||||
| 13:11 | daily | RepoLens · production smoke | proposed |
|
||||
| 13:11 | daily | RepoLens · production smoke | live |
|
||||
| 13:17 | daily | softharbor · quarantine | live |
|
||||
| 13:19 | Fri | jsonPrism · security | proposed |
|
||||
| 13:23 | daily | pipdock · security-scan | proposed |
|
||||
@@ -79,7 +79,7 @@ Every scheduled workflow gets its own slot inside 13:00–16:00 UTC (runbook §3
|
||||
| 14:27 | Mon | WardSweep · dependency audit | proposed |
|
||||
| 14:29 | daily | tilepier · e2e | proposed |
|
||||
| 14:31 | Thu | AppLedger · security | proposed |
|
||||
| 14:33 | Tue | RepoLens · security | proposed |
|
||||
| 14:33 | Tue | RepoLens · security | live |
|
||||
| 14:37 | Mon | ticktune · audit | live |
|
||||
| 14:41 | Fri | frameledger · security | proposed |
|
||||
| 14:43 | Mon | softharbor · link-check | live |
|
||||
|
||||
@@ -2,7 +2,48 @@
|
||||
|
||||
> Written 2026-11-23 against `main` @ `ed91e72` (local clone `E:\repo`, Gitea `poli0981/repolens`). Profile: SvelteKit 3 on one Cloudflare Worker (`repolens.poli0981.dev`), a showcase of the maintainer's repositories read from the GitHub API, with a Cron Trigger (`*/10 * * * *`) that warms the cache. Maintenance mode since v1.5.0. Shared decisions: [README](README.md).
|
||||
|
||||
**The site has no data source.** Every repo it shows 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.
|
||||
**Done 2026-11-26.** The migration merged as Gitea #2 (fast-forward to `35b5926`, 9 commits: CI, Renovate, RL1–RL4,
|
||||
templates, docs), the CI `deploy` job put it live (version `475c73d8`, custom domain and the `*/10` cron applied),
|
||||
and **v1.6.0** followed with the dependency refresh (Gitea #3, #4). The site reads Gitea again: 24 public repos, the
|
||||
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).
|
||||
- **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,
|
||||
`target_url` relative). `GET …/actions/tasks` is anonymous as well.
|
||||
- **No ETag, no rate-limit headers** (`Cache-Control: max-age=0, private` on every answer). RepoLens keeps each
|
||||
sub-resource with a validator instead: the repo's `updated_at` (any push moves it, Renovate's branches included)
|
||||
or the head sha. A quiet list refresh is one request; a cold one 1 + 4 per repo.
|
||||
- **No `pushed_at`:** the default branch's head commit time is the last push. Times carry the committer's offset
|
||||
(`+07:00`): normalise to UTC before comparing ISO strings. Stars and forks are always 0 without registration (hidden),
|
||||
and there are no deployments or language colours.
|
||||
- **Webhook (RL3):** Gitea signs with `X-Gitea-Signature` (hex HMAC-SHA256, no prefix) and also sends GitHub-style
|
||||
headers (read from `services/webhook/deliver.go`). The system webhook form (Site Administration → Integrations →
|
||||
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).
|
||||
- **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).
|
||||
- **Merging in the UI:** "Fast-forward only" keeps the signed commits; a UI merge commit is unsigned. Until #2 merged,
|
||||
`main`'s GitHub-era `maintenance-triage.yml` still ran on the PR (`pull_request_target` reads the base branch).
|
||||
- **Branch protection (D6):** no push, no force push; required `CI / verify (*)`, `CI / e2e (*)`,
|
||||
`Security / npm-audit (*)`, `Reusable / Security / Secrets (gitleaks) (*)`,
|
||||
`Reusable / Security / Dependencies (osv-scanner) (*)`.
|
||||
- **adapter-cloudflare 9** builds through `@cloudflare/vite-plugin` and refuses a `main` in `wrangler.jsonc`: RepoLens's
|
||||
`withScheduled` cron entry needs a redesign before it can move (left on 8.0.3). Other SvelteKit Workers with a
|
||||
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).
|
||||
|
||||
**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.
|
||||
|
||||
## Decided (2026-11-23)
|
||||
|
||||
|
||||
Reference in new issue
Block a user