Dear Mr/Ms,
I am very excited to read the slide "Gerrit: how to cook a plugin in only 10 mins". Now I have a problem about how to build a gerrit plugin to display all the projects' name. Could you help me?
Firstly, I built the gerrit platform and achieved the servertime gerrit plugin (the example in the slide). In the attachment, you can find the achievement of this step (servertime.png).
Secondly, I followed the flow of the servertime gerrit plugin, I build a new java file (ProjectList.java), and I want to get the list of all the projects' name in the Gerrit through this projectlist gerrit plugin. In the attachment,I just write the head of class ProjectList (projectlist.png), I don't know whether it is right. Could you tell me how to write the class ProjectList to get all the projects' name?
I am looking forward to hearing from you.
Best Wishes,
Zhaoguo Liu
National Key Laboratory of Cognitive Neuroscience and Learning
No. 19, XinJieKouWai St., HaiDian District,
Beijing 100875, P. R. China