ci: move CommandForge to Gitea — workflows, R2 releases, links, docs; release 2.3.0 #2

Merged
poli0981 merged 12 commits from chore/gitea-migration into main 2026-11-26 02:45:40 +00:00
12 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 7bad284c21 chore(release): 2.3.0
Build / build (pull_request) Successful in 1m40s
Build / package (pull_request) Successful in 7m16s
Reusable / Qodana / Qodana (pull_request) Successful in 6m36s
Qodana / qodana (pull_request) Successful in 6m36s
Security / workflow-lint (pull_request) Successful in 7s
Reusable / Security / Rust (cargo-deny) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 9s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 18s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 12s
Reusable / Security / .NET (NuGetAudit) (pull_request) Successful in 41s
Security / scan (pull_request) Successful in 1m22s
CommandForge moves off GitHub: updates from releases.poli0981.dev (Cloudflare
R2), the source on Gitea, issues on the GitLab mirror, CI on Gitea Actions,
Renovate for dependencies, SHA256SUMS and a CycloneDX SBOM with every
release. Installs of 2.2.0 and older can't update themselves (they ask
GitHub) and need this version once by hand; the notes say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:26:39 +07:00
poli0981andClaude Opus 5.5 e5593b1f74 deps: SonarAnalyzer.CSharp 10.37.0.15768
Released 2026-11-20. The solution builds with no new warning. Everything else
is current: .NET 10.0.15 with SDK 10.0.404 (the November 2026 security
update), Velopack 1.2.161, WPF-UI 4.3.0; no vulnerable or deprecated package,
direct or transitive. Microsoft.Extensions.* 11.0 belongs to .NET 11 and
stays out (the app is on the .NET 10 LTS line).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:25:32 +07:00
poli0981andClaude Opus 5.5 49301f266b docs: the project lives on Gitea, issues on GitLab, releases on R2
README (badges from Gitea Actions and shields' Gitea release badge,
"Where things live", downloads from releases.poli0981.dev, checksums and
the CycloneDX SBOM instead of `gh attestation verify`, a note that 2.2.0 and
older must update once by hand), USAGE, UPDATES (the HTTP feed, the file
layout on R2, the delta from `vpk download s3`), RELEASING (the new release
workflow, its dry run, user-level R2 secrets), BUILD (the CI table on Gitea
Actions, Renovate), PRIVACY (the update check goes to releases.poli0981.dev
through Cloudflare), SECURITY (e-mail only, never a public issue on the
mirror; Qodana, gitleaks, Opengrep, osv-scanner, NuGetAudit, Renovate instead
of CodeQL, Scorecard, SonarCloud, Snyk and Dependabot; no attestations),
CONTRIBUTING (Gitea read-only, issues and merge requests on GitLab, patches
by e-mail), CODE_OF_CONDUCT, EULA, DISCLAIMER and MAINTAINERS lose their
GitHub references, THIRD-PARTY-NOTICES swaps SonarScanner for CycloneDX,
Directory.Build.props points RepositoryUrl at Gitea, and CLAUDE.md gets the
new rules 6 and 7 and a "Forge & CI" section. CHANGELOG entries stay as they
were; only the compare links at the bottom point at Gitea.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:24:40 +07:00
poli0981andClaude Opus 5.5 de7f12c324 docs: issue and merge request templates for the GitLab mirror
Gitea's registration is closed, so issues and merge requests from everyone
go to gitlab.com/poli0981/CommandForge, and GitLab does not read GitHub's
issue forms. .gitlab/issue_templates gets Markdown versions of the five forms
(Bug, Feature request, Command, Translation, Accessibility) and
.gitlab/merge_request_templates/Default.md the pull request checklist, with
a note that CI runs on Gitea. ACCESSIBILITY.md sends a barrier to the GitLab
Accessibility template or accessibility@, and its test follows.

The .github forms stay for Gitea, which reads them: their links point at
Gitea's paths, private reports at security@ (GitHub's private vulnerability
reporting and Discussions are gone), and config.yml points at the mirror.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:20:50 +07:00
poli0981andClaude Opus 5.5 cad42ac9cf fix: updates from Cloudflare R2, links to Gitea and the GitLab mirror
The GitHub account is gone, and with it the update feed and every link the
app opened. Velopack now reads https://releases.poli0981.dev/commandforge
(an HTTP source, ProductLinks.UpdateFeed); 404 / 403 / 429 / 5xx / offline
are still told apart, and their messages name "the update server" instead of
GitHub (Cloudflare's edge answers 403 when it refuses and 429 when it
limits).

ProductLinks: the source, user guide, accessibility statement and the four
legal texts on Gitea (the Legal pages read them from ProductLinks instead of
four hard-coded GitHub URLs); issues on the GitLab mirror, since Gitea's
registration is closed. Report a bug opens a new GitLab issue with the title
and the answered Bug template (.gitlab/issue_templates/Bug.md) as its
description; a test keeps the app's sections and checklist equal to the
template's.

Strings in all five languages: "Source code" (was "GitHub"), "Read the full
text online", "Open issue on GitLab", and the privacy and auto-check texts
name releases.poli0981.dev. Keys Settings_GitHub and LegalGateReadOnGitHub
become Settings_SourceCode and LegalGateReadFullText. A new test fails if any
source file links to github.com/poli0981 again.

The terms version stays 1.1: the update check sends the same request, only
to another host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:18:05 +07:00
poli0981andClaude Opus 5.5 2d09b0a7f4 build(deps): Renovate replaces Dependabot
Dependabot was GitHub's. The self-hosted Renovate on Gitea applies the shared
preset local>poli0981/renovate-config (pinned action digests, non-major
updates grouped, OSV security PRs, a 3-day release age for NuGet). On top of
it, as the Dependabot rules did: majors wait for approval on the Dependency
Dashboard (maintenance mode), Microsoft.Extensions.* and the SDK in
global.json never take a major (the .NET 10 LTS line), and Velopack moves
together with the vpk CLI. Validated with renovate-config-validator
44.260.3 --strict.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:13:18 +07:00
poli0981andClaude Opus 5.5 d39f188ea6 ci(release): Velopack to Cloudflare R2, CycloneDX SBOM, SHA256SUMS, Gitea release
GitHub Releases is gone. A v* tag now builds and packs on the Windows runner
as before (scripts/pack.ps1), then `vpk upload s3` puts the packages and the
feed on R2 (releases.poli0981.dev/commandforge, feed last), the ops
publish-r2.yml adds <version>/SHA256SUMS and the SBOM, a Gitea release gets
the notes and the links (no binaries), and the ops announcer posts to
Discord. R2 credentials stay in VPK_* environment variables of this
tag/dispatch-only workflow.

scripts/release-assets.ps1 (also runs locally) writes the CycloneDX SBOM
(CycloneDX tool 6.3.2, replacing GitHub's dependency-graph SBOM, decision
D7), SHA256SUMS of the files this version ships, and the notes from
CHANGELOG.md. The feed files are no longer hashed: vpk rewrites them on
upload, which is what made checksums.txt wrong for RELEASES and
releases.win.json in 2.1.0 and 2.2.0.

A manual run on a branch is a dry run: it builds, packs, reads the previous
release from R2 and keeps the files as an artifact, but uploads nothing.
Attestations go (no OIDC on Gitea). VirusTotal stays optional.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:13:13 +07:00
poli0981andClaude Opus 5.5 aae42f7e2f ci: Discord notifiers through the ops repo's Gitea workflows
announce-release and notify-ci-failure call the ops repo's .gitea reusables at
ops v2026.11.4 (c133a00), with ops_ref at the same commit so the notifier
script matches, and pass only the secrets each one declares instead of
inheriting all of them. notify-ci-failure watches Build, Qodana and Security
(SonarCloud is gone). New: notify-release-pipeline reports every Release run
to DISCORD_RELEASE_PIPELINE_WEBHOOK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:07:59 +07:00
poli0981andClaude Opus 5.5 43606c5b9f ci(qodana): run the Qodana CLI through the ops reusable workflow
JetBrains/qodana-action needs GitHub's APIs (annotations, the PR comment, the
cache). The ops repo's reusable-qodana.yml runs the pinned, checksum-verified
Qodana CLI natively on the Windows runner instead, builds the solution first
and keeps the report as an artifact; the results still go to Qodana Cloud.
The token check job goes: Gitea has no fork pull requests, and runs started
by renovate-bot skip the scan in the reusable itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:07:39 +07:00
poli0981andClaude Opus 5.5 3776562fb6 ci: Security workflow — workflow lint and the ops security scan
actionlint and shellcheck (pinned, SHA-256 verified) lint .gitea/workflows,
and the ops repo's security.yml runs gitleaks over the full history, Opengrep,
osv-scanner and a NuGetAudit restore on the Windows runner. Push to main,
pull requests, and weekly on Friday 14:11 UTC (inside the runner's
13:00-16:00 UTC window, a free slot in the ops cron registry). This replaces
CodeQL for both the C# and the workflow analysis.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:07:09 +07:00
poli0981andClaude Opus 5.5 48efda1071 ci: drop CodeQL, dependency review, Scorecard and SonarCloud
None of them runs on Gitea: CodeQL and Scorecard upload to GitHub code
scanning (and Scorecard needs OIDC), dependency review reads GitHub's
dependency graph, and SonarQube Cloud is dropped in every repository
(ops migration decisions D1 and D7). The dotnet-sonarscanner tool goes with
it. Opengrep, gitleaks, osv-scanner and NuGetAudit (the Security workflow)
and Qodana take over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:06:45 +07:00
poli0981andClaude Opus 5.5 83286ed1c3 ci: build and test on Gitea Actions
Move build.yml to .gitea/workflows. The Windows jobs run in host mode on the
maintainer's PC, so setup-dotnet installs into the runner tool cache, the
NuGet cache is the PC's own (no actions/cache), and artifacts go through the
Gitea fork of upload-artifact (upstream v4+ refuses non-GitHub servers).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:06:37 +07:00