Skip to content

fix(chocolatey): address 0.9.59 moderation guidelines in the nuspec template#208

Merged
cevheri merged 1 commit into
mainfrom
fix/choco-moderation-guidelines
Jul 19, 2026
Merged

fix(chocolatey): address 0.9.59 moderation guidelines in the nuspec template#208
cevheri merged 1 commit into
mainfrom
fix/choco-moderation-guidelines

Conversation

@cevheri

@cevheri cevheri commented Jul 16, 2026

Copy link
Copy Markdown
Member

The first Chocolatey submission (0.9.59) passed automated validation with no Requirements flagged; the validator raised two Guideline-level items to fix for future releases:

  • Potentially invalid URL in the description: the usage text linked http://127.0.0.1:3000, which the validator cannot resolve. Now written as plain localhost:3000 (code-formatted, no scheme).
  • projectUrl duplicated projectSourceUrl (CPMR0041): projectUrl now points at the product page (https://libredb.org); projectSourceUrl keeps the GitHub repository.

The remaining Note (owners matches authors) needs no change: the maintainer IS the software author - the reviewer confirms this manually, and it is the expected shape for a vendor-owned package.

No repush of 0.9.59: Guidelines do not hold up approval, and a same-version repush would restart the automated checks. These fixes ship with the next release's rendered nuspec.

Template-only change; tests/unit/render-windows-packaging.test.ts covers the rendering.

…emplate

The 0.9.59 automated validation passed with no Requirements; two Guidelines remain for next releases: the loopback URL in the description is now plain 'localhost:3000' (a scheme-prefixed 127.0.0.1 URL is flagged as potentially invalid), and projectUrl now points at the product page (https://libredb.org) so it no longer duplicates projectSourceUrl (CPMR0041). The owners==authors note needs no change - the maintainer is the software author.
Copilot AI review requested due to automatic review settings July 16, 2026 03:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Chocolatey .nuspec template to align with Chocolatey moderation guidelines, ensuring future releases avoid guideline-level flags while keeping the packaging pipeline unchanged (template-only adjustment).

Changes:

  • Set projectUrl to the product page (https://libredb.org) while keeping projectSourceUrl on GitHub to avoid duplicate-URL guideline flag (CPMR0041).
  • Replace the loopback usage link http://127.0.0.1:3000 with plain, code-formatted localhost:3000 to avoid “unresolvable URL” guideline warnings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud

Copy link
Copy Markdown

@cevheri
cevheri merged commit 08412f1 into main Jul 19, 2026
19 checks passed
@cevheri
cevheri deleted the fix/choco-moderation-guidelines branch July 19, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants