Skip to content

Feature/create pull comment #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed

Feature/create pull comment #320

wants to merge 5 commits into from

Conversation

TomMD
Copy link
Contributor

@TomMD TomMD commented Apr 8, 2018

This PR is actually two concepts for us to discuss and merge or rework depending on the outcome of the discussion.

Pull Request Line Comments

We now have NewPullComment and createPullComment :: Auth -> Name Owner -> Name Repo -> Id Issue -> Text -> Text -> Int -> Text -> IO (Either Error Comment) where we have a commit hash, file path, position, and a body.

Pull Request Diffs

Obtaining pull request diffs (github diffs) requires use of a new accept header. The diff provided via a URL is not a git diff and therefore unsuitable for calculating line numbers for the position value needed by createPullComment.

@TomMD
Copy link
Contributor Author

TomMD commented May 7, 2018

Ping! This capability keeps me off master, are there any objections?

@phadej
Copy link
Contributor

phadej commented Feb 17, 2019

Superseded by #350

@phadej phadej closed this Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants