forge: add search method #854
Conversation
|
Looks good, a bit worried that auto-pagination of thousands of commits will take a while though.. :) |
.map(o -> o.get("id").asString()) | ||
.collect(Collectors.toList()); | ||
for (var project : projects) { | ||
var c = request.get("projects/" + project + "/repository/commits/" + hex) |
rwestberg
Sep 29, 2020
Member
Could we use this endpoint instead? https://docs.gitlab.com/ce/api/commits.html#get-a-single-commit
Could we use this endpoint instead? https://docs.gitlab.com/ce/api/commits.html#get-a-single-commit
edvbld
Sep 29, 2020
Author
Member
That is the endpoint the code is using 😸 Did you perhaps miss the + hex
part?
That is the endpoint the code is using + hex
part?
rwestberg
Sep 29, 2020
Member
Well then, carry on!
Well then, carry on!
Since we are limiting the GitHub search to selected organizations, we should for the https://github.com/openjdk organization get at most |
@edvbld This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the
|
/integrate |
@edvbld Since your change was applied there has been 1 commit pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 10f3a1f. |
Hi all,
please review this patch that adds the
Forge.search
method to allow searching for a commit with a particular hash on a forge.Thanks,
Erik
Progress
Reviewers
Download
$ git fetch https://git.openjdk.java.net/skara pull/854/head:pull/854
$ git checkout pull/854