-
Notifications
You must be signed in to change notification settings - Fork 119
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
Improve Gerrit connector usability #222
Conversation
Contains a fix that allows Gerrit HTTP password usage. See uwolfer/gerrit-rest-java-client#70
This makes it possible to use http password token that is defined in Settings -> HTTP Password page instead of the regular site password. https://gerrit-review.googlesource.com/Documentation/rest-api.html#authentication
When a cherry-pick is done and there are more commits with the same changeId, an exended id can be used to distinguish between them. It has a tilde separated format: project/subproject~branch/subbranch~changeId If this is not encoded but just put in the URL, an error message comes from the server like: Request not successful. Message: Not Found. Status-Code: 404. Content: Not found: project
As it's a Gerrit feature and not a client side deduplication, it should not have a large overhead, therefore it's enabled by default.
761b4fa
to
873547a
Compare
Codecov Report
@@ Coverage Diff @@
## master #222 +/- ##
============================================
+ Coverage 73.25% 75.05% +1.79%
- Complexity 612 629 +17
============================================
Files 146 147 +1
Lines 1963 1984 +21
Branches 128 128
============================================
+ Hits 1438 1489 +51
+ Misses 468 436 -32
- Partials 57 59 +2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #222 +/- ##
============================================
+ Coverage 72.38% 75.05% +2.66%
- Complexity 608 629 +21
============================================
Files 146 147 +1
Lines 1988 1984 -4
Branches 131 128 -3
============================================
+ Hits 1439 1489 +50
+ Misses 489 436 -53
+ Partials 60 59 -1
Continue to review full report at Codecov.
|
I will do the merge again as gerrit lib was upgraded on master. |
Recreated: #230 |
Although these fixes might work on their own, they touch the same file, that's why I created one pull request for all of them.