public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Siddhesh Poyarekar <siddhesh@gotplt.org>
To: DJ Delorie <dj@redhat.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [RFC] Auto-posting committed patches to this list?
Date: Thu, 11 Mar 2021 12:06:12 +0530	[thread overview]
Message-ID: <415836a4-4a99-45bb-62b2-d088fde2ac8e@gotplt.org> (raw)
In-Reply-To: <xn35x2qpgv.fsf@rhel8.vm>

On 3/11/21 10:03 AM, DJ Delorie wrote:
> 
> How much of the problem space would be solved if we only emailed commit
> "patches" directly to the patchwork system?  And how difficult would it
> be to get patchwork to properly match independent commit mails to
> existing patch series?
> 
Currently the matching logic depends on a checksum based on the diff 
part of the patch with the diff part of the commit.  There are some 
limitations in patchwork email parsing because of which on occasion it 
doesn't read the diff correctly, but it largely works.  In general, 
patches sent using git-send-email are parsed correctly and should result 
in correct matching.

There are two problems I'm trying to solve, one is of 1:1 correspondence 
between patchwork state and repo state and that will be solved by 
feeding commit patches directly to patchwork.

The other problem is visibility of commits that don't match mailing list 
content.  We allow, as part of policy, trivial changes to patches before 
they're committed but ideally one should always post the final version 
before commit.  We enforce this ideal case for patches that only contain 
trivial changes.  Having commits that don't match any existing patches 
in patchwork be posted on the mailing list for visibility plugs this 
gap, giving us confidence that every commit that went into the repo was 
at at least one point advertised on the list.

Siddhesh

  reply	other threads:[~2021-03-11  6:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 18:28 Siddhesh Poyarekar
2021-03-11  4:33 ` DJ Delorie
2021-03-11  6:36   ` Siddhesh Poyarekar [this message]
2021-03-11 16:37     ` DJ Delorie
2021-03-15  2:52       ` Siddhesh Poyarekar
2021-03-15 14:59 ` Paul Zimmermann
2021-03-15 15:02   ` Siddhesh Poyarekar
2021-03-16  2:24 ` Carlos O'Donell
2021-03-16  3:52   ` Siddhesh Poyarekar
2021-03-16  3:55     ` Carlos O'Donell

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=415836a4-4a99-45bb-62b2-d088fde2ac8e@gotplt.org \
    --to=siddhesh@gotplt.org \
    --cc=dj@redhat.com \
    --cc=libc-alpha@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).