Skip to content

Conversation

mrswastik-robot
Copy link
Contributor

@mrswastik-robot mrswastik-robot commented Jul 22, 2025

tries to fix #3026

To protect against the performance hit as seen in #3048, I avoided calling gateway.query() and search_packages_by_wildcard(). Instead, I am retrieving the package names from the CEP-0016 shard index and performing string similarity using Jaro on them.

This is how it looks as of now:

(the first run may take time as the index is not yet cached (cold start))

Screencast_20250722_005549.webm

@lucascolley lucascolley added enhancement New features cli Issue related to CLI labels Jul 22, 2025
@mrswastik-robot mrswastik-robot changed the title feat: Suggestions when package is not found during pixi add bla or pixi global install bla feat: Show suggestions when package is not found during pixi add bla or pixi global install bla Jul 22, 2025
@lucascolley lucascolley added the UX Related to the User Experience of pixi label Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Issue related to CLI enhancement New features UX Related to the User Experience of pixi
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print a help when a package was not found
2 participants