Currently, the name and implementation of the pull request APIs in HostedRepository is not consistent. So I suggest the following changes:
1. Change the name of the `pullRequests(ZonedDateTime updatedAfter)` to `pullRequestsAfter` so that it is consistent as the `openPullRequestsAfter`.
2. Add the new api `openPullRequests` to get all the open pull requests.
3. Change the implementation of the method `pullRequests()` to get all the pull requests (included open and closed)
I also added some comments to the PR of theSKARA-1199 to state this issue. If this issue is solved first, I will remove the related comments in SKARA-1199.
1. Change the name of the `pullRequests(ZonedDateTime updatedAfter)` to `pullRequestsAfter` so that it is consistent as the `openPullRequestsAfter`.
2. Add the new api `openPullRequests` to get all the open pull requests.
3. Change the implementation of the method `pullRequests()` to get all the pull requests (included open and closed)
I also added some comments to the PR of the
- relates to
-
SKARA-1199 Enforce maintainer approval in JBS before allowing to integrate backports into updates projects
- Resolved