From: Junio C Hamano <gitster@pobox.com>
To: "Torsten Bögershausen" <tboegi@web.de>
Cc: git@vger.kernel.org, Linus Arver <linusa@google.com>,
jacobabel@nullpo.dev
Subject: Re: [PATCH v4] MyFirstContribution: refrain from self-iterating too much
Date: Fri, 28 Jul 2023 16:00:05 -0700 [thread overview]
Message-ID: <xmqqsf973ami.fsf@gitster.g> (raw)
In-Reply-To: <20230728212144.dpcbp6gfhfuiabia@tb-raspi4> ("Torsten Bögershausen"'s message of "Fri, 28 Jul 2023 23:21:44 +0200")
Torsten Bögershausen <tboegi@web.de> writes:
>> +While waiting for review comments, you may find mistakes in your initial
>> +patch, or perhaps realize a different and better way to achieve the goal
>> +of the patch. In this case you may communicate your findings to other
>> +reviewers as follows:
>> +
>> + - If the mistakes you found are minor, send a reply to your patch as if
>> + you were a reviewer and mention that you will fix them in an
>> + updated version.
>> +
>> + - On the other hand, if you think you want to change the course so
>> + drastically that reviews on the initial patch would be a waste of
>> + time (for everyone involved), retract the patch immediately with
>> + a reply like "I am working on a much better approach, so please
>> + ignore this patch and wait for the updated version."
>> +
> (That's all good)
>
>
>> +Now, the above is a good practice if you sent your initial patch
>> +prematurely without polish. But a better approach of course is to avoid
>> +sending your patch prematurely in the first place.
>
> That is of course a good suggestion.
> I wonder, how much a first time contributor knows about "polishing",
> in the Git sense ?
I do not know if "without polish" has any strong "Git sense" to
begin with. The actions the contributor would have done, referred
to as "the above", are the result of re-reading their own patches
and re-thinking their own approaches, which led them to discover
fixes and alternative solutions, and I was hoping that "without
polish" would be understood by anybody to mean "a version that did
not go through such proofreading" without knowing much about how we
develop our patches.
I am OK to just say "sent your initial patch prematurely" and
without "without polish". I do think it would make the resulting
text encourage less strongly to proofread their own patches before
sending them, but if you think "polish" may not be understood, I am
fine with such a copyediting. Or using some alternative phrases is
also fine, if it improves our chances to be understood better.
> From my experience, the polishing is or could be a learning process,
> which needs interaction with the reviewers.
Yes, once they see what valuable insight reviewers offer, in their
next topic, they will learn to stop and think before sending the
fresh-off-the-press version without sleeping on it a bit.
> Would it make sense to remove the sentences above and ask people
> to mark their patch with RFC ?
I doubt it. Nobody will stay newbie forever. If they do not know
what kind of flaws to look for and how to find them themselves in
their work, that is perfectly OK and they can just send a regular
PATCH. A reviewer hopefully will notice and point out that it is
not yet beyond RFC quality if that is the case, but this document
should not be suggesting that before seeing their work ;-)
> Or is this all too much bikeshedding, IOW I am happy with V4 as is.
Thanks.
next prev parent reply other threads:[~2023-07-28 23:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-22 1:51 [PATCH] MyFirstContribution: refrain from self-iterating too much Junio C Hamano
2023-01-22 7:11 ` Torsten Bögershausen
2023-01-22 16:01 ` Junio C Hamano
2023-01-22 17:14 ` Junio C Hamano
2023-01-23 4:18 ` [PATCH v2] " Junio C Hamano
2023-01-23 17:58 ` Torsten Bögershausen
2023-07-19 17:04 ` [PATCH v3] " Junio C Hamano
2023-07-27 23:14 ` Linus Arver
2023-07-28 0:25 ` Junio C Hamano
2023-07-28 0:43 ` [PATCH v4] " Junio C Hamano
2023-07-28 2:07 ` Jacob Abel
2023-07-28 5:10 ` Junio C Hamano
2023-07-28 15:42 ` Re* " Junio C Hamano
2023-07-29 2:12 ` Jacob Abel
2023-07-31 15:25 ` Junio C Hamano
2023-07-28 2:08 ` Linus Arver
2023-07-28 5:10 ` Junio C Hamano
2023-07-28 21:21 ` Torsten Bögershausen
2023-07-28 23:00 ` Junio C Hamano [this message]
2023-01-23 1:47 ` [PATCH] " Sean Allred
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=xmqqsf973ami.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=jacobabel@nullpo.dev \
--cc=linusa@google.com \
--cc=tboegi@web.de \
/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).