chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.05k stars 890 forks source link

Unexpected behevior from search --exact #3380

Closed barjonas closed 4 months ago

barjonas commented 5 months ago

Checklist

What You Are Seeing?

>choco search dotnet-8.0-aspnetruntime --source=chocolatey --limitoutput --exact
dotnet-8.0-aspnetruntime|8.0.0
choco search dotnet-8.0-aspnetruntime --source=chocolatey --limitoutput
dotnet-8.0-aspnetruntime|8.0.1

What is Expected?

>choco search dotnet-8.0-aspnetruntime --source=chocolatey --limitoutput --exact
dotnet-8.0-aspnetruntime|8.0.1
choco search dotnet-8.0-aspnetruntime --source=chocolatey --limitoutput
dotnet-8.0-aspnetruntime|8.0.1

How Did You Get This To Happen?

See previous sections. I used the exact name of the package, but somehow the latest version number was not returned.

System Details

Installed Packages

N/A

Output Log

[NuGet]   GET https://community.chocolatey.org/api/v2/$metadata
[NuGet]   OK https://community.chocolatey.org/api/v2/$metadata 28ms
[NuGet]   CACHE https://community.chocolatey.org/api/v2/Packages()?$filter=(tolower(Id)%20eq%20'dotnet-8.0-aspnetruntime')%20and%20IsLatestVersion&semVerLevel=2.0.0
dotnet-8.0-aspnetruntime|8.0.0

Additional Context

No response

TheCakeIsNaOH commented 5 months ago

When I run those commands, I get 8.0.1 for both of them. It is likely this was a caching issue, as v8.0.1 has just been released at that time. Can you confirm if it is still happening for you?

github-actions[bot] commented 4 months ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue will be closed in 14 days if it continues to be inactive.

github-actions[bot] commented 4 months ago

Dear contributor,

As this issue seems to have been inactive for quite some time now, it has been automatically closed. If you feel this is a valid issue, please feel free to re-open the issue if / when a pull request has been added. Thank you for your contribution.