Hi all,I am pleased to announce that I have finalised the series of patches for the (2nd attempt) introduction of Scripting Plugins support for Gerrit and a bundled master pre-built WAR file is available for download.
When are scripting plugins going to be included officially in Gerrit ?It actually depends on you :-) If you like the feature and provide your feedback / score
Am Mittwoch, 23. April 2014 10:10:42 UTC+2 schrieb lucamilanesio:Hi all,I am pleased to announce that I have finalised the series of patches for the (2nd attempt) introduction of Scripting Plugins support for Gerrit and a bundled master pre-built WAR file is available for download.VRFY+1 ;-)Works as expected.
It's really nice idea to bundle new plugins in release.war, unless we support installing plugins from different locations out of the box.It's also nice idea to effectively binary fork Gerrit.
I wonder if we could apply the binary fork pattern for other Gerrit series that are pending for review for years now:* multi-master* secure-store* auth-backend* inline-edit
;-)When are scripting plugins going to be included officially in Gerrit ?It actually depends on you :-) If you like the feature and provide your feedback / scoreI would argue: it also depends on you ;-)Recently I had a crazy idea to disallow push changes for contributors, who don't perform review.The idea is that simple:Every new contributor would get (say) 5 change-upload points.That would allow her to upload 5 changes to Gerrit.Attempt to upload change number 6 would fail with:"Your change-upload points are empty now, please perform code review to acquire new change-upload points!And of course Code-Review+1/-1 without any comments is not a valid review ;-)Every review would be count as 1 change-upload point.The end line of this feature: Review other folks changes, if you expect your changes to be reviewed ...
I wonder if we could apply the binary fork pattern for other Gerrit series that are pending for review for years now:* multi-master* secure-store* auth-backend* inline-editI was thinking about making the Job parametric:- receive a Gerrit topic as parameter- merge all the commits in the topic- trigger a build and archive the artifact as Gerrit-master-<topic>
On 26 Apr 2014, at 08:53, lucamilanesio <luca.mi...@gmail.com> wrote:I wonder if we could apply the binary fork pattern for other Gerrit series that are pending for review for years now:* multi-master* secure-store* auth-backend* inline-editI was thinking about making the Job parametric:- receive a Gerrit topic as parameter- merge all the commits in the topic- trigger a build and archive the artifact as Gerrit-master-<topic>I may actually create a Jenkins plugin for this :-)
On 26 Apr 2014, at 10:44, Dariusz Luksza <dariusz...@gmail.com> wrote:
>
> I have mixed filing about this idea. From one hand will make testing easier, since one don't need to set up dev environment and build gerrit on his own. The main question here is how many people would test such builds? Having them only for purpose of having them is giving us nothing.
There are two type of people that are benefiting from those builds:
a) Yourself: I typically don't trust builds on my local dev environment. Things always work locally (or at least should work). Having a CI of your topics is always useful :-)
b) Others (reviewers or not): looking at the code + having it working "out-of-the-box" help judging if that feature makes sense or not.
>
> From the other, this could make some confusion and since people culd run 'forks' and will refer to them as vanilla Gerrit. Also continuous rebasing is really painful.
It's not a fork but a continuous merge + build. It is really useful to understand *IF* your topic is still working if merged with master or not.
>
> IMO we should push those changes to be merged in master, not create "workarounds" to have forked binaries with requested features.
Yes, we are ... and having something working and demonstrate that the feature makes sense and works ... is always a good reason for encouraging a +1 :-)
At the end of the day, if merges to master and works fine ... is already a Verified +1 :-) So one first step to get it merged.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Job available and built successfully at:Please do a sanity check before announce it :-)
Am Samstag, 26. April 2014 23:51:33 UTC+2 schrieb lucamilanesio:Job available and built successfully at:Please do a sanity check before announce it :-)Thank you, works as expected ;-)Your help is very much appreciated.But, to support 100% browser workflow change-fabricator-plugin [1] ortopic to de-externalize it [2] need to be included in the war.
I think another topic to include into war is simpler and less noise during installation.Another question: You said you have installed scripting-reloaded series on gerrithub.io.Would it be an option to install inline-edit + create-change-action series on gerrithub.io too?
On 28 Apr 2014, at 10:37, David Ostrovsky <david.o...@gmail.com> wrote:
Am Samstag, 26. April 2014 23:51:33 UTC+2 schrieb lucamilanesio:Job available and built successfully at:Please do a sanity check before announce it :-)Thank you, works as expected ;-)Your help is very much appreciated.But, to support 100% browser workflow change-fabricator-plugin [1] ortopic to de-externalize it [2] need to be included in the war.OK, will amend the job with those.I think another topic to include into war is simpler and less noise during installation.Another question: You said you have installed scripting-reloaded series on gerrithub.io.Would it be an option to install inline-edit + create-change-action series on gerrithub.io too?Will upload first to staging (staging.gerrithub.io) and when it is stable will roll it out.In-line edit is a cool feature, for sure people would like it :-)
What is the Gerrit scripting plugins support ?For an overview of what scripting plugins are and how they provide benefit to the Gerrit eco-system, you can replay the slides of my last talk at the Gerrit User Summit @GooglePlex in Mountain View - CA:Where can I get Gerrit with this new feature ?
How can I install the "Gerrit with scripting plugin" ?
How can I write my first Scala and Groovy scripting plugin ?Writing a plugin using Scala or Groovy scripting language is very easy: just download the script into the Gerrit /plugins directory ... and you're done !(no restart, no compile, nothing at all ... it JUST WORKS !)David Ostrovsky has provided nice examples ready to be used at:When are scripting plugins going to be included officially in Gerrit ?
Hi all,I am very pleased to announce that the Gerrit scripting support has been merged on Gerrit master and will then be part of the next forthcoming Gerrit Ver. 2.10 release.I would like to give a very warm THANK YOU to all the people that reviewed and contributed to the merge of this topic: it has been a great Team effort, thanks again.