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

Improve search #578

Merged
merged 5 commits into from
Jan 2, 2024
Merged

Conversation

Johnwillliam
Copy link
Contributor

Improve search with more info about specific package and possibility to add a wildcard in the search

#378

Rattler:
conda/rattler#446

Specific package
image

Using wildcard
image

@wolfv
Copy link
Member

wolfv commented Dec 18, 2023

Cool!

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

Thanks for your PR. There are still some things that need changing but I like the feature!

Seeing you're learning Rust, the ?(question mark operator) is something to read about. It can be pretty powerful but also confusing at first. If you have issue with the question mark not being accepted, checkout the miette::into_diagnostics We use this to create better reports from the errors.

If any of the remarks are unclear or you have general questions just ask!

src/cli/search.rs Show resolved Hide resolved
src/cli/search.rs Outdated Show resolved Hide resolved
src/cli/search.rs Outdated Show resolved Hide resolved
src/cli/search.rs Outdated Show resolved Hide resolved
src/cli/search.rs Outdated Show resolved Hide resolved
src/cli/search.rs Outdated Show resolved Hide resolved
Code cleanup & formatting
src/cli/search.rs Outdated Show resolved Hide resolved
src/cli/search.rs Outdated Show resolved Hide resolved
@Johnwillliam
Copy link
Contributor Author

@ruben-arts I implemented all remarks, could you check if I missed anything?

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

Looks good to me! Please run the formatted then we can merge it from my point of view!

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

Looks good to me! Please run the formatted then we can merge it from my point of view!

@baszalmstra baszalmstra merged commit 7c5a000 into prefix-dev:main Jan 2, 2024
9 checks passed
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.

4 participants