-
Notifications
You must be signed in to change notification settings - Fork 247
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
(GH-588) Add option to search packages in all available repositories #591
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ public struct PackageSearchOptions | |
bool includePrerelease, | ||
bool includeAllVersions, | ||
bool matchWord, | ||
string source) | ||
string source, | ||
bool searchInALlRepos) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In addition to the other comment, this should be |
||
: this() | ||
{ | ||
PageSize = pageSize; | ||
|
@@ -25,6 +26,7 @@ public struct PackageSearchOptions | |
IncludePrerelease = includePrerelease; | ||
MatchQuery = matchWord; | ||
Source = source; | ||
SearchInAllRepos = searchInALlRepos; | ||
} | ||
|
||
public int CurrentPage { get; set; } | ||
|
@@ -33,6 +35,8 @@ public struct PackageSearchOptions | |
|
||
public bool IncludePrerelease { get; set; } | ||
|
||
public bool SearchInAllRepos { get; set; } | ||
|
||
public bool MatchQuery { get; set; } | ||
|
||
public string Source { get; set; } | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -642,4 +642,7 @@ NOTE: Probably only necessary to change in RTL languages.</comment> | |
<data name="PackageView_Version" xml:space="preserve"> | ||
<value>Version</value> | ||
</data> | ||
<data name="SettingsView_SearchInAllRepos" xml:space="preserve"> | ||
<value>Search in all Repos</value> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Depending on the outcome of the above, we will likely want to change this text as well. |
||
</data> | ||
</root> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the right terms here? Chocolatey GUI doesn't refer to repositories, but rather Sources. Should this be
SearchInAllRepositories
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm with @gep13 , so
SearchInAllSources
could be the name...