Re: RFC: Github PR bot questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxxxxxxxxx
> > 
> > 5) Then this bot can pull the request into a 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 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.


Laurent Pinchart

[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux