Repository navigation
Conversation
|
Maybe nitpicking, but Eventually, we could enhance this to also find modules based on command name (like |
|
@bedroge We should definitely enhance CI to also cover this new subcommand... |
I actually asked the almost same question (wouldn't search or avail (or spider) be a better name?) to my AI friend yesterday after he had implemented this. This was the answer:
With what you're proposing, and also to match substrings, I guess we maybe do want to use |
Yes, I think that's the end goal for We definitely don't want both |
eessi find subcommand to find software across all EESSI versionseessi search subcommand to search for software across all EESSI versions
…y a local json file
|
Okay, I think this is ready for a real review now. We can probably add more features, but I don't want to make this even bigger, and I think it works really well for a first implementation. |
This adds an
eessi searchcommand that allows you to search for software across all EESSI versions. In case of no exact (case-insensitive) match, it also does substring matching and fuzzy matching to provide suggestions (Did you mean...). The EESSI API data file is used as source, and it's (re)downloaded every 6 hours. A manually provided file can also be used.AI-assisted, but I made most of the design decisions and reviewed all the code.