The maintainer removed SonarQube Cloud (D1) and asked the agent to decide the rest. D2-D11 take the defaults the guides assumed. New: D12 runtime writes go through the Gitea contents API as poli0981-bot, D13 runtime reads use Gitea without a token, D14 public bug reports open issues on the GitLab mirror, D15 a second, Docker-only runner registration takes the long data jobs, D16 a data commit dispatches the deploy where the site bundles its data. Every guide's open questions become a Decided section; the runbook's open items 5-8 are resolved and nothing is left open. The index lists all 21 repos with a suggested order, the cron registry grows to 43 slots, and a short list of one-time maintainer steps (GPG key on Gitea, the bot user, the second runner, the GitLab token, Workers Builds, the announcement). The content submodule is migrated with poli0981-dev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MnPQKxkPgL2sb8BqwHKv5k
4.0 KiB
bookmarkmagic — migration guide
Written 2026-11-23 against
main@acad57a. Profile: browser extension (WXT + Svelte 5) for Chrome, Edge and Firefox, store submissions from CI (runbook §5.4). Its docs/12 describes the CI. Shared decisions: README.
Decided (2026-11-23)
- D2: the triage workflow goes. D6: branch protection requires "Quality gates" and "Build + package / build".
- BM1 — where users download the zip: R2 under
releases.poli0981.dev/bookmarkmagic/<version>/plus a Gitea release with links; the stores stay the main channel.
Workflows (.github/workflows → .gitea/workflows)
| File | Today | Do |
|---|---|---|
ci.yml |
caller of poli0981/.github/.github/workflows/reusable-chrome-extension.yml@main + local quality job; actions/checkout@v7, setup-node@v7 unpinned |
Caller → poli0981/.github/.gitea/workflows/reusable-chrome-extension.yml@<ops-sha> # ops v2026.11.N; pin the local job's actions |
codeql.yml |
caller of reusable-codeql.yml@main (that path is gone: the ops repo's workflows now live in .gitea/workflows), cron 0 14 * * 1 |
Delete → security.yml caller (node: true), cron 59 14 * * 0 |
notify-ci-failure.yml |
caller of notify-ci-failure.yml@main, gated by variable DISCORD_CI_NOTIFY |
Path .gitea/workflows/…@<ops-sha>, with: { default_branch: main, ops_ref: <ops-sha> }; keep the gate (the reusable requires the webhook secret) |
qodana.yml |
qodana-action + SARIF to code scanning (GITHUB_TOKEN), cron 0 15 * * 1 |
Caller of reusable-qodana.yml: package-manager as the repo uses, prepare-command for WXT's generated types (e.g. npx wxt prepare), cron 41 15 * * 1. The SARIF upload goes |
release.yml |
build + gates + zip + SHA256SUMS.txt; gh release create/upload with secrets.GITHUB_TOKEN; store jobs (CWS, Edge, AMO) re-download SHA256SUMS.txt from the GitHub release; announce via announce-release.yml@main |
Keep the job split and the store jobs. Hand the zip and SHA256SUMS.txt to the store jobs as a Gitea artifact instead of gh release download. Publish them to R2 with publish-r2.yml (app: bookmarkmagic, versioned dir <version>/, no feed) and make the Gitea release with gitea-release-action (links only). Announce: caller path + SHA, map RELEASES_WEBHOOK/REPO_WEBHOOK to the reusable's DISCORD_RELEASES_WEBHOOK/DISCORD_REPO_WEBHOOK. Store and R2 secrets stay in tag-push jobs only (rule 10) |
sonarcloud.yml |
SonarCloud, upstream artifact actions | Delete (D1) |
triage.yml |
issues + pull_request_target, gh + scripts/triage.mjs |
Delete with the script and its tests (D2) |
.github/dependabot.yml → delete; add renovate.json. .github/FUNDING.yml is GitHub-only: keep it inert or remove it with its README mention.
Links and docs
README.md (12), package.json (3: repository, bugs, homepage), .github/ISSUE_TEMPLATE/ (feature_request.yml 3, config.yml 2, accessibility.yml, bug_report.yml), ACCESSIBILITY.md (2), CONTRIBUTING.md (2), and the store listings store/listing.{en,ja,ro,vi,zh_CN}.md (support/source links: issues → GitLab, source → Gitea, kept in parity across the five languages; they ship with the next store update). The manifest's homepage_url (WXT config). CHANGELOG.md keeps its history. SECURITY.md: GitHub advisories → security@poli0981.dev (already documented). Add GitLab issue/MR templates (runbook §3.4).
Secrets and variables
Keep (repo): CHROME_EXTENSION_ID, CHROME_PUBLISHER_ID, CHROME_SERVICE_ACCOUNT_CLIENT_EMAIL, CHROME_SERVICE_ACCOUNT_PRIVATE_KEY, EDGE_API_KEY, EDGE_CLIENT_ID, EDGE_PRODUCT_ID, FIREFOX_EXTENSION_ID, FIREFOX_JWT_ISSUER, FIREFOX_JWT_SECRET, QODANA_TOKEN, DISCORD_CI_WEBHOOK, RELEASES_WEBHOOK, REPO_WEBHOOK. Variables to recreate on Gitea: AMO_AUTOPUBLISH, CWS_AUTOPUBLISH, EDGE_AUTOPUBLISH, DISCORD_ANNOUNCE, DISCORD_CI_NOTIFY. Create (user level): R2 keys + R2_ACCOUNT_ID. Drop: SONAR_TOKEN, the explicit GITHUB_TOKEN use.