Integrated: forge: return commit comment from addCommitComment

Erik Helin ehelin at openjdk.java.net
Mon Nov 9 11:42:24 UTC 2020


Hi all,

please review this patch that makes `HostedRepository.addCommitComment` return the newly created commit comment. I had to make a workaround for GitLab's REST API since it doesn't return an id for commit comment. Instead we calculate an id based on the hash, the user's id an the time the comment was created.

Thanks,
Erik

-------------

Commit messages:
 - small update to id
 - forge: return commit comment in addCommitComment

Changes: https://git.openjdk.java.net/skara/pull/947/files
 Webrev: https://webrevs.openjdk.java.net/?repo=skara&pr=947&range=00
  Stats: 21 lines in 5 files changed: 7 ins; 0 del; 14 mod
  Patch: https://git.openjdk.java.net/skara/pull/947.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/947/head:pull/947

PR: https://git.openjdk.java.net/skara/pull/947


More information about the skara-dev mailing list