packaging: the copyright line in both Chocolatey packages and both WinGet manifests - #154
Conversation
…nGet manifests Chocolatey's moderation asked for a <copyright> element when it approved 0.4.0. The renderer now fills it, and WinGet's optional Copyright field, with the line tfg license prints - Copyright (C) 2026 DonislawDev - so a package and the program say the same thing. It arrives with the next release; the published 0.4.0 packages stay as they are. The guard reads what the renderer wrote, not its copy of the line: each of the four files carries exactly one copyright line, equal to the one in internal/version/version.go. A template that loses the element fails as surely as a copy that drifts from the program. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (18)
🧰 Additional context used📓 Path-based instructions (12)Packaging and release configuration of a desktop app.⚙️ CodeRabbit configuration file Files:
Applies to text shown to the user (labels, buttons, tooltips, placeholders, dialogs, errors, status messages, empty states, translations).⚙️ CodeRabbit configuration file Files:
Verify tests check real behavior and would fail if the implementation were broken.⚙️ CodeRabbit configuration file Files:
These are end-user desktop applications.⚙️ CodeRabbit configuration file Files:
Performance is a known weak spot of these projects.⚙️ CodeRabbit configuration file Files:
Applies only to code that builds or styles a GUI.⚙️ CodeRabbit configuration file Files:
Domain: test file generator (Go; `tfg` CLI and `tfg-gui` Fyne window over one engine).⚙️ CodeRabbit configuration file Files:
SECURITY, HIGH PRIORITY.⚙️ CodeRabbit configuration file Files:
These apps are QA/developer tools.⚙️ CodeRabbit configuration file Files:
Go code.⚙️ CodeRabbit configuration file Files:
Check that documentation matches the actual code in this PR: commands, flags, config keys, file paths, build steps and examples must exist.⚙️ CodeRabbit configuration file Files:
All code in this repository is written by an AI coding agent (Claude Code).⚙️ CodeRabbit configuration file Files:
🪛 LanguageToolpackaging/README.md[grammar] ~8-~8: Ensure spelling is correct (QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1) 📝 WalkthroughWalkthroughThe package renderer now supplies a copyright value to the Chocolatey and WinGet templates. A test checks that all four package metadata files contain the same copyright value as the program. ChangesPackage copyright metadata
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Suggested labels: Merge Risk: ⚪ Minimal · up to The next release’s Chocolatey and WinGet metadata will carry the same copyright text printed by the program, with a guard checking all four rendered files. No merge-blocking issue is evident. Security Architecture ReviewSecurity architecture risk: ⚪ Minimal · up to The new copyright field is informational. The review found no new installation authority, runtime boundary, or material security risk introduced by this change. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
🚥 Pre-merge checks | ✅ 14✅ Passed checks (14 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Chocolatey's moderation asked for a
<copyright>element when it approved 0.4.0. This fills it in both Chocolatey packages, and WinGet's optionalCopyrightfield in both manifests, with the linetfg licenseprints:Copyright (C) 2026 DonislawDev. It arrives with the next release. The published 0.4.0 packages stay as they are.build_packages.pykeeps the line beside the product name and the licence, the two values it already held a copy of.TestEveryPackageCarriesTheCopyrightTheProgramPrintsrenders the packages and reads the four files. Each must carry exactly one copyright line, equal to the one ininternal/version/version.go. A template that loses the element fails as surely as a copy that drifts.winget showprints the field.How it was checked: rendered v0.4.0,
choco packof both packages exits 0, the.nuspecread back out of each.nupkgcarries the line, andwinget validateof both manifests succeeds.🤖 Generated with Claude Code
Summary by CodeRabbit