The maintainer removed SonarQube Cloud (D1) and asked the agent to decide the rest. D2-D11 take the defaults the guides assumed. New: D12 runtime writes go through the Gitea contents API as poli0981-bot, D13 runtime reads use Gitea without a token, D14 public bug reports open issues on the GitLab mirror, D15 a second, Docker-only runner registration takes the long data jobs, D16 a data commit dispatches the deploy where the site bundles its data. Every guide's open questions become a Decided section; the runbook's open items 5-8 are resolved and nothing is left open. The index lists all 21 repos with a suggested order, the cron registry grows to 43 slots, and a short list of one-time maintainer steps (GPG key on Gitea, the bot user, the second runner, the GitLab token, Workers Builds, the announcement). The content submodule is migrated with poli0981-dev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MnPQKxkPgL2sb8BqwHKv5k
4.6 KiB
frameledger — migration guide
Written 2026-11-23 against
main@7a77b73. Profile: .NET (WPF, SDK pinned byglobal.json, .NET 11 band) + native C++ (MSVC, CMake, Vulkan SDK), Velopack (runbook §5.1). CI is repo-local by design: it runs./build.ps1 check, the same script as a local build (docs/12_BUILD.md, docs/13_CI_CD.md). Shared decisions: README.
Decided (2026-11-23)
- FL1 — SAST for the C++ layer: accepted as it is. Qodana native reads the C++ solution through
qodana-native.yaml, Opengrep covers C# and the workflows. No new analyser. - FL2 — the wiki:
wiki.ymlgoes. The pages stay inwiki/andguide/, and README links them; a port would hang on the job token pushing to<repo>.wiki.git, which nobody has verified. - D6: branch protection on
mainrequires the CI checks (hand-off).
Workflows (.github/workflows → .gitea/workflows)
| File | Today | Do |
|---|---|---|
ci.yml |
windows-latest, ./build.ps1 check; Sonar (SONAR_TOKEN); gh api repos/…/pulls/$PR_NUMBER/files for the changed files; upstream artifact actions; 9 unpinned @vN |
Move. Pin every action (runbook rule 6). Gitea artifact actions. Replace gh api …/pulls/{n}/files with curl to ${{ github.api_url }}/repos/${{ github.repository }}/pulls/{n}/files and the job token (README "gh → Gitea API"). Remove the Sonar part (D1) |
codeql.yml |
CodeQL C# + C++ + actions, cron 27 4 * * 1 |
Delete → security.yml caller: dotnet: true, dotnet-runs-on: windows-latest, dotnet-version matching global.json's band, cron 41 14 * * 5. FL1 for C++ |
qodana.yml |
qodana-action, two jobs: managed (qodana.yaml, QODANA_TOKEN) and native (qodana-native.yaml, QODANA_TOKEN_NATIVE, CMake generates the solution first) |
Keep the file local (each job has build pre-steps), and swap only the action step for the Qodana CLI, as reusable-qodana.yml's Windows steps do (pinned CLI 2026.3.1 + SHA-256, qodana scan --within-docker false [--config qodana-native.yaml], report artifact). Drop the checks permission and the SARIF upload |
release.yml |
tag v*: VERSION/CHANGELOG gates, publish, vpk download github → vpk pack → upload to GitHub Releases, checksums |
Keep the gates. Velopack to R2 (runbook §5.1): vpk download s3 / vpk upload s3 with VPK_BUCKET=poli0981-releases, VPK_PREFIX=frameledger/, VPK_ENDPOINT=https://${{ vars.R2_ACCOUNT_ID }}.r2.cloudflarestorage.com, keys from the R2 secrets as env only. Keep the repo's channel names. Checksums to R2 next to the packages; Gitea release (notes from CHANGELOG via body_path, links only) with gitea-release-action. No GH_TOKEN |
rules-publish.yml |
path-filtered gate for the detection rules | Move; pin actions/checkout |
wiki.yml |
workflow_run on Release → GitHub Wiki |
FL2. workflow_run works on Gitea; the payload's head_branch is empty for tag runs (README, ops notify fix): take the tag from github.event.workflow_run.path |
.github/dependabot.yml → delete; add renovate.json.
Code and tests
src/FrameLedger.App/Update/VelopackUpdateClient.cs:GithubSource→ HTTP sourcehttps://releases.poli0981.dev/frameledger(runbook §5.1); remove any GitHub token logic. Updatedocs/11_UPDATER.md.Directory.Build.props:RepositoryUrl/PackageProjectUrl→ Gitea.- Tests pin the GitHub URLs:
MarkdownLinksTests.cs(4),AccessibilityDocumentTests.cs,BugReportFlowTests.cs,DocumentWindowsTests.cs(2 each). Change them with the links: source → Gitea, bug reports →gitlab.com/poli0981/frameledger/-/issues. Keep.resxEN/VI/JA in parity if a string changes. - Links:
README.md(3),wiki/Home.md(2),.github/ISSUE_TEMPLATE/accessibility.yml+config.yml,ACCESSIBILITY.md,FORKING.md,docs/10_LOGGING_AND_BUG_REPORTS.md. Thegithubusercontenthits inlegal/licenses/andtools/license-overrides/are third-party licence sources: leave them. SECURITY.mdpoints at GitHub advisories → e-mail. The repo documentscontact@poli0981.dev; keep it if that is the security contact, otherwisesecurity@(runbook §1 "Contact").
Secrets
Keep QODANA_TOKEN, QODANA_TOKEN_NATIVE. Create (user level): R2 keys + R2_ACCOUNT_ID. Drop SONAR_TOKEN; no GH_TOKEN.
Hand-off extras
Installed copies update from GitHub Releases and cannot be redirected (runbook §7 item 5): say which versions are affected. Branch protection (D6). Host mode: the release job runs MSVC/CMake on the PC; it installs nothing system-wide (the SDK goes to the runner tool cache as in the ops reusables).