chore: move the repository to Gitea (D38) #1

Merged
poli0981 merged 6 commits from chore/gitea-migration into main 2026-11-24 05:29:58 +00:00
Owner

The GitHub account is suspended, so nothing in .github/workflows runs, Workers Builds (which pulled from GitHub) stopped deploying, and the site linked a dead repository. This follows the runbook (poli0981/.github docs/GITEA-MIGRATION.md §3) and docs/migration/softharbor.md.

Commits

  • ci: move the workflows to Gitea Actions (D38) — .gitea/workflows, SHA pins, per-job permissions; ci.yml drops Sonar, uses the Gitea artifact action and the pinned osv-scanner binary, gains record (statuses for dispatched runs) and deploy (wrangler deploy on pushes to main, waits for production); CodeQL → ops security.yml; Qodana → ops reusable-qodana.yml; notify → ops announce-release.yml with ops_ref; quarantine / vt-recheck / link-check through the new scripts/gitea.mjs; crons 13:17, 13:59, Mon 14:43, Tue 15:37 UTC; Renovate replaces Dependabot; .gitea/CODEOWNERS. Ops pinned at v2026.11.2 (8e6582a).
  • feat(site): source on Gitea, issues and bug reports on the GitLab mirror — src/lib/forge.ts; Report a bug → prefilled GitLab issue (BUDGET 5000 re-measured on gitlab.com: 8000 ok, 12000 → 400); footer, Contact, legal pages, /api/apps.json attribution, security.txt. Privacy + Third-party name GitLab → LEGAL_VERSION 2026-11-24 (the gate asks again).
  • docs: where the project lives now — README, CONTRIBUTING, SECURITY (e-mail only), ACCESSIBILITY, LICENSE-DATA, issue forms, .gitlab/ templates.
  • docs: the suite on Gitea — D38, docs/12 rewritten, CLAUDE.md "Forge & CI", docs 00–16 synced.

Checked locally

pnpm lint && pnpm check && pnpm coverage && pnpm build && pnpm knip && pnpm e2e — all green (470 unit tests, coverage 96.5 / 87.2 / 95.8 / 97.6, 150 e2e). No github.com/poli0981 left outside history; every cron inside 13:00–16:00 UTC.

Needs pilot verification (first runs on this repo)

The artifact action, osv-scanner in gates, the ops Qodana/security callers, gitleaks (a .gitleaksignore may be needed for public identifiers), the deploy job, and the bots' push + PR + dispatch + record path.

🤖 Generated with Claude Code

The GitHub account is suspended, so nothing in `.github/workflows` runs, Workers Builds (which pulled from GitHub) stopped deploying, and the site linked a dead repository. This follows the runbook (`poli0981/.github` `docs/GITEA-MIGRATION.md` §3) and `docs/migration/softharbor.md`. ## Commits - **ci: move the workflows to Gitea Actions (D38)** — `.gitea/workflows`, SHA pins, per-job permissions; `ci.yml` drops Sonar, uses the Gitea artifact action and the pinned osv-scanner binary, gains `record` (statuses for dispatched runs) and `deploy` (`wrangler deploy` on pushes to `main`, waits for production); CodeQL → ops `security.yml`; Qodana → ops `reusable-qodana.yml`; notify → ops `announce-release.yml` with `ops_ref`; quarantine / vt-recheck / link-check through the new `scripts/gitea.mjs`; crons 13:17, 13:59, Mon 14:43, Tue 15:37 UTC; Renovate replaces Dependabot; `.gitea/CODEOWNERS`. Ops pinned at v2026.11.2 (`8e6582a`). - **feat(site): source on Gitea, issues and bug reports on the GitLab mirror** — `src/lib/forge.ts`; Report a bug → prefilled GitLab issue (BUDGET 5000 re-measured on gitlab.com: 8000 ok, 12000 → 400); footer, Contact, legal pages, `/api/apps.json` attribution, security.txt. Privacy + Third-party name GitLab → `LEGAL_VERSION` 2026-11-24 (the gate asks again). - **docs: where the project lives now** — README, CONTRIBUTING, SECURITY (e-mail only), ACCESSIBILITY, LICENSE-DATA, issue forms, `.gitlab/` templates. - **docs: the suite on Gitea** — D38, docs/12 rewritten, CLAUDE.md "Forge & CI", docs 00–16 synced. ## Checked locally `pnpm lint && pnpm check && pnpm coverage && pnpm build && pnpm knip && pnpm e2e` — all green (470 unit tests, coverage 96.5 / 87.2 / 95.8 / 97.6, 150 e2e). No `github.com/poli0981` left outside history; every cron inside 13:00–16:00 UTC. ## Needs pilot verification (first runs on this repo) The artifact action, osv-scanner in `gates`, the ops Qodana/security callers, gitleaks (a `.gitleaksignore` may be needed for public identifiers), the `deploy` job, and the bots' push + PR + dispatch + `record` path. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
poli0981 added 4 commits 2026-11-24 04:58:42 +00:00
The GitHub account is suspended, so nothing in .github/workflows runs and
Workers Builds, which pulled from GitHub, has stopped deploying. Following the
runbook (poli0981/.github docs/GITEA-MIGRATION.md §3) and its softharbor guide:

- Workflows live in .gitea/workflows, every action pinned to a SHA, explicit
  per-job permissions; the ops callers pin poli0981/.github v2026.11.2.
- ci.yml: SonarQube Cloud goes (D1); the Playwright report uses the Gitea
  artifact action; OSV in `gates` is the pinned osv-scanner binary; a new
  `deploy` job runs `wrangler deploy` on pushes to main and waits until
  production serves the build; a `record` job writes the dispatched run's
  build/gates results as commit statuses, which Gitea 28.4 does not.
- CodeQL → the ops security.yml (gitleaks, Opengrep, osv-scanner), Tuesday
  15:37 UTC. qodana.yml → the ops reusable-qodana.yml (Qodana CLI).
- quarantine, vt-recheck and link-check talk to Gitea through the new
  scripts/gitea.mjs (PRs, dispatches, issues, statuses) instead of gh and
  create-pull-request; their crons move into the runner's 13:00–16:00 UTC
  window (13:17, 13:59, Monday 14:43). vt-recheck previews print their diff.
- Renovate (renovate.json, the shared preset) replaces Dependabot; Gitea
  reads CODEOWNERS from .gitea/ with regular-expression patterns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
github.com/poli0981/softharbor went with the suspended account, so every
link the site carried there was dead (D38):

- src/lib/forge.ts holds the addresses: the source on Gitea
  (git.poli0981.dev), issues on the GitLab push mirror, which is where the
  public can file them.
- "Report a bug" opens a new issue on GitLab, prefilled with a Markdown
  report laid out like .gitlab/issue_templates/Bug.md (GitLab has no issue
  forms to prefill field by field). The 5000-character budget stays:
  gitlab.com took 8000 cleanly and refused 12000 on 2026-11-24.
- Footer (source, releases, LICENSE-DATA), Contact, the Accessibility
  Statement, Disclaimer, Trademarks and Terms link Gitea / GitLab; the
  /api/apps.json attribution names the Gitea repository; security.txt drops
  GitHub's advisory form and points its Policy at Gitea.
- Privacy Policy and Third-party: GitLab, not GitHub, receives the prefilled
  report. A material change to the Privacy Policy, so LEGAL_VERSION moves to
  2026-11-24 and the legal gate asks everyone again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- README: Gitea Actions badges and a Gitea release badge (CodeQL and
  SonarQube Cloud are gone), a "Where things live" section, the current
  counts (375 apps, 11 unverified), acknowledgements without dead GitHub
  issue links.
- CONTRIBUTING: canonical source on Gitea (read-only for outsiders), issues
  and merge requests on the GitLab mirror where no CI runs, patches by
  e-mail; Renovate instead of Dependabot.
- SECURITY: e-mail to security@ is the only private channel now that
  GitHub's private vulnerability reporting is gone.
- ACCESSIBILITY, LICENSE-DATA (the attribution names the Gitea repository),
  the issue forms Gitea still reads, and their GitLab counterparts in
  .gitlab/issue_templates/ plus a merge-request template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: the suite on Gitea — D38, CI/CD rewritten, every GitHub-era claim synced
Reusable / Security / Rust (cargo-deny) (pull_request) Skipped
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
CI / build (pull_request) Successful in 3m11s
CI / gates (pull_request) Successful in 1m0s
CI / record (pull_request) Skipped
CI / deploy (pull_request) Skipped
Reusable / Qodana / Qodana (pull_request) Failing after 3m8s
Qodana / qodana (pull_request) Failing after 3m8s
Reusable / Security / Secrets (gitleaks) (pull_request) Failing after 11s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 24s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 16s
Security / security (pull_request) Failing after 52s
455d4829a2
- D38 in docs/15 (and docs/00 §5): the forge move, what replaced
  Dependabot, CodeQL, SonarQube Cloud, Workers Builds and the ruleset, and
  what the site changed; D29 marked superseded. The blank line that cut the
  decision table after D31 (D32–D37 rendered as plain text) is gone.
- docs/12 rewritten for Gitea Actions: the runner and its window, the two
  Gitea facts the bots work around (job-token events start nothing; a
  dispatched run writes no status), the deploy job, scripts/gitea.mjs,
  Renovate, the GitLab templates, branch protection.
- CLAUDE.md gains "Forge & CI"; hard rule 1 says Gitea Actions; deploy,
  Dependabot and the doc map follow.
- docs/01, 02, 03, 05 (§A6 — the GitLab report and the 2026-11-24 length
  probe), 06, 08 (§A4), 09 (security.txt, supply chain, signed commits,
  the GitLab processor row), 10, 11 (S3), 13 (verify after merge, tagging
  and publishing the Gitea release by hand), 14, 16.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 added 1 commit 2026-11-24 05:09:39 +00:00
fix(ci): what the first Gitea runs found — Qodana and gitleaks
CI / build (pull_request) Successful in 3m34s
CI / gates (pull_request) Successful in 1m11s
CI / record (pull_request) Skipped
CI / deploy (pull_request) Skipped
Reusable / Qodana / Qodana (pull_request) Successful in 3m16s
Qodana / qodana (pull_request) Successful in 3m16s
Reusable / Security / Secrets (gitleaks) (pull_request) Failing after 12s
Reusable / Security / Rust (cargo-deny) (pull_request) Skipped
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 28s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 20s
Security / security (pull_request) Failing after 1m2s
f404c6eaab
- scripts/gitea.mjs: argument and environment checks return their error
  instead of throwing into main's own catch (Qodana: "Exception used for
  local control-flow", two High findings); a command table holds the
  arities.
- .gitleaksignore: the SonarQube Cloud project key in
  sonar-project.properties' history is a public identifier, not a secret
  (gitleaks generic-api-key).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 added 1 commit 2026-11-24 05:20:55 +00:00
fix(ci): .gitleaksignore describes the Sonar key instead of quoting it
CI / build (pull_request) Successful in 3m18s
CI / gates (pull_request) Successful in 59s
CI / record (pull_request) Skipped
CI / deploy (pull_request) Skipped
Reusable / Qodana / Qodana (pull_request) Successful in 2m56s
Qodana / qodana (pull_request) Successful in 2m56s
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 10s
Reusable / Security / Rust (cargo-deny) (pull_request) Skipped
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 27s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 16s
Security / security (pull_request) Successful in 55s
8e0d581809
Its first version quoted the key in a comment, which gitleaks flagged in turn (generic-api-key, .gitleaksignore:6); that commit's finding is listed too, since the history keeps it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 merged commit 981e625ca1 into main 2026-11-24 05:29:58 +00:00
poli0981 deleted branch chore/gitea-migration 2026-11-24 05:29:58 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: poli0981/softharbor#1