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
A gerrit service. #305
A gerrit service. #305
Conversation
b1d6c92
to
0d6a9f7
Compare
Did you intend to commit gerrit.py? |
url = self.url + '/a/changes/' + \ | ||
'?q=is:open+is:reviewer' + \ | ||
'&o=MESSAGES&o=DETAILED_ACCOUNTS' | ||
response = self.session.get(url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not:
response = self.session.get(
self.url,
params={'q': 'is:open+is:reviewer', 'o': ['MESSAGES', 'DETAILED_ACCOUNTS']})
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, because requests will percent-encode the :
characters, and gerrit doesn't like that. :(
Aww... no. :( Time to change that pw. |
0d6a9f7
to
41f8817
Compare
@ryneeverett, updated and rebased. |
LGTM |
It works!
I noticed while doing this that the IssueService.validate_config call is still
non-idiomatic, fwiw.