gerrit error with sync-gerrit-changes.py
Bug #1013577 reported by
Milo Casagrande
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro patch metrics |
Fix Released
|
High
|
Milo Casagrande |
Bug Description
Since a couple of days we are getting GerritError from the cronjob that executes 'sync-gerrit-
I attach the output of the error we receive.
Related branches
lp:~milo/linaro-patchmetrics/bug1013577
- Paul Sokolovsky: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedapps/patchmetrics/gerrit.py (+1/-1)
Changed in linaro-patchmetrics: | |
assignee: | nobody → Milo Casagrande (milo) |
Changed in linaro-patchmetrics: | |
milestone: | none → 2012.06 |
importance: | Undecided → Medium |
Changed in linaro-patchmetrics: | |
status: | Confirmed → In Progress |
Changed in linaro-patchmetrics: | |
status: | In Progress → Fix Committed |
Changed in linaro-patchmetrics: | |
status: | Fix Committed → In Progress |
Changed in linaro-patchmetrics: | |
status: | In Progress → Fix Committed |
Changed in linaro-patchmetrics: | |
status: | In Progress → Fix Committed |
Changed in linaro-patchmetrics: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Update on this bug:
The problem here is that the version of gerrit of android-review is rather recent, a patched version from the latest release. What this new patched version introduced, is that quite a lot of JSON-RPC calls have been removed with a newly, undocumented, REST API.
Undocumented in the sense that there is not a real 1:1 comparison of the old RPC with the new REST calls, so other than guessing a little bit from the code, talking on IRC with gerrit developers, and using FireBug on android-review to see what happens, there is not much else that can be done.
I have a rather complete query string that might substitute the JSON-RPC call we were using, I have to better test it locally and see if the JSON output we get from this new version is the same or compatible as the old one (hopefully it is...).