ci: move youtube-generator to Gitea — workflows, links, docs #2

Merged
poli0981 merged 12 commits from chore/gitea-migration into main 2026-11-25 17:58:33 +00:00
Owner

The GitHub account is suspended, so the repository, its CI, its releases and every link in the app move to Gitea (git.poli0981.dev), the GitLab mirror and releases.poli0981.dev — following the ops runbook (poli0981/.github → docs/GITEA-MIGRATION.md) and this repo's migration guide (docs/migration/youtube-generator.md).

What changes

  • CI → .gitea/workflows/ (pins as in the migrated repos; ops calls at v2026.11.4 c133a00 + ops_ref):
    • ci.yml: same gates; new deploy job on pushes to main (wrangler deploy, then waits for the new entry chunk on ytgenerator.stream) — Workers Builds is gone (D3).
    • compliance.yml: reuse from a hash-locked .github/requirements-ci.txt; PR title checked in bash from the payload.
    • security.yml: actionlint + shellcheck (pinned binaries) and zizmor (offline) on .gitea/workflows, plus the ops scan (gitleaks, Opengrep, osv-scanner, cargo-deny). Weekly Wed 13:37 UTC. Exceptions for the Tauri-stack advisories nobody fixes yet in src-tauri/osv-scanner.toml + deny.toml, and the dev-only minimatch one until the dependency PR right after this.
    • rust.yml: weekly Mon 15:53 UTC; cargo-deny moved to the scan.
    • qodana.yml: two callers of the ops reusable-qodana.yml; qodana-rust in Docker Desktop with the dhi.io apt pin and a 25-minute project timeout.
    • release.yml (replaces the two release workflows): Windows (host) + Linux (ubuntu-22.04) + universal APK → SHA256SUMS → R2 releases.poli0981.dev/youtube-generator/<version>/ + youtube-generator-latest.apk → draft Gitea release. No macOS (D9). A dispatch without a tag is a dry run.
    • announce / notify: ops callers. Removed: maintenance-triage (D2), pages-migration (D11), Dependabot, FUNDING.
  • SonarCloud dropped (D1). Renovate (renovate.json) replaces Dependabot, with this repo's rules (majors via the Dependency Dashboard, Tauri JS + Rust together, i18next < 26.7, TS aliases and runtimes by hand, glib and Tauri's Gradle template left alone). migration-page/ removed.
  • App links (fix(about)): source → Gitea, issues and "Report a bug" → GitLab mirror (Bug template), Wiki / Discussions / GitHub Sponsors gone; strings in all 8 locales + _schema.json; legal pages, security.txt, index.html and the link card follow.
  • Docs: README (Where things live, Download), CONTRIBUTING, SECURITY (e-mail only), MAINTAINERS, NOTICE, TERMS + PRIVACY (Effective 2026-11-25; not material → consent stays v2), ACCESSIBILITY (+vi), DISCLAIMER (+vi), docs/*, CLAUDE.md; GitLab issue + MR templates in .gitlab/.

Verified locally

typecheck, typecheck:all, lint, format:check, validate:locales, test:coverage (55 files, 1156 tests), knip, check:version / tauri / licenses / copyright, build + check:bundle (initial load 279.5 / 280 KB), cf:check; actionlint 1.7.12 with .github/actionlint.yaml, zizmor 1.32.0 offline (no findings); renovate-config-validator --strict.

Needs the maintainer

  • Repo secret ANDROID_KEYSTORE_BASE64 (from ytdescgen-release.jks) before the release dry run.
  • User-level R2_RELEASES_*, R2_ACCOUNT_ID (variable), CLOUDFLARE_API_TOKEN / CLOUDFLARE_ACCOUNT_ID — used by publish and deploy.
  • Cloudflare: Workers Builds' Git connection for youtube-generator off. Branch protection on main after this runs.

🤖 Generated with Claude Code

The GitHub account is suspended, so the repository, its CI, its releases and every link in the app move to Gitea (git.poli0981.dev), the GitLab mirror and releases.poli0981.dev — following the ops runbook (`poli0981/.github` → `docs/GITEA-MIGRATION.md`) and this repo's migration guide (`docs/migration/youtube-generator.md`). ## What changes - **CI → `.gitea/workflows/`** (pins as in the migrated repos; ops calls at **v2026.11.4** `c133a00` + `ops_ref`): - `ci.yml`: same gates; new `deploy` job on pushes to `main` (`wrangler deploy`, then waits for the new entry chunk on ytgenerator.stream) — Workers Builds is gone (D3). - `compliance.yml`: `reuse` from a hash-locked `.github/requirements-ci.txt`; PR title checked in bash from the payload. - `security.yml`: actionlint + shellcheck (pinned binaries) and zizmor (offline) on `.gitea/workflows`, plus the ops scan (gitleaks, Opengrep, osv-scanner, cargo-deny). Weekly Wed 13:37 UTC. Exceptions for the Tauri-stack advisories nobody fixes yet in `src-tauri/osv-scanner.toml` + `deny.toml`, and the dev-only minimatch one until the dependency PR right after this. - `rust.yml`: weekly Mon 15:53 UTC; cargo-deny moved to the scan. - `qodana.yml`: two callers of the ops `reusable-qodana.yml`; qodana-rust in Docker Desktop with the dhi.io apt pin and a 25-minute project timeout. - `release.yml` (replaces the two release workflows): Windows (host) + Linux (`ubuntu-22.04`) + universal APK → `SHA256SUMS` → R2 `releases.poli0981.dev/youtube-generator/<version>/` + `youtube-generator-latest.apk` → draft Gitea release. No macOS (D9). A dispatch without a tag is a dry run. - announce / notify: ops callers. Removed: maintenance-triage (D2), pages-migration (D11), Dependabot, FUNDING. - **SonarCloud dropped** (D1). **Renovate** (`renovate.json`) replaces Dependabot, with this repo's rules (majors via the Dependency Dashboard, Tauri JS + Rust together, i18next < 26.7, TS aliases and runtimes by hand, glib and Tauri's Gradle template left alone). **`migration-page/` removed.** - **App links** (`fix(about)`): source → Gitea, issues and "Report a bug" → GitLab mirror (Bug template), Wiki / Discussions / GitHub Sponsors gone; strings in all 8 locales + `_schema.json`; legal pages, security.txt, index.html and the link card follow. - **Docs**: README (Where things live, Download), CONTRIBUTING, SECURITY (e-mail only), MAINTAINERS, NOTICE, TERMS + PRIVACY (Effective 2026-11-25; not material → consent stays v2), ACCESSIBILITY (+vi), DISCLAIMER (+vi), docs/*, CLAUDE.md; GitLab issue + MR templates in `.gitlab/`. ## Verified locally typecheck, typecheck:all, lint, format:check, validate:locales, test:coverage (55 files, 1156 tests), knip, check:version / tauri / licenses / copyright, build + check:bundle (initial load 279.5 / 280 KB), cf:check; actionlint 1.7.12 with `.github/actionlint.yaml`, zizmor 1.32.0 offline (no findings); `renovate-config-validator --strict`. ## Needs the maintainer - Repo secret `ANDROID_KEYSTORE_BASE64` (from `ytdescgen-release.jks`) before the release dry run. - User-level `R2_RELEASES_*`, `R2_ACCOUNT_ID` (variable), `CLOUDFLARE_API_TOKEN` / `CLOUDFLARE_ACCOUNT_ID` — used by `publish` and `deploy`. - Cloudflare: Workers Builds' Git connection for `youtube-generator` off. Branch protection on `main` after this runs. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
poli0981 added 6 commits 2026-11-25 14:23:55 +00:00
The GitHub account is suspended; the repository lives on Gitea now
(git.poli0981.dev). Following the ops runbook (poli0981/.github,
docs/GITEA-MIGRATION.md) and this repo's migration guide:

- .github/workflows → .gitea/workflows. Every action pinned by SHA (the
  pins of the migrated repos), every call into the ops repo pinned at
  ops v2026.11.4 (c133a00) with the matching ops_ref.
- ci.yml: the same gates; SonarCloud's coverage upload goes. A new
  `deploy` job (push to main, after `check`) runs `wrangler deploy` and
  waits for the new entry chunk on ytgenerator.stream — Workers Builds
  pulled from GitHub and is gone (decision D3).
- compliance.yml: reuse from a hash-locked requirements file; the PR
  title is checked in bash from the event payload (no GitHub API).
- security.yml: actionlint + shellcheck (pinned binaries) and zizmor
  (offline) on .gitea/workflows, plus the ops security.yml (gitleaks,
  Opengrep, osv-scanner, cargo-deny). Weekly Wed 13:37 UTC. Dependency
  review and Scorecard go (D7). Exceptions for the advisories no Tauri
  release fixes yet in src-tauri/osv-scanner.toml + deny.toml, and the
  dev-only minimatch one until the next dependency update.
- rust.yml: weekly Mon 15:53 UTC; its cargo-deny job moves to the ops scan.
- qodana.yml: two callers of the ops reusable-qodana.yml; qodana-rust in
  Docker Desktop on the runner PC, with the dhi.io pin, a 25-minute
  project timeout and the generate_context!() exclusions.
- release.yml replaces release-desktop.yml + release-android.yml: Windows
  (host), Linux (ubuntu-22.04) and the universal APK → SHA256SUMS → R2
  (releases.poli0981.dev/youtube-generator/<version>/) → a draft Gitea
  release. No macOS (D9). A dispatch without a tag is a dry run.
- announce-release / notify-*: ops callers; the GitHub Discussion link goes.
- Removed: maintenance-triage.yml (D2), pages-migration.yml (D11),
  dependabot.yml (Renovate next), FUNDING.yml (GitHub only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SonarQube Cloud is dropped in every repository with the move to Gitea
(ops decision D1): its project settings file, the LCOV report only it
read, the coverage-scope note that kept vitest and Sonar in step, and a
NOSONAR marker. Qodana, Opengrep and the coverage thresholds stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dependabot was GitHub's. renovate.json extends the shared preset
(local>poli0981/renovate-config: non-majors grouped, OSV security PRs,
3-day release age, actions pinned by digest) and carries this repo's
rules from the old dependabot.yml: majors wait on the Dependency
Dashboard, Tauri's npm packages and crates move together, Vitest as a
group, i18next held below 26.7 for the bundle budget, the TypeScript
aliases' majors and the runtimes by hand, glib 0.18 left to Tauri, and
Tauri's generated Gradle project left alone. Checked with
renovate-config-validator --strict (Renovate 44.258.1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
migration-page/ was the notice the old poli0981.github.io address served
until 2026-11-29 (issue #177), with its own backup hand-off. The site
went with the suspended GitHub account, and so did pages-migration.yml
(D11): the page, its test and its Qodana exclusion go. The docs follow
in the docs commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every repository link in the app went to github.com, which answers for
nothing since the account was suspended:

- About: the source button and row open the Gitea repository; the
  author row the Gitea profile; a new row opens the issues on the GitLab
  mirror, which takes the place of Discussions (gone, decision D11).
  The Wiki row and the command palette's "Open the wiki" go: the wiki
  stayed on GitHub (D7). GitHub Sponsors leaves the donate list.
- "Report a bug" (header, sidebar, error page, palette) opens a new
  issue on the GitLab mirror with the Bug template.
- Strings: about.repoLabel reads "Source code (Gitea)",
  about.discussionsLabel becomes about.issuesLabel, and wikiLabel,
  donate.githubSponsors and command.wiki go — in all 8 locales and
  _schema.json.
- The public legal pages link other repository files on Gitea, and their
  footer names it; security.txt keeps the e-mail contact only (GitHub's
  advisory form is gone); index.html's licence URL follows, and its
  JSON-LD and the link-preview card no longer list macOS (no new builds).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: the repository lives on Gitea; issues on the GitLab mirror
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
CI / check (pull_request) Successful in 1m13s
CI / deploy (pull_request) Skipped
Compliance / reuse (pull_request) Successful in 25s
Compliance / pr-title (pull_request) Successful in 3s
Qodana / tokens (pull_request) Successful in 3s
Rust / lint-and-test (pull_request) Successful in 2m47s
Security / workflow-lint (pull_request) Successful in 30s
Reusable / Security / Secrets (gitleaks) (pull_request) Failing after 45s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 31s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Failing after 24s
Reusable / Security / Rust (cargo-deny) (pull_request) Failing after 42s
Security / scan (pull_request) Failing after 2m23s
Maintenance triage / Close out-of-scope requests (pull_request_target) Successful in 3s
Qodana / typescript (pull_request) Successful in 2m53s
Qodana / rust (pull_request) Canceled after 55s
Reusable / Qodana / Qodana (pull_request) Canceled after 55s
b0d901cf9f
The doc suite follows the move (ops runbook §3.4):

- README: Gitea badges, a "Where things live" note (Gitea canonical,
  GitLab mirror for issues and merge requests, releases.poli0981.dev for
  downloads, code@ / security@ by e-mail), a Download section with the
  release file names, no macOS after 1.6.0, the wiki row gone.
- CONTRIBUTING: where things live, merge requests on GitLab, patches by
  e-mail, CI on Gitea Actions, Renovate, out-of-scope items closed by hand.
  SECURITY: reports by e-mail only, never as a GitLab issue; scope names
  the new release host and .gitea/workflows. MAINTAINERS and NOTICE name
  the Gitea profile.
- TERMS and PRIVACY (Effective 2026-11-25): the apps come from the Gitea
  releases page and releases.poli0981.dev (Cloudflare R2, named in the
  privacy policy); GitHub Pages' moving notice and GitHub's terms go.
  Not a material change — no new data, one processor fewer — so the
  consent version stays 2. ACCESSIBILITY (+vi): reports on GitLab,
  macOS up to 1.6.0. DISCLAIMER (+vi): .gitea/workflows.
- docs/: HOSTING (deploy job, Workers Builds disconnected), PACKAGING
  (release.yml, R2 file names, no macOS), DEVELOPMENT (+vi), TECH-SPEC
  (the CI section), ARCHITECTURE, FEATURES, ROADMAP, I18N.
- CLAUDE.md: Forge & CI, security scanning, Renovate, the new release
  process; SonarCloud, Workers Builds, Dependabot and the triage workflow
  go.
- .gitlab/: the four issue forms as Markdown templates (Bug,
  Accessibility, Option request, Translation) and the merge request
  template. The .github forms stay for Gitea, with their links fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 added 3 commits 2026-11-25 16:14:29 +00:00
gitleaks (the ops security scan, full history) reads the Cloudflare Web
Analytics beacon token in build-plugins/web-only.ts and its test as a
generic API key. The token is public by design — every page of the site
carries it — and grants nothing, so both fingerprints go into
.gitleaksignore, described in words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first cargo-deny run on Gitea met none of the six Tauri-stack
advisories (warning advisory-not-detected): deny.toml already scopes
unsound and unmaintained advisories to direct dependencies. They stay
listed, with reasons and expiry dates, where they are reported — in
src-tauri/osv-scanner.toml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(deps): take the fixed releases of six crates the scans flag
CI / check (pull_request) Successful in 1m20s
CI / deploy (pull_request) Skipped
Compliance / reuse (pull_request) Successful in 29s
Compliance / pr-title (pull_request) Successful in 2s
Rust / lint-and-test (pull_request) Successful in 3m2s
Security / workflow-lint (pull_request) Successful in 25s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 20s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 24s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 19s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 37s
Security / scan (pull_request) Successful in 1m40s
Qodana / tokens (pull_request) Successful in 2s
Qodana / typescript (pull_request) Successful in 3m1s
Qodana / rust (pull_request) Failing after 35s
Reusable / Qodana / Qodana (pull_request) Failing after 35s
fe9b540d70
The first osv-scanner and cargo-deny runs on Gitea found six RustSec
advisories in Cargo.lock that a patch release already fixes:

- url 2.5.8 → 2.5.9 (RUSTSEC-2026-0592: stack overflow in Url::origin()
  on nested blob: URLs; with form_urlencoded 1.2.3)
- cookie 0.18.1 → 0.18.3 (RUSTSEC-2026-0594: private cookie nonces can
  repeat in processes that fork)
- tokio 1.51.0 → 1.51.6 (RUSTSEC-2026-0386)
- rustix 1.1.4 → 1.1.6 (RUSTSEC-2026-0486)
- event-listener 5.4.1 → 5.4.2 (RUSTSEC-2026-0221)
- anyhow 1.0.102 → 1.0.103 (RUSTSEC-2026-0190)

Each with `cargo update -p <crate> --precise`; nothing else moved.
cargo clippy -D warnings and cargo test pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 added 1 commit 2026-11-25 16:40:24 +00:00
ci(qodana): keep the dhi.io pin on one line
CI / check (pull_request) Successful in 1m15s
CI / deploy (pull_request) Skipped
Compliance / reuse (pull_request) Successful in 21s
Compliance / pr-title (pull_request) Successful in 2s
Qodana / tokens (pull_request) Successful in 4s
Rust / lint-and-test (pull_request) Successful in 3m50s
Security / workflow-lint (pull_request) Successful in 24s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 11s
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 29s
Security / scan (pull_request) Successful in 1m21s
Qodana / typescript (pull_request) Successful in 3m7s
Qodana / rust (pull_request) Failing after 16m1s
Reusable / Qodana / Qodana (pull_request) Failing after 16m1s
45ba6bb3da
The bootstrap's printf lost its \n escapes on the way into
src-tauri/qodana.yaml, so the pin spread over four lines and the YAML no
longer parsed ("could not find expected ':'"): Qodana for Rust stopped
before the analysis. The line is back to the one free-games-itchio-list
runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 added 1 commit 2026-11-25 17:12:46 +00:00
ci(qodana): leave type and borrow checking to rustc
CI / check (pull_request) Successful in 1m15s
CI / deploy (pull_request) Skipped
Compliance / pr-title (pull_request) Canceled after 0s
Qodana / tokens (pull_request) Canceled after 0s
Qodana / typescript (pull_request) Canceled after 0s
Qodana / rust (pull_request) Canceled after 0s
Rust / lint-and-test (pull_request) Canceled after 0s
Security / workflow-lint (pull_request) Canceled after 0s
Reusable / Security / Rust (cargo-deny) (pull_request) Canceled after 0s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Canceled after 0s
Reusable / Security / SAST (Opengrep) (pull_request) Canceled after 0s
Reusable / Security / Secrets (gitleaks) (pull_request) Canceled after 0s
Security / scan (pull_request) Canceled after 0s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Compliance / reuse (pull_request) Canceled after 18s
9998e171d1
With its bootstrap fixed, Qodana for Rust (2026.3 Early Access, the
image the ops workflow pulls) analysed the shell and reported 9
critical problems that rustc and clippy -D warnings do not have:
`20 * 1024 * 1024` in a u64 const read as a Duration (E0308), a
`file.metadata()` borrow before `file.take()` read as a use after move
(E0382), a usize in a test read as a toml_parser Span, and unresolved
paths in the macro expansions. RsTypeCheck, RsBorrowChecker and
RsUnresolvedPath are the linter's re-implementation of the compiler;
rust.yml already builds the crate with rustc, so they go for the whole
project, with the reason in src-tauri/qodana.yaml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 added 1 commit 2026-11-25 17:25:15 +00:00
ci(release): install the cargo Tauri CLI for the Android build
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
CI / check (pull_request) Successful in 1m16s
CI / deploy (pull_request) Skipped
Qodana / tokens (pull_request) Successful in 2s
Rust / lint-and-test (pull_request) Successful in 4m47s
Security / workflow-lint (pull_request) Successful in 23s
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 11s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 22s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 17s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 29s
Security / scan (pull_request) Successful in 1m21s
Compliance / reuse (pull_request) Successful in 20s
Compliance / pr-title (pull_request) Successful in 1s
Qodana / typescript (pull_request) Successful in 3m18s
Qodana / rust (pull_request) Successful in 15m28s
Reusable / Qodana / Qodana (pull_request) Successful in 15m28s
9d6fb06163
The dry run's Android job failed in Gradle with "no such command:
`tauri`": the committed project (src-tauri/gen/android) builds the Rust
side through `cargo tauri android android-studio-script`, so the cargo
CLI has to be on PATH, as the GitHub workflow had it. The job installs
tauri-cli at exactly the npm CLI's version from package.json and builds
with `cargo tauri android build --apk`; the README, FEATURES and
PACKAGING say the same again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 merged commit 6c0614d720 into main 2026-11-25 17:58:33 +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/youtube-generator#2