Files
poli0981andClaude Opus 5.5 826e4bd0d4 docs(migration): guides for the last twelve repos
From the inventory of the remaining local clones in E:\ and a read of
each workflow: HashTool, youtube-generator, youtube-auto-post,
jsonPrism, MarkLens, captureimg, QuoteAtlas, AppLedger, WardSweep,
free-steam-games-list, free-games-itchio-list and RepoLens. Each names
the commit it was written against, its decisions, what happens to every
workflow, its cron slots, release path, links and secrets.

QuoteAtlas and AppLedger are not on Gitea yet. free-steam-games-list
and RepoLens read GitHub at runtime and have had no data since the
suspension (raw.githubusercontent.com answers 404 for the catalogue):
their guides start with that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MnPQKxkPgL2sb8BqwHKv5k
2026-11-23 19:46:35 +07:00

3.8 KiB

AppLedger — migration guide

Written 2026-11-23 against main @ 7d40c38 (local clone E:\appledger). Profile: .NET 10 WPF app + elevated Agent, Velopack, never released (runbook §5.1). Four self-contained workflows by design (docs/18_CI_CD.md). Shared decisions: README.

This repo is not on Gitea yet. origin is still https://github.com/poli0981/appledger.git and there is no github remote. The working tree is clean.

Before the migration session

  1. .\push-to-gitea.ps1 -Root E:\appledger -DryRun, then without -DryRun: it renames origin → github, creates poli0981/appledger on Gitea with Actions off and pushes every branch and tag.

Decided (2026-11-23)

  • AL1 — feeds: nothing has shipped, so every network call in docs/12_PRIVACY_AND_RETENTION.md §Network calls moves to R2 before the first release, with no bridge:
    • update check: Velopack HTTP source https://releases.poli0981.dev/appledger (vpk upload s3, VPK_PREFIX=appledger/);
    • catalog rules: appledger/appledger-catalog-latest.json and appledger-catalog-latest.json.minisig. Both names contain -latest., so the edge never serves a stale file or a signature that no longer matches (runbook §1, release caching);
    • the GeoIP download: the same -latest. naming under appledger/. legal/PRIVACY_POLICY.md (three rows) and docs/12, 13 and 16 name releases.poli0981.dev; nobody has accepted the old text yet.
  • D4: security comes from the ops repo (CodeQL's replacement); notify.yml stays local (it works on Gitea as it is: publishing the draft release by hand fires release: published). Build, test and release stay in this repo, as docs/18 wants.
  • Host mode: CI keeps Category!=Admin. On windows-latest an Admin test would run elevated on your PC and could register the Agent's scheduled task. No CI job installs, starts or registers the Agent.
  • D6: branch protection on main requires the CI checks.

Workflows (.github/workflows → .gitea/workflows)

File Today Do
ci.yml build/test on windows-latest, sonar job (MSBuild scanner), upstream upload-artifact Move; Gitea artifact action; remove the sonar job (D1) and its notes in docs/18
codeql.yml CodeQL C# on windows-latest, cron 23 4 * * 1 Delete → ops security.yml caller: dotnet: true, dotnet-runs-on: windows-latest, dotnet-solution: AppLedger.slnx (VERIFY the reusable restores a .slnx), cron 31 14 * * 4
notify.yml release: published → Discord (DISCORD_WEBHOOK), skips without the secret Move unchanged; pin its actions by SHA
release.yml v* tags, Velopack, GitHub release, never run yet Velopack to R2 (AL1), catalog + .minisig and the GeoIP file to R2 with publish-r2.yml, a draft Gitea release with links (gitea-release-action). The minisign key is a secret of this job only (rule 10). Its first run is still the dry run on a pre-release tag that the file asks for

.github/dependabot.yml → delete; add renovate.json (Central Package Management: Renovate reads Directory.Packages.props; WPF-UI stays on its verified pin, so add a packageRules entry that holds it).

README.md, CONTRIBUTING.md, SECURITY.md (GitHub advisories → security@poli0981.dev), .github/ISSUE_TEMPLATE/config.yml, Directory.Build.props, legal/PRIVACY_POLICY.md and legal/DISCLAIMER.md, docs/12, 13, 16 and 18, and src/AppLedger.App/ViewModels/OnboardingViewModel.cs (it opens the privacy policy on GitHub: point it at Gitea). Issue templates → GitLab (runbook §3.4). The github.io hits in PublicSuffixTests.cs are test data: leave them.

Secrets

Keep DISCORD_WEBHOOK. Create (user level): R2 keys + R2_ACCOUNT_ID; the minisign secret key for catalog signing (repo level, release job only). Drop SONAR_TOKEN.