On Feb 13, 2019, at 12:34 PM, 'Alice Kober-Sotzek' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:FYI: We are working on adding first-class CI integration in Gerrit. See this link for the full picture. You'll likely see some Gerrit changes for this popping up soon.
--
--
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.
On 13 Feb 2019, at 20:13, Nasser Grainawi <nas...@codeaurora.org> wrote:On Feb 13, 2019, at 12:34 PM, 'Alice Kober-Sotzek' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:FYI: We are working on adding first-class CI integration in Gerrit. See this link for the full picture. You'll likely see some Gerrit changes for this popping up soon.Thanks for the heads up. Reading that link, I see a lot of similarities with the task plugin [1].Did you include in your research an analysis of currently available options for solving the problems you outlined? I'd be very interested to learn how you think the first-class CI support would co-exist with or replace the task plugin.
On 13 Feb 2019, at 20:13, Nasser Grainawi <nas...@codeaurora.org> wrote:On Feb 13, 2019, at 12:34 PM, 'Alice Kober-Sotzek' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:FYI: We are working on adding first-class CI integration in Gerrit. See this link for the full picture. You'll likely see some Gerrit changes for this popping up soon.Thanks for the heads up. Reading that link, I see a lot of similarities with the task plugin [1].Did you include in your research an analysis of currently available options for solving the problems you outlined? I'd be very interested to learn how you think the first-class CI support would co-exist with or replace the task plugin.Oh yes, some consolidation would be *super useful* and more productive for everyone :-)@Alice why not creating a markdown document in the design folder of the Gerrit project and accepting reviews? GerritForge is maintaining a native integration with Jenkins (see https://github.com/jenkinsci/gerrit-code-review-plugin) and we would be more than happy to contribute to the initiative, we can put resources into it also.Luca.
Nasser
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.
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
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.
Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Thanks for the design document Alice.1. According to the design document it looks like this is all meant to be implemented in core Gerrit. In the spirit of limiting core Gerrit's responsibilities I would strongly suggest to move all of it into a plugin and only create 1-2 extension points in Gerrit.
2. Looking at the design Gerrit "needs to know" a lot about the surrounding CI system, who is meant to run which test/check etc., this model seems fragile to me and it also goes against limiting Gerrit's responsibilities and the effort to modularize tasks that lies outside of those core responsibilities.Core Gerrit doesn't know how-to; replicate git projects to other servers, supply hooks and webhooks, delete a project, set access rights for a single user etc. But with this change it would more or less take on the responsibility of job-scheduler for the CI system.I think it's a great idea to introduce the "check/checker" concept in Gerrit but I think Gerrit should only be concerned with:* Are there checks that needs to be performed for this change/ps?* Are any of those checks blocking submission?* What are the statuses of those checks?Apart from these three main questions there should be some data that Gerrit is not concerned with but might be valuable to the user like:* How many checks will be performed?* What are they checking?* How are they progressing?* Where are these checks run?InfrastructureCommunication between entities might be best done through a messaging service.
The way I picture this whole thing to come together is with these components:Gerrit:* Check if there are checks that needs to be run before created change/ps is submitable.* Checking the state of said checks.* Expose data from checks through REST API (f.i. as a property in ChangeInfo, as suggested in the design document)* Responsible for storing data for checks.CI-Plugin:* Keeps track of which endpoint to ask for checks.* Asks this endpoint for any tests that should be run before a created change/ps can be submitted.* Relay the meta-data and state for these checks back to core Gerrit
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.
Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich
To unsubscribe, email repo-discuss...@googlegroups.com
On Feb 13, 2019, at 12:34 PM, 'Alice Kober-Sotzek' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:FYI: We are working on adding first-class CI integration in Gerrit. See this link for the full picture. You'll likely see some Gerrit changes for this popping up soon.
--
--
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.
On 13 Feb 2019, at 20:13, Nasser Grainawi <nas...@codeaurora.org> wrote:On Feb 13, 2019, at 12:34 PM, 'Alice Kober-Sotzek' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:FYI: We are working on adding first-class CI integration in Gerrit. See this link for the full picture. You'll likely see some Gerrit changes for this popping up soon.Thanks for the heads up. Reading that link, I see a lot of similarities with the task plugin [1].Did you include in your research an analysis of currently available options for solving the problems you outlined? I'd be very interested to learn how you think the first-class CI support would co-exist with or replace the task plugin.Oh yes, some consolidation would be *super useful* and more productive for everyone :-)@Alice why not creating a markdown document in the design folder of the Gerrit project and accepting reviews? GerritForge is maintaining a native integration with Jenkins (see https://github.com/jenkinsci/gerrit-code-review-plugin) and we would be more than happy to contribute to the initiative, we can put resources into it also.
Luca.Nasser
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+unsubscribe@googlegroups.com.
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
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+unsubscribe@googlegroups.com.
On Feb 13, 2019, at 12:34 PM, 'Alice Kober-Sotzek' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:FYI: We are working on adding first-class CI integration in Gerrit. See this link for the full picture. You'll likely see some Gerrit changes for this popping up soon.I'm guessing this code dump is the changes you're referring to? https://gerrit-review.googlesource.com/q/hashtag:%22checks-api%22+(status:open%20OR%20status:merged)
Doesn't feel very open source or collaborative. I expect better in the Gerrit community.
To be clear, I'm all for improving Gerrit's CI integration ability. I've spent years doing it. Those improvements can start with 1 change that solves a problem or makes something better. Then we work together as a community to solve the next problem. I think many in the community would prefer that approach to shared problem spaces like this.
Hi all,
When I joined the Gerrit project three years ago, I was proud to work on a truly open-source code review system that is not only on-par with other offerings, but a thought leader in various areas. Today, I still am.
Gerrit has features that other systems implemented only recently or that they just don’t have. GitHub just announced draft pull requests. Gerrit has two concepts for that for about two years and we had drafts for a very long time before that. Gerrit supports cross-repo submissions and has the most fine grained per-ref-permission model in the ecosystem. Most other systems don’t even dare to implement that.
But the reality is also that Gerrit as a project is behind on some important recent developments. From where I stand, CI/CD is the biggest of those. If you look at other systems, they all offer first class CI integration and the users expect no less than that. I had the pleasure to watch a talk at FOSDEM earlier this month that showed how to integrate GitLab with 26 different cloud providers using OpenStack to run tests and a deployment. This is the state of the art. Users expect their code review system to integrate into their DevOps stack seamlessly as part of it's core functionality and this is where we have to deliver as a project.
Learning is not a one-way street and the other projects are obviously learning from us, so I firmly believe we should learn from them as well. This doesn’t mean that we are copying anyone, but it really shouldn’t stop us from adopting best-practices.
I don’t want to get too deep into the technical parts of the discussion of doing this as a 1st party vs plugin here. But let me say one thing: The single most frequent argument I hear from people switching off of Gerrit to other systems is that using Gerrit is not ‘seamless’ it comes with friction from configuration and integration overhead. I think we have the opportunity to improve on that point with CI/CD and we should use it.
Thanks for keeping the discussion focussed around how we can serve users best.
Patrick
Hi folks,I think we'll all always find things to improve in Gerrit, at least I have for the past 10 years and I don't expect that to change :-). As you say, user expectations change and we want to stay relevant and useful. I'm hoping to dispel any notion that I think Gerrit's features, extensions, or core functionality should remain static. I do hope we can improve Gerrit in ways that solve specific problems and don't short-change the amazing flexibility Gerrit has. As Patrick noted, Gerrit does things that other systems don't even try for, and I agree that its CI integration should be just as powerful and flexible as the rest.Meeting at that time next week would be nice. I look forward to talking to you then and I'll try to prime the discussion with some review comments on the uploaded design change (thanks for pushing that).
The single most frequent argument I hear from people switching off of Gerrit to other systems is that using Gerrit is not ‘seamless’ it comes with friction from configuration and integration overhead.
On Fri, Feb 15, 2019 at 11:46 PM Nasser Grainawi <nas...@codeaurora.org> wrote:Hi folks,I think we'll all always find things to improve in Gerrit, at least I have for the past 10 years and I don't expect that to change :-). As you say, user expectations change and we want to stay relevant and useful. I'm hoping to dispel any notion that I think Gerrit's features, extensions, or core functionality should remain static. I do hope we can improve Gerrit in ways that solve specific problems and don't short-change the amazing flexibility Gerrit has. As Patrick noted, Gerrit does things that other systems don't even try for, and I agree that its CI integration should be just as powerful and flexible as the rest.Meeting at that time next week would be nice. I look forward to talking to you then and I'll try to prime the discussion with some review comments on the uploaded design change (thanks for pushing that).Great. :-)I set up a meeting and sent you an invite. Could anybody else who would like to join please send me a message so that I can add you too?For anybody deciding on short notice: You can directly join via https://meet.google.com/gnt-vuaf-dme during the meeting.
Thanks for the heads up. Reading that link, I see a lot of similarities with the task plugin [1].Did you include in your research an analysis of currently available options for solving the problems you outlined? I'd be very interested to learn how you think the first-class CI support would co-exist with or replace the task plugin.Oh yes, some consolidation would be *super useful* and more productive for everyone :-)@Alice why not creating a markdown document in the design folder of the Gerrit project and accepting reviews? GerritForge is maintaining a native integration with Jenkins (see https://github.com/jenkinsci/gerrit-code-review-plugin) and we would be more than happy to contribute to the initiative, we can put resources into it also.
Hi there,
As further input to the discussion, I would like to present the storage format that we intend to use. It was written by Edwin, who is on holidays, so I’m uploading it for him.
https://gerrit-review.googlesource.com/c/gerrit/+/214745
As you can see we have anticipated scaling up this design to 100s of checks per repository and 10,000s of checks per Gerrit instance, and we have further ideas on how we could support millions of checks.
So we think that this design will be able to address even the most heavily loaded Gerrit instances without performance concerns.
cheers,
On Feb 21, 2019, at 1:17 PM, Martin Fick <mf...@codeaurora.org> wrote:
"Task WUI"
We currently have a task WUI internally, it is GWT based and it has not yet
been ported to polygerrit. It is fairly trivial, it mainly lists all the tasks
which need to be done using the ready-hint or failed-hints. There is also a
list all tasks view (even done ones).
9) We do hope to port this to polygerrit sooner than later. We are reaching a
point in our "eliminate the fork" work, that we might be able to focus on UI
stuff fairly soon (yay!). Naturally we welcome any hints on how to create
something like this from a plugin. We mainly just need a table of line items
returned from the query rest API. Eventually we would like it to look more
like a GANT chart, but a flat table will work for now, and a small step up
would be a tree.
--
The Qualcomm Innovation Center, Inc. is a member of Code
Aurora Forum, hosted by The Linux Foundation