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.6 KiB

captureimg — migration guide

Written 2026-11-23 against docs/a11y-test-record @ 5e654bb, one docs commit ahead of main @ b2f8982 with the same workflows (local clone E:\capture\captureimg, Gitea poli0981/captureimg). Profile: CaptureImage, .NET 10 WPF (net10.0-windows10.0.22621.0) + net10.0 libraries, Velopack (--delta None, channel win) (runbook §5.1). Shared decisions: README.

Start the session from main (merge or park the docs branch first).

Decided (2026-11-23)

  • D6: branch protection on main. D7: the release notes lose the gh attestation verify section.
  • CI1 — PR title lint: a few lines of shell over github.event.pull_request.title (the Conventional Commits pattern, no token, no API) replace amannn/action-semantic-pull-request.

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

File Today Do
ci.yml build/test on windows-latest, sonarcloud job, upstream upload-artifact Move; Gitea artifact action; remove the Sonar job and dotnet-sonarscanner from .config/dotnet-tools.json (D1). Host mode: any test that starts the app must use a scratch data dir, never your real settings
release.yml tag/dispatch: vpk pack (--delta None), GitHub release with a body that lists the assets and gh attestation verify, attestations, upstream artifact actions Velopack to R2 with VPK_PREFIX=captureimg/ (runbook §5.1). Keep the vpk download s3 step before vpk pack even with --delta None: it is how the new feed keeps the earlier releases (VERIFY on the first release). Gitea release with the same notes, without the attestation section (D7), links to releases.poli0981.dev/captureimg/…; Gitea artifact actions
docs.yml markdownlint + lychee on PRs/pushes, external links weekly 17 3 * * 1 Move; cron → 17 14 * * 1
workflow-lint.yml actionlint + zizmor Move; pass both the .gitea/workflows files; zizmor with online-audits: false and advanced-security: false (README, shared rules)
pr-lint.yml semantic PR title (GitHub-API action), GITHUB_TOKEN CI1
announce-release.yml, notify-ci-failure.yml, notify-release-pipeline.yml ops callers at e973e2f (old .github/workflows path) poli0981/.github/.gitea/workflows/<x>.yml@<ops-sha> + ops_ref
dependency-review.yml GitHub dependency review Delete (D7)
scorecard.yml OpenSSF Scorecard, cron 41 4 * * 2 Delete (D7)
discussion-welcome.yml greets new GitHub Discussions (github-script) Delete (D11)

Add a caller of the ops security.yml (dotnet: true, dotnet-runs-on: windows-latest, dotnet-solution: CaptureImage.sln, cron 11 15 * * 6). .github/dependabot.yml → delete; add renovate.json. .github/CODEOWNERS → .gitea/CODEOWNERS. .github/FUNDING.yml is GitHub-only.

  • src/CaptureImage.Infrastructure/Update/VelopackUpdateService.cs: GithubSource → HTTP source https://releases.poli0981.dev/captureimg. UpdateViewModel.cs and AboutViewModel.cs link to GitHub; AboutPage.xaml (2); ShellAndAboutTests.cs pins one.
  • Directory.Build.props (2), README.md (9), SUPPORT.md (5), ACCESSIBILITY.md (3), .github/ISSUE_TEMPLATE/ (config.yml 2, accessibility.yml, feature_request.yml), docs/dev_env.md + docs/i18n/vi/dev_env.md, docs/legal/PRIVACY.md, CLAUDE.md. CHANGELOG.md keeps its history. SECURITY.md: GitHub advisories → security@poli0981.dev (already documented).

Secrets

Keep DISCORD_* for the ops callers. Create (user level): R2 keys + R2_ACCOUNT_ID. Drop SONAR_TOKEN and the explicit GITHUB_TOKEN.