gitbucket
gitbucket copied to clipboard
Commit compare API end points appears broken
compare endpoint returns "Not found" always
Impacted version: 4.33.0
Problem description:
- Attempting to compare https://gitbucket.xxxx.fi/api/v3/repos/xxxx/demostato/compare/Myuser:oldbranch...Myuser:newbranch and other branch/user, no user combinations always returns "Not found". Pull request view on the website returns results for similar options I'm trying to pass to the API.
Actually it is not broken. Just not implemented yet...
https://github.com/gitbucket/gitbucket/blob/e27623ca294d2bb08be52180b593b450b1055615/src/main/scala/gitbucket/core/controller/api/ApiRepositoryCommitControllerBase.scala#L103-L110