-
Notifications
You must be signed in to change notification settings - Fork 19
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
Did you came out with any solution to add inline comments on a patch? #28
Comments
Unfortunately not, when I was actively working on this project Gerrit did not provide an API for inline comments... =( |
Does it now? Something like this? https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#fix-replacement-info If you know the endpoint for it now I can work on it |
That does look promising. =) There's an issue however in that this tool was written before Gerrit had a REST API (at least the version we had installed at my work), so instead it uses the older "SSH API" documented here: https://review.openstack.org/Documentation/cmd-index.html If you can find a way to do it in the end you're more than welcome to submit a PR. =) |
Nice. I did similar things in past for old bugzilla CLI, to use its REST API. Looking at https://www.gerritcodereview.com/releases/README.md I will use gerrit 2.15 to test:
If you know any avaliable gerrit deploy to play with, let me know. I only know eclipse gerrit, but don't think it is avaliable for tests. So my plan is to parse a modified diff, like so:
So |
seems janestreet has been doing this for at least two years janestreet/iron#5 |
Given the diff output
did you came out with any format to add inline comments?
The text was updated successfully, but these errors were encountered: