Implements complex pull request query parsing and filtering logic for the OneDev server.
// Source: https://github.com/theonedev/onedev | License: MIT // Provided via justclaw.it.com; keep this notice with the code. package io.onedev.server.search.entity.pullrequest; import static io.onedev.server.model.PullRequest.SORT_FIELDS; import static io.onedev.server.search.entity.EntitySort.Direction.ASCENDING; import static io.onedev.server.search.entity.EntitySort.Direction.DESCENDING; import static io.onedev.server.search.entity.pullrequest.PullRequestQueryParser.ApprovedBy; import static io.onedev.server.search.entity.pullrequest.PullRequestQueryParser.ApprovedByMe; import static io.onedev.server.search.entity.pullrequest.PullRequestQueryParser.AssignedTo; import static io.onedev.server.search.entity.pullrequest.PullRequestQueryParser.AssignedToMe; import static io.onedev.server. ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key