From: Simon Marchi <simark@simark.ca>
To: Andrew Pinski <pinskia@gmail.com>, Tom Tromey <tom@tromey.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: some thoughts on gerrit
Date: Mon, 21 Oct 2019 01:49:00 -0000 [thread overview]
Message-ID: <6957b59a-b0f0-0bd2-82cb-b249f98ec346@simark.ca> (raw)
In-Reply-To: <CA+=Sn1kES73xVmzismyyf3XADKGm98+X6_QoZ5BmhOUnkWqYUQ@mail.gmail.com>
On 2019-10-20 7:16 p.m., Andrew Pinski wrote:
> Hi,
> First, we use gerrit internally at Marvell. I have another benefit
> for gerrit, which is not listed here. You can configure gerrit to
> hook into an automation service which will give then automated
> feedback. E.g. we use it to run check patch (on Linux kernel patches
> and others) and then if the patch builds and tests it on a few
> platforms.
> I don't know if you could use patchworks to do that though.
>
> Thanks,
> Andrew Pinski
Hi Andrew,
Indeed, this is part of what we want to do, make it really easy to test
a given patch on the buildbot.
Git-based patch systems like Gerrit make it really easy to do that. Because
people push git commits, it's always works to just check out those commits to
test them.
With email patches, we can try to apply patches, but they may not apply cleanly,
either because the person didn't use git-send-email, or the patches were based
on an older commit.
It seems like patchwork, has an event API that can tell you when a new patch
is detected, and that can be used to trigger CI builds:
https://patchwork.readthedocs.io/en/latest/usage/overview/#events
The CI system can then attach some metadata as "checks":
https://patchwork.readthedocs.io/en/latest/usage/overview/#checks
Here's a FOSDEM video I found about these features:
https://www.youtube.com/watch?v=zSexR5c4Vxk
Simon
next prev parent reply other threads:[~2019-10-21 1:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-20 14:37 Tom Tromey
2019-10-20 22:25 ` Sergio Durigan Junior
2019-10-20 22:30 ` Sergio Durigan Junior
2019-10-21 9:02 ` Andreas Schwab
2019-10-21 20:59 ` Christian Biesinger via gdb-patches
2019-10-21 21:24 ` Sergio Durigan Junior
2019-10-21 21:25 ` Sergio Durigan Junior
2019-10-20 23:17 ` Andrew Pinski
2019-10-21 1:49 ` Simon Marchi [this message]
2019-10-21 3:26 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6957b59a-b0f0-0bd2-82cb-b249f98ec346@simark.ca \
--to=simark@simark.ca \
--cc=gdb-patches@sourceware.org \
--cc=pinskia@gmail.com \
--cc=tom@tromey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox