All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	Rob Herring <robh@kernel.org>,
	users@linux.kernel.org, workflows@vger.kernel.org
Subject: Re: RFC: Github PR bot questions
Date: Thu, 17 Jun 2021 18:53:53 +0300	[thread overview]
Message-ID: <YMtwEURkkz9KKikh@pendragon.ideasonboard.com> (raw)
In-Reply-To: <YMtu66NhcXLUMmVC@infradead.org>

Hi Christoph,

On Thu, Jun 17, 2021 at 04:48:59PM +0100, Christoph Hellwig wrote:
> On Thu, Jun 17, 2021 at 11:25:56AM -0400, Steven Rostedt wrote:
> > Let me see if I understand the proposed work flow, and perhaps add some
> > myself.
> > 
> > 1) Someone clones Linus's tree or some subsystem tree into their github
> >    account.
> > 
> > 2) Does some work.
> > 
> > 3) Pushes it to their account on github.
> > 
> > 4) Runs git pull-request that will go to pulls@lists.kernel.dev
> > 
> > 5) Then this bot can pull the request into a kernel.org tree.
> > 
> > 6) Runs checkpatch on each commit.
> > 
> >    On errors, sends a report to the submitter, and stops here.
> > 
> > 7) Could have the zero-day-bot run against it.
> > 
> >    On errors, send it back to the submitter.
> > 
> > 8) If it passes all the above, it then gets broken into a patch series and
> >    then sent out to the mailing lists and Cc's maintainers based on the
> >    get_maintainers list. Probably should be filtered a bit.
> > 
> > Is this what is being proposed?
> 
> Minus checkpatch.pl which actively causes harm these days this would be
> incredibly useful.  I'm all for this while I'm totally opposed to
> plugging into the fashionable SAAS desaster of the day.

For the heuristics-based checkers that don't provide a 100% trustable
pass/fail result, we could send a report to the submitter with the
option to override the checker and go ahead, or submit a fixed pull
request. Assuming that good faith would be the norm rather than the
exception, I would expect submitters to take this into account more
often than not, which can reduce the load on maintainers.

This however doesn't solve the problem of differences between subsystems
in, for instance, coding style.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2021-06-17 15:54 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16 17:18 RFC: Github PR bot questions Konstantin Ryabitsev
2021-06-16 17:24 ` Drew DeVault
2021-06-16 17:47 ` Johannes Berg
2021-06-16 17:55   ` Konstantin Ryabitsev
2021-06-16 18:13     ` Miguel Ojeda
2021-06-17 17:07       ` Serge E. Hallyn
     [not found] ` <CAJhbpm_BgbSx581HU0mTCkcE28n_hRx=tv74az_mE2VBmPtrVA@mail.gmail.com>
2021-06-16 18:05   ` Konstantin Ryabitsev
2021-06-16 18:11 ` Miguel Ojeda
2021-06-16 18:22   ` Konstantin Ryabitsev
2021-06-16 18:38     ` Miguel Ojeda
2021-06-16 20:10 ` Willy Tarreau
2021-06-17 15:11   ` Konstantin Ryabitsev
2021-06-17 15:25     ` Willy Tarreau
2021-06-16 20:24 ` Linus Torvalds
2021-06-17 15:09   ` Konstantin Ryabitsev
2021-06-16 21:11 ` Rob Herring
2021-06-16 21:18   ` Stefano Stabellini
2021-06-16 21:59     ` Rob Herring
2021-06-16 22:33   ` James Bottomley
2021-06-17 14:18     ` Rob Herring
2021-06-17 14:27       ` James Bottomley
2021-06-17  6:52   ` Mauro Carvalho Chehab
2021-06-17  8:20     ` Dmitry Vyukov
2021-06-17  8:55       ` Mauro Carvalho Chehab
2021-06-17  9:33         ` Dmitry Vyukov
2021-06-17  9:52           ` Geert Uytterhoeven
2021-06-17 14:33         ` Rob Herring
2021-06-17 15:24           ` Mauro Carvalho Chehab
2021-06-17 15:38             ` Rob Herring
2021-06-17 15:45             ` Christoph Hellwig
2021-06-17 14:02     ` Rob Herring
2021-06-17 14:47   ` Konstantin Ryabitsev
2021-06-17 15:25     ` Steven Rostedt
2021-06-17 15:48       ` Christoph Hellwig
2021-06-17 15:53         ` Laurent Pinchart [this message]
2021-06-17 17:15     ` Rob Herring
2021-06-17  6:37 ` Dmitry Vyukov
2021-06-17  7:30 ` Greg KH
2021-06-17 14:59   ` Konstantin Ryabitsev
2021-06-17  8:24 ` Christoph Hellwig
2021-06-17  8:33   ` Jiri Kosina
2021-06-17  9:52     ` Dmitry Vyukov
2021-06-17 10:09       ` Christoph Hellwig
2021-06-17 14:57         ` Konstantin Ryabitsev
2021-06-17 15:16           ` Mark Brown
2021-06-17 15:24             ` Laurent Pinchart
2021-06-17 16:36               ` Geert Uytterhoeven
2021-06-17 18:43               ` Miguel Ojeda
2021-06-17 15:31             ` Paolo Bonzini
2021-06-17 17:06               ` Stefano Stabellini
2021-06-17 22:35                 ` Jiri Kosina
2021-06-17 14:23       ` Miguel Ojeda
2021-06-17 20:42 ` Brendan Higgins

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=YMtwEURkkz9KKikh@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=hch@infradead.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=robh@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=users@linux.kernel.org \
    --cc=workflows@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.