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
12 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 9d6fb06163 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
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>
2026-11-26 00:25:10 +07:00
poli0981andClaude Opus 5.5 9998e171d1 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
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>
2026-11-26 00:12:41 +07:00
poli0981andClaude Opus 5.5 45ba6bb3da 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
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>
2026-11-25 23:40:18 +07:00
poli0981andClaude Opus 5.5 fe9b540d70 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
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>
2026-11-25 23:06:30 +07:00
poli0981andClaude Opus 5.5 4386d6014c ci(security): keep cargo-deny's ignore list empty
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>
2026-11-25 23:06:30 +07:00
poli0981andClaude Opus 5.5 0249c10257 ci(security): let gitleaks pass the public analytics token
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>
2026-11-25 23:03:57 +07:00
poli0981andClaude Opus 5.5 b0d901cf9f 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
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>
2026-11-25 21:22:53 +07:00
poli0981andClaude Opus 5.5 257fb6b7d8 fix(about): point the app's links at Gitea and the GitLab mirror
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>
2026-11-25 21:14:51 +07:00
poli0981andClaude Opus 5.5 7223a8c5ff chore: remove the GitHub Pages moving notice
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>
2026-11-25 21:13:02 +07:00
poli0981andClaude Opus 5.5 de04ce4da3 chore(renovate): let the shared Renovate maintain the dependencies
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>
2026-11-25 21:12:56 +07:00
poli0981andClaude Opus 5.5 f116df0d8d chore: drop SonarCloud
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>
2026-11-25 21:06:00 +07:00
poli0981andClaude Opus 5.5 a88bc8c112 ci: move the workflows to Gitea Actions
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>
2026-11-25 21:05:20 +07:00