Skip to content

Conversation

AdmiringWorm
Copy link
Member

Description Of Changes

This updates the Chocolatey NuGet package references to the latest
version available that was just recently created.

This new version fixes a problem in Chocolatey CLI where we are unable
to search for packages that starts with a prefix in an identifier.

Motivation and Context

We want to fix the bug in Chocolatey CLI where you are unable to search for anything other than the prefix chocolatey when using --id-starts-with.

Testing

  1. Run choco search sysinternals --id-starts-with.
  2. Verify that the sysinternals package is listed.

Operating Systems Testing

  • Windows 10

Change Types Made

  • Bug fix (non-breaking change).
  • Feature / Enhancement (non-breaking change).
  • Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • PowerShell code changes: PowerShell v3 compatibility checked?

Related Issue

Fixes #1836

@AdmiringWorm AdmiringWorm requested a review from a team as a code owner February 26, 2025 15:52
@AdmiringWorm AdmiringWorm requested review from st3phhays and removed request for a team and st3phhays February 26, 2025 15:52
@AdmiringWorm AdmiringWorm self-assigned this Feb 26, 2025
@AdmiringWorm AdmiringWorm requested a review from gep13 February 26, 2025 15:52
Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

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

This will require an update to the CREDITS.md file as well, right?

@AdmiringWorm
Copy link
Member Author

Ah, I wasn't aware that the NuGet.Client was listed in the credits file. Seeing as only the version changed, the license itself is unchanged.

@gep13
Copy link
Member

gep13 commented Feb 26, 2025

Yeah, we include the version number in the release notes, so that all the information is in one place.

This updates the Chocolatey NuGet package references to the latest
version available that was just recently created.

This new version fixes a problem in Chocolatey CLI where we are unable
to search for packages that starts with a prefix in an identifier.
@AdmiringWorm AdmiringWorm force-pushed the choco-search---id-starts-with-not-working-as-expected-1836 branch from 0f7b3b5 to 7db37af Compare February 26, 2025 16:57
Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

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

LGTM!

@gep13 gep13 merged commit 2abb0b1 into chocolatey:hotfix/2.4.3 Feb 26, 2025
5 checks passed
@gep13
Copy link
Member

gep13 commented Feb 26, 2025

@AdmiringWorm thanks for getting this fixed up!

@AdmiringWorm AdmiringWorm deleted the choco-search---id-starts-with-not-working-as-expected-1836 branch February 27, 2025 10:13
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.

Search option --id-starts-with only returned packages starting with chocolatey
2 participants