#1083 Specify on which branch(es) a commit is on the commit detail page
Merged by pingou. Opened by pingou.
commit_branch  into  master

Download 1083.patch

Fixes https://pagure.io/pagure/issue/1073

Not required, i guess.

Extra space

I wouldn't name it reponame, but you the boss :stuck_out_tongue:

didn't test locally but this should work :thumbsup:

1 new commit added

  • Fix typos and code style pointed out by @vivekanan1101

:thumbsup:

8 new commits added

  • Fix typos and code style pointed out by @vivekanand1101
  • Add unit-tests for the get_branches_of_commit endpoint
  • Rename messages to branches to reflect what is actually in it
  • Raise an error if the commit cannot be found in the repo
  • Add a check that the git repo actually exists and return a 404 otherwise
  • Let's ensure the element we want to use exists and bail otherwise
  • Add on the commit detail page the branch(es) the commit is in
  • Add a private internal API endpoint returning in which branch(es) a commit is

Thanks for the review :)

Pull-Request has been merged by pingou

:thumbsup: :clap: :smile:

Metadata