-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alr.Commands.Search: change default behavior to include properties (#…
…1575) * Alr.Commands.Search: change default behavior to include properties This patch comes from a comment of a user looking for gnatpp in Alire. gnatpp is part of the libabalang_tools crate and a 1.x `alr search gnatpp` returns nothing. The reason that by default only the release name and descriptions are searched. This is quite a bad user interaction. Here we change the default behavior to search in all properties of a release, including tags, executables, website, etc. We also display the list of properties that match the pattern. Searching in names and descriptions only is still possible with the --crates switch. * Alr.Commands.Search: use a set rather than a vector for matching props
- Loading branch information
1 parent
601567e
commit 13b8324
Showing
6 changed files
with
175 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ name = "libhello" | |
version = "1.0.0" | ||
maintainers = ["[email protected]"] | ||
maintainers-logins = ["mylogin"] | ||
tags = ["libhello-tag1"] | ||
|
||
# for an `alr search` test we need multiple tags that match the same pattern | ||
tags = ["libhello-tag1", "libhello-tag2"] | ||
|
||
[configuration.variables] | ||
Var1={type="Boolean", default=true} | ||
|
Oops, something went wrong.