chore: 2.3.0 — move to Gitea (CI, R2 releases, links, docs) and dependency refresh #2

Open
poli0981 wants to merge 7 commits from chore/gitea-migration into main
pull from: chore/gitea-migration
Owner

Summary

JSONPrism moves from GitHub (account gone) to Gitea, following the ops runbook (docs/GITEA-MIGRATION.md) and docs/migration/jsonprism.md in poli0981/.github, and ships as 2.3.0.

  • CI (.gitea/workflows/): ci.yml without Sonar (D1), a deploy job (wrangler deploy on pushes to main, D3) followed by production-smoke.yml; release.yml with the Tauri CLI (Windows on the host runner, Linux ubuntu-22.04, Android with the SDK in the job, D10) → R2 via the ops publish-r2.yml → draft Gitea release; no macOS (D9), no attestations (D7); qodana.yml and a new security.yml through the ops reusables; notifiers on ops v2026.11.5. Removed: triage (D2), Pages redirect and Discussions announcement (D11), Dependabot.
  • Supply chain: renovate.json (shared preset + this repo's rules, validated), src-tauri/deny.toml, src-tauri/osv-scanner.toml.
  • Deps: refresh within majors (≥ 3 days old), jest-dom 8; closes the minimatch (GHSA-g3hv-75wg-m249), url (RUSTSEC-2026-0592) and cookie (RUSTSEC-2026-0594) advisories. npm audit: 0; cargo deny check: green.
  • Links: source → Gitea, issues → GitLab mirror, downloads → releases.poli0981.dev, in the app (4 locales), security.txt, metadata and every doc; .gitlab/ issue and MR templates.
  • Release 2.3.0: versions, versionCode 20300, license.rtf, CHANGELOG, THIRD-PARTY, ROADMAP.

Test plan

  • npm run lint, npm run knip, npm run typecheck (TS 7), npm test (948 passed), npm run build, npm run cf:check
  • Prettier on the changed src/ files (LF-normalised)
  • cargo fmt --check, cargo clippy --all-targets --locked -- -D warnings, cargo deny --all-features check
  • renovate-config-validator --strict (Renovate 44.262.2); all workflows parse
  • CI, Security, Qodana on this PR
  • Release dry run (release.yml dispatched on this branch)

AI-assistance disclosure

  • AI-assisted: Claude Code (Opus 5.5) wrote the changes; the maintainer approved the plan.

🤖 Generated with Claude Code

## Summary JSONPrism moves from GitHub (account gone) to Gitea, following the ops runbook (`docs/GITEA-MIGRATION.md`) and `docs/migration/jsonprism.md` in poli0981/.github, and ships as **2.3.0**. - **CI** (`.gitea/workflows/`): `ci.yml` without Sonar (D1), a `deploy` job (`wrangler deploy` on pushes to main, D3) followed by `production-smoke.yml`; `release.yml` with the Tauri CLI (Windows on the host runner, Linux `ubuntu-22.04`, Android with the SDK in the job, D10) → R2 via the ops `publish-r2.yml` → draft Gitea release; no macOS (D9), no attestations (D7); `qodana.yml` and a new `security.yml` through the ops reusables; notifiers on ops v2026.11.5. Removed: triage (D2), Pages redirect and Discussions announcement (D11), Dependabot. - **Supply chain**: `renovate.json` (shared preset + this repo's rules, validated), `src-tauri/deny.toml`, `src-tauri/osv-scanner.toml`. - **Deps**: refresh within majors (≥ 3 days old), jest-dom 8; closes the minimatch (GHSA-g3hv-75wg-m249), `url` (RUSTSEC-2026-0592) and `cookie` (RUSTSEC-2026-0594) advisories. `npm audit`: 0; `cargo deny check`: green. - **Links**: source → Gitea, issues → GitLab mirror, downloads → releases.poli0981.dev, in the app (4 locales), `security.txt`, metadata and every doc; `.gitlab/` issue and MR templates. - **Release 2.3.0**: versions, versionCode 20300, `license.rtf`, CHANGELOG, THIRD-PARTY, ROADMAP. ## Test plan - [x] `npm run lint`, `npm run knip`, `npm run typecheck` (TS 7), `npm test` (948 passed), `npm run build`, `npm run cf:check` - [x] Prettier on the changed `src/` files (LF-normalised) - [x] `cargo fmt --check`, `cargo clippy --all-targets --locked -- -D warnings`, `cargo deny --all-features check` - [x] `renovate-config-validator --strict` (Renovate 44.262.2); all workflows parse - [ ] CI, Security, Qodana on this PR - [ ] Release dry run (`release.yml` dispatched on this branch) ## AI-assistance disclosure - [x] AI-assisted: Claude Code (Opus 5.5) wrote the changes; the maintainer approved the plan. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
poli0981 added 6 commits 2026-11-27 02:09:39 +00:00
The repository now lives on git.poli0981.dev (ops runbook GITEA-MIGRATION.md,
guide docs/migration/jsonprism.md in poli0981/.github).

- .github/workflows -> .gitea/workflows. Runner labels stay (ubuntu-24.04,
  ubuntu-22.04 are labels of the Gitea runner); apt runs without sudo in the
  job containers.
- ci.yml: SonarQube Cloud removed (D1, with sonar-project.properties); the
  coverage/dist artifacts went with it (the rust job builds dist itself).
  New `deploy` job: `wrangler deploy` on pushes to main (D3, Workers Builds
  pulled from GitHub), then `smoke` calls production-smoke.yml with the
  deployed commit. production-smoke.yml is reusable and runs by hand too.
- release.yml: the Tauri CLI instead of tauri-action; Windows (MSI + NSIS) on
  the host runner, Linux in ubuntu-22.04, Android with the SDK installed in
  the job (D10), APK signature checked with apksigner. SHA256SUMS.txt and
  everything else to R2 (releases.poli0981.dev/jsonprism/<version>/, plus
  jsonprism-latest.apk) through the ops publish-r2.yml, then a draft Gitea
  release with the links. No macOS (D9), no attestations (D7).
- qodana.yml: two callers of the ops reusable-qodana.yml (TS native, Rust in
  Docker Desktop on the host runner); src-tauri/qodana.yaml gets the dhi.io
  apt pin, the 25-minute timeout and leaves type/borrow checks to rustc.
- security.yml (new): actionlint + shellcheck and zizmor on the Gitea
  workflows, and the ops security.yml (gitleaks, Opengrep, osv-scanner,
  cargo-deny), weekly on Friday 13:19 UTC.
- Discord notifiers pinned to ops v2026.11.5 with ops_ref.
- Removed: maintenance-triage.yml (D2), pages-redirect.yml with
  .github/pages-redirect/ and announce-discussion.yml (D11), dependabot.yml
  (Renovate replaces it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- renovate.json extends the shared preset (local>poli0981/renovate-config)
  with this repository's rules, carried over from dependabot.yml and the
  sibling Tauri repos: majors wait for the Dependency Dashboard and land per
  family; Tauri's npm packages and crates in one PR; vitest with its
  coverage plugin; the TypeScript 6 alias stays below 6.1, the TypeScript
  aliases, @types/node, Node and the JDK are bumped by hand; runner labels,
  glib 0.18 and the generated Gradle project are left alone (the last one
  documents why Kotlin's CVE-2026-53914 fix waits for Tauri's template).
  Validated with renovate-config-validator --strict (Renovate 44.262.2).
- src-tauri/deny.toml for cargo-deny: advisories (unmaintained scoped to
  direct dependencies), permissive licences, crates.io only.
- src-tauri/osv-scanner.toml: the six Tauri-stack advisories nobody fixes
  yet (glib 0.18, proc-macro-error, the zbus crates, chrono), each with a
  reason and an expiry date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every update is at least three days old (the shared Renovate preset's
release age); younger releases stay at their previous version.

- npm: Tauri 2.12.5/2.12.6, i18next 27.2.6, react-router 8.5.2, vitest 5.1.1,
  wrangler 4.167.0, knip, lucide-react, axe-core and other patches.
  typescript-eslint 8.74.0 moves to minimatch ^11, which closes
  GHSA-g3hv-75wg-m249 (moderate, dev-only), open since 2.1.1:
  `npm audit` reports 0 vulnerabilities.
- @testing-library/jest-dom 8 (major, tests only): the suite passes as is.
- Cargo: tauri 2.12.7, url 2.5.9 (RUSTSEC-2026-0592) and cookie 0.18.3
  (RUSTSEC-2026-0594); `cargo deny check` is green. Crates younger than three
  days (wry, the toml crates, zlib-rs, …) are held back with --precise.
- deny.toml: ISC is not used by any crate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The GitHub account is gone, so every in-app link to it was dead.

- links.ts: REPO_URL is https://git.poli0981.dev/poli0981/jsonPrism; legal
  documents pin to /src/commit/<sha>/ (or /src/branch/main/ without a
  commit); new ISSUES_URL (GitLab mirror), RELEASES_URL, AUTHOR_URL.
- About: "Report a bug" opens the GitLab mirror; Discussions and GitHub
  Sponsors are gone (no Discussions on Gitea, the Sponsors account went
  with GitHub); the donate list now follows README "Support".
- Header: the repository button is "Source code" with a branch icon
  (nav.github -> nav.source in all four locales); GithubIcon is unused.
- Footer: the maintainer link opens the Gitea profile.
- Locale text names git.poli0981.dev and the GitLab mirror instead of
  GitHub (en, vi, ja, zh-CN; key parity kept).
- security.txt: e-mail only (GitHub's private advisories no longer exist),
  policy link on Gitea. package.json and Cargo.toml metadata likewise.
- .github/FUNDING.yml is GitHub-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- README (+vi): Gitea badges (CI, Security, Qodana; the SonarQube badge
  is gone), a "Where things live" section, downloads from
  releases.poli0981.dev through the Gitea release notes, no macOS build
  since 2.2.1, SHA256SUMS without GitHub attestations, contributions via
  the GitLab mirror or patches by e-mail, sponsorship without GitHub
  Sponsors.
- CONTRIBUTING: where to contribute (Gitea read-only, GitLab mirror for
  issues and merge requests, `git format-patch` to code@), Renovate
  instead of Dependabot, manual out-of-scope triage, GitLab issue
  templates, Discord for ideas, the CI deploy job.
- SECURITY: e-mail only (GitHub's private advisories are gone), releases
  on R2 with SHA256SUMS. security.txt changed with the app links.
- TERMS (+vi) section 2 and 9, PRIVACY (+vi) one new row, CODE_OF_CONDUCT:
  GitLab's policies instead of GitHub's, downloads served by Cloudflare R2.
  Not a material change (the website collects nothing new), so
  CONSENT_VERSION stays.
- DEPLOYMENT: Forge and CI, the deploy job, production smoke after it,
  security scans and Qodana on Gitea, the release flow to R2 with the
  manual announcement, the Gitea secrets; the Workers Builds, GitHub Pages
  and SonarQube sections are gone. TAURI-NOTES and ROADMAP likewise.
- MAINTAINERS, DISCLAIMER, ACCESSIBILITY (+vi), dev_env (+vi), LICENSE's
  copyright line: the forge profile and the GitLab mirror.
- CLAUDE.md: a "Forge & CI" section; CI, deploy and release paths.
- Issue templates: GitHub links fixed in .github/ (Gitea reads them);
  config.yml points to the GitLab mirror, e-mail for security and
  Discord. .gitlab/issue_templates (Bug, Accessibility, Converter request,
  Translation) and .gitlab/merge_request_templates/Default.md for the
  mirror.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore(release): 2.3.0
CI / Web · lint, typecheck, test, build (pull_request) Successful in 49s
CI / Deploy · Cloudflare Workers (pull_request) Skipped
CI / Production smoke (pull_request) Skipped
CI / Tauri · fmt, clippy (pull_request) Successful in 2m6s
Qodana / tokens (pull_request) Successful in 6s
Security / workflow-lint (pull_request) Successful in 31s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Failing after 10s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 23s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 17s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 1m33s
Security / scan (pull_request) Failing after 2m25s
Maintenance triage / Close out-of-scope requests (pull_request_target) Successful in 2s
Qodana / typescript (pull_request) Canceled after 0s
Qodana / rust (pull_request) Canceled after 0s
Reusable / Qodana / Qodana (pull_request) Canceled after 0s
addbb393e7
- package.json / package-lock.json, src-tauri/Cargo.toml / Cargo.lock: 2.3.0;
  bundle.android.versionCode 20300.
- src-tauri/license.rtf: the documents at the v2.3.0 tag on Gitea.
- CHANGELOG 2.3.0: the move to Gitea, R2 downloads, no macOS build, the
  dependency refresh and the new CI.
- THIRD-PARTY.md: "JSONPrism 2.3.0" and the lockfile versions.
- ROADMAP and CLAUDE.md: current release 2.3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 added 1 commit 2026-11-27 02:21:09 +00:00
ci(security): gitleaks may skip the public Web Analytics token
CI / Web · lint, typecheck, test, build (pull_request) Successful in 57s
CI / Deploy · Cloudflare Workers (pull_request) Skipped
CI / Production smoke (pull_request) Skipped
CI / Tauri · fmt, clippy (pull_request) Successful in 2m51s
Qodana / tokens (pull_request) Successful in 2s
Qodana / typescript (pull_request) Blocked by required conditions
Qodana / rust (pull_request) Blocked by required conditions
Reusable / Qodana / Qodana (pull_request) Waiting to run
Security / workflow-lint (pull_request) Successful in 30s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 10s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 22s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 16s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 38s
Security / scan (pull_request) Successful in 1m27s
686760fc46
The first full-history scan on Gitea found one "generic-api-key": the
Cloudflare Web Analytics beacon token in src/lib/analytics.ts (532b5cf),
which every page that loads the beacon carries and which grants nothing.
.gitleaksignore lists its fingerprint, as youtube-generator does for the
same token. osv-scanner, cargo-deny and Opengrep passed as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Some checks are pending
CI / Web · lint, typecheck, test, build (pull_request) Successful in 57s
CI / Deploy · Cloudflare Workers (pull_request) Skipped
CI / Production smoke (pull_request) Skipped
CI / Tauri · fmt, clippy (pull_request) Successful in 2m51s
Qodana / tokens (pull_request) Successful in 2s
Qodana / typescript (pull_request) Blocked by required conditions
Qodana / rust (pull_request) Blocked by required conditions
Reusable / Qodana / Qodana (pull_request) Waiting to run
Security / workflow-lint (pull_request) Successful in 30s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 10s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 22s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 16s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 38s
Security / scan (pull_request) Successful in 1m27s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin chore/gitea-migration:chore/gitea-migration
git checkout chore/gitea-migration
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: poli0981/jsonPrism#2