All of lore.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: Linus Torvalds <torvalds@linuxfoundation.org>
Cc: Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	Kees Cook <keescook@chromium.org>,
	tools@linux.kernel.org, users@linux.kernel.org
Subject: Re: merging pull requests
Date: Sat, 2 Oct 2021 08:22:46 +0200	[thread overview]
Message-ID: <20211002062246.GB30200@1wt.eu> (raw)
In-Reply-To: <CAHk-=whZMDmgs3+djfUoVrx8jj7DwGOJvLWC=vw1dCMicqHJ1g@mail.gmail.com>

On Fri, Oct 01, 2021 at 11:47:12AM -0700, Linus Torvalds wrote:
> The "why" is
> often very important for a merge, even if you'll sendom see it in my
> merges where the "why" is kind of implicit.

FWIW I'm facing the same difficulty in other projects where I feel like
I always have to explain this again and again, but when re-reading my
own messages later I notice I'm often not better than others at this
exercise.

This led me to try to understand why I was not doing well what I'm
expecting others to do, and to realize that when developers finish a
series they've been working on for some time, the "why" is so much
obvious to them that it's difficult to write a good justification
for it, as what is non-obvious to others becomes hard to grasp. The
advices I give which seldom work are:

  - try to *sell* me your series. You want me to adopt them and be
    responsible for them, OK but you have to convince me to do so.

  - explain what we'd lose or break in case we'd later need to revert
    the series. Very often this is the direct response to the "why".

The two are more or less equivalent but are different approaches to
the problem, depending on the context or the nature of the changes.
With a bit of practice it can sometimes be as simple as "this is
the preliminary changes required for X that extend the API using
wrappers to temporarily maintain the compatibility with the previous
one", or stuff like that.

Willy

  parent reply	other threads:[~2021-10-02  6:28 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 17:33 merging pull requests Kees Cook
2021-09-30 20:00 ` Konstantin Ryabitsev
2021-09-30 23:09   ` Kees Cook
2021-09-30 23:22     ` Stephen Rothwell
2021-09-30 23:29       ` Kees Cook
2021-09-30 23:29     ` Stephen Rothwell
2021-09-30 23:42       ` Kees Cook
2021-10-01 11:59         ` Jason Gunthorpe
2021-10-02  0:15           ` Kees Cook
2021-10-01 17:01         ` Steven Rostedt
2021-10-01 17:07         ` James Bottomley
2021-10-02  0:17           ` Kees Cook
2021-10-01 17:19         ` Konstantin Ryabitsev
2021-10-02  2:35           ` Kees Cook
2021-09-30 23:31     ` Olof Johansson
2021-10-01  0:09       ` Kees Cook
2021-10-01  0:27         ` Olof Johansson
2021-10-01 17:05           ` Steven Rostedt
2021-10-02  0:12             ` Kees Cook
2021-10-01 18:26     ` Konstantin Ryabitsev
2021-10-01 18:47       ` Linus Torvalds
2021-10-01 19:30         ` Konstantin Ryabitsev
2021-10-02  0:08           ` Kees Cook
2021-10-02  6:22         ` Willy Tarreau [this message]
2021-10-02  0:11       ` Kees Cook

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=20211002062246.GB30200@1wt.eu \
    --to=w@1wt.eu \
    --cc=keescook@chromium.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=tools@linux.kernel.org \
    --cc=torvalds@linuxfoundation.org \
    --cc=users@linux.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.