gh icon indicating copy to clipboard operation
gh copied to clipboard

No createCommitComment feature

Open manpreetzenefits opened this issue 9 years ago • 4 comments

manpreetzenefits avatar Feb 06 '16 07:02 manpreetzenefits

After doing git blame one can easily get the commit. There is no easy way to get the corresponding pull request. Hence commenting on pr is almost useless. Hence this feature is highly required.

manpreetzenefits avatar Feb 06 '16 07:02 manpreetzenefits

@manpreetzenefits, so with this feature you would write comments on commits, correct? How should it work?

Please notice that there isn't necessarily a corresponding pull request.

henvic avatar Jun 07 '16 22:06 henvic

ya because pull request is just a concept of github so while automating you just have access to commits in your codebase. So writing on comments on commits is the only option left in many cases. github api provides a way to do that though the gh client does not. https://developer.github.com/v3/repos/comments/#create-a-commit-comment so was forced to use the python client to do the job

manpreetzenefits avatar Jun 07 '16 22:06 manpreetzenefits

+1 I just found this repo specifically because I was looking for a way to comment on commits from command line 🙂

mgroth0 avatar Apr 18 '17 04:04 mgroth0