Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix artifact search to work well with multiple versions of artifacts and registries #608

Merged
merged 4 commits into from
Jul 8, 2022

Conversation

fearthecowboy
Copy link
Member

Searching artifacts on a specific registry didn't work quite right.

This makes it so if the user prefixes the search criteria with a registry ie vcpkg find artifact arm:gcc that it will just search the given registry.
It also prints a message when there are no search results at all.

And when it uses the current internal ce downloader, puts the version and hash in the filename because otherwise it would clobber the download file when it switches between versions.

@fearthecowboy fearthecowboy requested a review from BillyONeal June 28, 2022 21:10
Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

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

Can you show a screenshot of before/after, and/or add a test for the new behavior?

@fearthecowboy
Copy link
Member Author

image

VS

image

@fearthecowboy fearthecowboy merged commit 4e0707d into microsoft:main Jul 8, 2022
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