gitbucket icon indicating copy to clipboard operation
gitbucket copied to clipboard

Commit compare API end points appears broken

Open redfellow opened this issue 4 years ago • 1 comments

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.

redfellow avatar Nov 05 '20 17:11 redfellow

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

onukura avatar Nov 05 '20 17:11 onukura