Skip to content
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

GitLab pull request formatter #232

Closed
ivanovaleksey opened this issue Apr 26, 2017 · 13 comments
Closed

GitLab pull request formatter #232

ivanovaleksey opened this issue Apr 26, 2017 · 13 comments

Comments

@ivanovaleksey
Copy link
Contributor

Hi @mmozuras,

thank you for the awesome gem!

I use it with GitLab instance.
I noticed that only commit formatter exists for GitLab. But GitLab API contains endpoints to work with comments on pull requests (merge requests as they call them).

Is it possible to enable pull request commenting for GitLab (maybe there are some restrictions I don't know about) ?
If it is I would happily start to working on it.

@ivanovaleksey
Copy link
Contributor Author

Seems like I understand the problem now.
Merge request API allows to create a note for the entire merge request. We can't specify particular line of code.
And comment for commit API allows to do per-line commenting.

😞

@mikgry
Copy link

mikgry commented Apr 28, 2017

Hi, the Merge request API should have per-line commenting soon, it is already implemented https://gitlab.com/gitlab-org/gitlab-ce/issues/20901
It will be released in 9.2 version at May 21.

@ivanovaleksey
Copy link
Contributor Author

ivanovaleksey commented Apr 28, 2017

@mikes01 cool, thank you!
Then I will continue my work on PR after API updates.

@ivanovaleksey
Copy link
Contributor Author

Looks like implementing this feature will also close #106

@ivanovaleksey
Copy link
Contributor Author

It seems like the GitLab issue was moved to 9.3 milestone which has due date on June, 21.

@mmozuras
Copy link
Member

@ivanovaleksey 👍

Maybe you know the reason? Not stable enough?

@ivanovaleksey
Copy link
Contributor Author

ivanovaleksey commented May 23, 2017

@mmozuras to be honest I didn't read all the discussions because the are huge enough.
As I can see 9.2 (initial milestone for the issue) still has very much to do. And it should be closed 3 days ago, on May 21 😕

UPDATE
I got an email that 9.2 has been released. ☺️

@ivanovaleksey
Copy link
Contributor Author

And it is moved to 9.4 😞

@siebertm
Copy link
Contributor

This API seems to be implemented in 10.8 release :-D https://docs.gitlab.com/ce/api/discussions.html

@mmozuras
Copy link
Member

@siebertm great news (finally 😀)!

If anyone wants to take the implementation, write about it here.

@Strnadj
Copy link

Strnadj commented Apr 6, 2019

PR #308 😄

@vkotovv
Copy link

vkotovv commented Jan 21, 2020

Looks like it can be closed now, resolved by PR #351

@ivanovaleksey
Copy link
Contributor Author

@vkotovv thanks for pointing this out. Currently I am not using Pronto, so I can't actually test behaviour.
I will close the issue. If there would be any problems write a comment to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants