Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 400168

Summary: implement Gerrit Remote API
Product: z_Archived Reporter: Miles Parker <milesparker>
Component: MylynAssignee: Miles Parker <milesparker>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastien.dubois, steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Bug Depends on: 400167, 400356, 402792, 406036    
Bug Blocks:    

Description Miles Parker CLA 2013-02-06 21:20:29 EST
Implement Remote API (bug 400167) for Gerrit REST API. Much of this code will be refactored from existing implementation. (e.g. in GerritUtil)
Comment 1 Miles Parker CLA 2013-03-08 19:58:47 EST
See bug 400270 comment 9 and https://git.eclipse.org/r/#/c/11012/ to show how we'll leverage the API.
Comment 2 Miles Parker CLA 2013-04-11 23:18:46 EDT
Please review https://git.eclipse.org/r/#/c/11012.

•Improve Remote API, separating consumer and observer concerns
•Remote API now fully decouples remote access from UI
•Editor and navigator interactions are now fully synchronized
•Implement changes for Gerrit Remote API
•Update Gerrit ChangeDetailX
•Implement additional Gerrit Remote Factories applications
•Fix update bugs affecting patch set and review detail sections
•Additional testing

Note that this is another 3k line wonder. Sorry, I *really* tried to separate things out more, but beyond removing the model stuff I couldn't find any opportunities. The Remote API changes are signficant in themselves, and I had to make the Gerrit implementation changes to match the Remote API so that the thing would build. All of this includes both model and UI components which aren't separable. Finally, main drivers for these improvements are updating issues such as bug 404470  and bug 404470 and the desire to remove all Gerrit Remote calls from the UI itself. It seems silly to make all of these changes without actually including the improvements that they facilitate.. That said, I'm open to ideas for breaking this down more. :)
Comment 3 Steffen Pingel CLA 2013-04-16 07:47:49 EDT
Thanks Miles. I'll bootstrap on the latest of https://git.eclipse.org/r/#/c/11012/.
Comment 4 Miles Parker CLA 2013-04-16 14:46:38 EDT
I'm seeing some occasional issues with the ReviewNavigator missing remote notifications from patch set openings. Investigating that.
Comment 5 Miles Parker CLA 2013-04-16 21:03:08 EDT
(In reply to comment #4)
> I'm seeing some occasional issues with the ReviewNavigator missing remote
> notifications from patch set openings. Investigating that.

I have a fix for those issues. I'm working on getting comments within a patch set to update properly and when I have that (prob. tmrw) I'll upload a new change for both.
Comment 6 Steffen Pingel CLA 2013-05-03 02:41:50 EDT
Miles, what's still left to do here?
Comment 7 Miles Parker CLA 2013-05-03 13:25:21 EDT
We still have to do the push side :). bug 406036
Comment 8 Steffen Pingel CLA 2013-06-03 09:16:58 EDT
Miles, what is left to do here?
Comment 9 Miles Parker CLA 2013-06-03 13:25:17 EDT
"We still have to do the push side :)." This isn't needed for any planned 2.0 functionality, so let's push it off until just after Kepler.
Comment 10 Miles Parker CLA 2013-10-15 15:51:26 EDT
Marking as complete as we have decided that push API is no longer needed / in scope.