node-gh / gh

(DEPRECATED) GitHub CLI made with NodeJS. Use the official https://cli.github.com/ instead.
http://nodegh.io
Other
1.71k stars 217 forks source link

No createCommitComment feature #431

Open manpreetzenefits opened 8 years ago

manpreetzenefits commented 8 years ago

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.

henvic commented 8 years ago

@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.

manpreetzenefits commented 8 years ago

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

mgroth0 commented 7 years ago

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