From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: Bjorn Helgaas <helgaas@kernel.org>,
ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] Topics for the Maintainer's Summit
Date: Wed, 4 Sep 2019 15:08:43 +0300 [thread overview]
Message-ID: <20190904120843.GD4811@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20190903172708.qrvaad2paze6ifhz@chatter.i7.local>
Hi Konstantin,
On Tue, Sep 03, 2019 at 01:27:08PM -0400, Konstantin Ryabitsev wrote:
> On Tue, Sep 03, 2019 at 09:07:00AM -0700, Linus Torvalds wrote:
> > I think some of the push-back to the GPU people wasn't from them not
> > inventing the group maintainership like Dave said, but from that being
> > presented as some kind of "this is the way to do it". When it's just
> > _one_ way to do it, and other groups have completely different
> > infrastructure and models..
> >
> > So I don't think we can force some workflows.
>
> For quite some time now I've been trying to fund some client-side
> tooling development around public-inbox (the software that drives
> lore.kernel.org). Eric Wong (the principal author of public-inbox), and
> I have had lengthy chats about potential functionality of such tool, and
> what we envision can be described as "local patchwork with a mutt-like
> interface":
>
> - It would use public-inbox repositories to track new patches and
> conversations, so it would no longer be necessary to subscribe to the
> actual mailing list(s). Getting new mail would be equivalent to a "git
> pull".
> - It would have an equivalent of notmuch search, so instead of needing
> to go to lore.kernel.org, you could search the entire mailing list
> locally and perform actions on the results found.
> - Just like Patchwork, it would keep track of new patches and series of
> patches, recognize when new patch/series revisions are posted, track
> reviewed-by's, tested-by's, etc, and provide useful maintainer
> functionality, such as showing interdiffs between revisions.
I've been thinking about this for about a year now. One issue that makes
this difficult is that many M[UTD]A software mangle e-mails in a way
that make extracting information automatically pretty painful. Google's
answer to this was Gerrit, which solved this particular issue, but
disrupted the e-mail-based workflow in a way that is not acceptable to
many developers (myself included). A better, in my opinion, solution
would have been standardisation of a format to exchange review
information. Quite obviously going for a markup language (be it XML,
json, yaml or whatever is hype today) is a no-go, given that we would
destroy everybody's workflow again. My idea was to use a review format
that is as close to e-mail as possible (with > quote markers and
everything that people are already familiar with). Of course M[UTD]A
software would still mangle it, but given reasonable M[TD]As, I think we
could teach some of the MUAs commonly used (mutt comes to mind) to
behave properly (through plugins, scripts, settings files, ...). E-mails
that would not be mangled through the process would be easily parsable
by the tool you would like to develop. That would not give us full
coverage, but if we manage to establish such an end-to-end solution, we
could then push it to more MUAs. This would allow to tackle this complex
problem one step at a time, while not alienating developers by asking
them to leave their MUA. Over time we could the develop more tooling
around that review exchange format, once a large enough portion of
exchanged reviews will follow it.
I know I'm dreaming, but is anyone else sharing this dream ?
> - Patches and series can be pre-filtered by keywords or file paths (e.g.
> if you're only interested in arch/arm64/mm/.*, the tool would ignore
> any patches/revisions not touching files in that dir).
> - It would support creating workflows and conditional response actions,
> e.g. "create new branch, apply this series, run these test suites; if
> tests succeed, merge into branch `for-linus`; if merge successful,
> reply to submitter with 'thanks, applied!'; if all went well, archive
> the series; if any steps failed, flag the series for my review".
> - The workflows would run in the background, including using external
> systems if preferred. Maintainers can contribute their workflows to a
> shared repository so others can easily copy and adapt them.
>
> That's obviously not a complete list, but it seems to me that something
> like this would be quite welcome by a lot of maintainers (at least,
> everyone I've talked to about this got really excited).
I'd say it sounds too good to be true. Being often on the move I would
love a tool that would let me work offline. Even when online, being able
to run queries locally and script actions without the need for a web
browser interface would be amazing.
> Eric Wong is
> quite willing to work on something like this, but he is not in a
> position to donate so much of his time and effort (especially on top of
> maintaining public-inbox) -- so if we want to see this happen, we need
> to come up with some funds.
>
> I've inquired internally at the Foundation, and while there's general
> willingness to fund such initiatives, the People In Charge Of Money want
> to see a buy-in from maintainers. The natural instinct is to talk to
> Greg, but I believe he's quite happy with his workflow, so while I'm
> sure he'd be happy to feign excitement, he's unlikely to be interested
> in the tool. Linus is not the right person to talk to either, because he
> doesn't deal with patches and tests, so wouldn't benefit from such tool.
>
> So, my plan was to track down Shuah (who's also at the Foundation) and
> Laura (who is on the TAB) at the upcoming summit to float this idea with
> them to see what they think. However, since we're talking about
> lore.kernel.org, tooling and workflows quite a bit already, I figured
> I'll bring this up here as well.
>
> It just seems that every maintainer I spoke with is generally making
> things "sort-of work well enough" by applying a lot of baling wire
> around mail clients, patchwork.kernel.org, gitlab, or all of the above,
> and I'm wondering if everyone is happy to do that, or only doing that
> because a good tool written to fit with the "kernel development model"
> doesn't exist.
>
> So:
>
> - would a tool with such functionality be useful, or would every
> maintainer prefer to continue doing their own thing (in slightly
> different ways)?
> - would you (or your employer entity) be willing to participate in a
> fundraiser to help fund the development of such tool (in case we
> cannot get the LF to fully fund it)?
> - would it be okay if the tool is written in NPM/javascript?
>
> Okay, just kidding about the NPM bit. ;)
You won't fool us, everybody knows it will be written in Rust ;-)
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2019-09-04 12:08 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-30 3:17 Theodore Y. Ts'o
2019-08-30 12:01 ` Wolfram Sang
2019-08-30 13:58 ` Shuah Khan
2019-08-30 14:36 ` shuah
2019-08-30 13:58 ` Bjorn Helgaas
2019-09-02 15:09 ` Shuah Khan
2019-09-02 20:42 ` Dave Airlie
2019-09-02 22:22 ` Theodore Y. Ts'o
2019-09-03 2:35 ` Olof Johansson
2019-09-03 3:05 ` Randy Dunlap
2019-09-03 13:29 ` Laura Abbott
2019-09-03 16:07 ` Linus Torvalds
2019-09-03 17:27 ` Konstantin Ryabitsev
2019-09-03 17:40 ` Bjorn Helgaas
2019-09-06 10:21 ` Rob Herring
2019-09-19 1:47 ` Bjorn Helgaas
2019-09-19 20:52 ` Rob Herring
2019-09-20 13:37 ` Mark Brown
2019-09-03 17:57 ` Mark Brown
2019-09-03 18:14 ` Dan Williams
2019-09-03 21:59 ` Wolfram Sang
2019-09-04 8:34 ` Jan Kara
2019-09-04 12:08 ` Laurent Pinchart [this message]
2019-09-04 13:47 ` Konstantin Ryabitsev
2019-09-05 8:21 ` Jani Nikula
2019-09-06 10:50 ` Rob Herring
2019-09-06 19:21 ` Linus Torvalds
2019-09-06 19:53 ` Olof Johansson
2019-09-09 8:40 ` Jani Nikula
2019-09-09 9:49 ` Geert Uytterhoeven
2019-09-09 10:16 ` Konstantin Ryabitsev
2019-09-09 10:59 ` Geert Uytterhoeven
2019-09-09 12:37 ` Konstantin Ryabitsev
[not found] ` <20190911095305.36104206A1@mail.kernel.org>
2019-09-11 11:03 ` Christoph Hellwig
2019-09-13 8:19 ` Matthias Brugger
2019-09-05 7:01 ` Jani Nikula
2019-09-05 15:26 ` Theodore Y. Ts'o
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=20190904120843.GD4811@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=helgaas@kernel.org \
--cc=konstantin@linuxfoundation.org \
--cc=ksummit-discuss@lists.linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox