Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fd37a2c

Browse filesBrowse files
authored
Add support for repository searching by "topic"
See https://help.github.com/articles/searching-repositories/#search-by-topic
1 parent d61697a commit fd37a2c
Copy full SHA for fd37a2c

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ public GHRepositorySearchBuilder stars(String v) {
5555
return q("stars:"+v);
5656
}
5757

58+
public GHRepositorySearchBuilder topic(String v) {
59+
return q("topic:"+v);
60+
}
61+
5862
public GHRepositorySearchBuilder order(GHDirection v) {
5963
req.with("order",v);
6064
return this;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.