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
6 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 8e0d581809 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
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>
2026-11-24 12:20:14 +07:00
poli0981andClaude Opus 5.5 f404c6eaab 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
- 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>
2026-11-24 12:09:09 +07:00
poli0981andClaude Opus 5.5 455d4829a2 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
- 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>
2026-11-24 11:55:38 +07:00
poli0981andClaude Opus 5.5 b2f82a8aa6 docs: where the project lives now — Gitea, the GitLab mirror, e-mail
- 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>
2026-11-24 11:49:20 +07:00
poli0981andClaude Opus 5.5 8fd801b1a8 feat(site): source on Gitea, issues and bug reports on the GitLab mirror
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>
2026-11-24 11:47:19 +07:00
poli0981andClaude Opus 5.5 a0867d804c ci: move the workflows to Gitea Actions (D38)
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>
2026-11-24 11:44:00 +07:00