workflows.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Vyukov <dvyukov@google.com>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: Daniel Axtens <dja@axtens.net>,
	Han-Wen Nienhuys <hanwen@google.com>,
	workflows@vger.kernel.org
Subject: Re: Lyon meeting notes
Date: Fri, 1 Nov 2019 18:35:36 +0100	[thread overview]
Message-ID: <CACT4Y+bu=tZNWRMOHXEDb8=TKwcrJgJqeU9_U9YyAUyF1kLWiQ@mail.gmail.com> (raw)
In-Reply-To: <20191101172910.x7neoilwaotj5njb@pure.paranoia.local>

On Fri, Nov 1, 2019 at 6:29 PM Konstantin Ryabitsev
<konstantin@linuxfoundation.org> wrote:
>
> On Wed, Oct 30, 2019 at 09:35:08AM +1100, Daniel Axtens wrote:
> > > KR: write local command to work with patchwork.
> > We have a couple of local commands already, pwclient and git-pw. Is
> > there something new that would be helpful?
> >
> > As an aside, I know offline stuff has come up a few times, and I think
> > it should be reasonably straightforward to make a caching API client
> > that can buffer your requests until you're next online. I don't have any
> > cycles to do this, but I'm happy to help anyone who does.
>
> This is part of the tooling work that we discussed and I plan to have a
> more elaborate proposal finalized next week. We are hoping to fund the
> development of two closely related tools, one CLI and another using the
> browser interface, using a web server available over a localhost (or a
> local network) connection.

Hi Konstantin,

I am not sure if you are implying it here or not, but I would assume
it would be useful to run an actual "web" copy of this server over a
federated feed as well. Because... why not? it should be easy to do
and provide unified experience for online/local modes.

Otherwise looks good.

> The overall set of features for the web-interface would be:
>
> 1. Run the web interface locally in a container, to be accessed over
>    localhost
> 2. Use public-inbox feeds as the source of incoming patches, allowing to
>    pre-filter by:
>    - list-id
>    - from/to/cc
>    - keywords
>    - patch file path
> 3. Integrate natively with the local repository to allow the following
>    functionality:
>    - apply series directly to the repo, from the proper base-commit parent
>    - recognize patches that have already been applied and auto-archive
>      them as necessary (current kernel.org's patchwork-bot functionality)
> 4. Offer code-review features using the web interface (something
>    similar to gerrit), with outgoing email sent back out to the
>    submitter (plus list, cc's, etc), using the reviewer's own From: and
>    smtp server information
>
> For the lack of a better term, I'm calling it "local patchwork", though
> it's more likely to be a closely related spin-off that would hopefully
> share a lot of code with patchwork and be able to both benefit from
> upstream and to commit code back up for any shared functionality.
>
> Caveat: this is not finalized and I will be putting up the proper
> proposal up for a discussion here. Since we're talking about both a CLI
> and a web interface to largely the same functionality, it's possible
> that instead of attempting to run patchwork in a container, it would
> make a lot more sense to run a daemon exposing a REST API that both the
> CLI tool and the web tool would consume. However, this would require
> rewriting a whole lot of things from scratch and would end up a lot more
> difficult to both fund and develop -- which is why I'm leaning towards
> adding these features to Patchwork instead.
>
> -K

  reply	other threads:[~2019-11-01 17:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 15:41 Lyon meeting notes Han-Wen Nienhuys
2019-10-29 22:26 ` Eric Wong
2019-10-29 23:13   ` Bjorn Helgaas
2019-11-01 20:07     ` Konstantin Ryabitsev
2019-11-01 20:46       ` Geert Uytterhoeven
2019-11-01 21:30       ` Theodore Y. Ts'o
2019-11-02  1:17         ` Eric Wong
2019-11-01 21:34     ` Dmitry Vyukov
2019-10-29 22:35 ` Daniel Axtens
2019-11-01 17:29   ` Konstantin Ryabitsev
2019-11-01 17:35     ` Dmitry Vyukov [this message]
2019-11-02 11:46     ` Steven Rostedt
2019-10-30  9:21 ` Jonathan Corbet

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='CACT4Y+bu=tZNWRMOHXEDb8=TKwcrJgJqeU9_U9YyAUyF1kLWiQ@mail.gmail.com' \
    --to=dvyukov@google.com \
    --cc=dja@axtens.net \
    --cc=hanwen@google.com \
    --cc=konstantin@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).