-
Notifications
You must be signed in to change notification settings - Fork 1
feat(packaging): Add Chocolatey package scaffolding #36
Copy link
Copy link
Closed
Description
Summary
Create the Chocolatey package structure with nuspec and install scripts following best practices from the platform distribution guide.
Changes
- Create
packaging/chocolatey/newrelic-cli.nuspecwith proper metadata - Create
packaging/chocolatey/tools/chocolateyInstall.ps1with checksum placeholders - Create
packaging/chocolatey/tools/chocolateyUninstall.ps1 - Create
packaging/chocolatey/README.mdwith documentation
Key requirements
projectUrlmust differ fromprojectSourceUrl(add#readmefragment) - CPMR0041- Use only Chocolatey built-in download functions (no
Invoke-WebRequest) - CPMR0055 - Use
CHECKSUM_AMD64_PLACEHOLDERandCHECKSUM_ARM64_PLACEHOLDERfor build-time injection - CPMR0073 - Include ARM64 architecture detection
- Throw explicit error for 32-bit Windows
Files to create
packaging/chocolatey/newrelic-cli.nuspecpackaging/chocolatey/tools/chocolateyInstall.ps1packaging/chocolatey/tools/chocolateyUninstall.ps1packaging/chocolatey/README.md
Acceptance criteria
-
choco packsucceeds locally (with placeholder values) - Package structure follows Chocolatey moderation rules (CPMR0041, CPMR0055, CPMR0073)
Dependencies
- Depends on feat(build): Add Windows amd64 and arm64 builds to GoReleaser #35 (Windows builds)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels