From: Joel Sherrill <joel.sherrill@oarcorp.com>
To: newlib@sourceware.org
Subject: Re: Procedure for Patches Merging FreeBSD Code
Date: Wed, 26 Jul 2017 20:29:00 -0000 [thread overview]
Message-ID: <c6f1aba9-c3cb-05cf-c82a-3dcab1a62d25@oarcorp.com> (raw)
In-Reply-To: <20170726194307.GE30367@calimero.vinschen.de>
On 7/26/2017 2:43 PM, Corinna Vinschen wrote:
> On Jul 26 09:59, Joel Sherrill wrote:
>> Hi
>>
>> Gedare, Aditya, and I were discussing that it is useful
>> during development to have a git branch with a patch
>> series that adds the unmodified FreeBSD files followed
>> by a patch series that adds them to the build system
>> and makes them work. Then you can easily review the
>> differences against the original source.
>>
>> Would it be desirable for patches submitted to newlib
>> to follow this pattern? Or should Aditya submit a
>> single patch series including the addition and
>> any modifications?
>>
>> For sure, the addition change can only add the source
>> files and not touch the build system. Otherwise
>> git bisect will break. That can't be allowed if
>> avoidable.
>
> We don't support merges in the newlib-cygwin repo, just the same as in
> the binutils-gdb repo. All changes must be part of a linear history.
> The post-receive hook will refuse merges.
>
> You can create branches, but they have a disjunct history and you'd
> have to cherry-pick from there for master, so it's not much of an
> advantage for the person applying the patches.
I wasn't concerned about this. Managing the work is a local
user issue. It has to be patches sent to the mailing list. :)
>
> Nothing speaks against providing a two step patchset, first including
> the original file into newlib, then a second patch adding the newlib
> required changes on top. We can do this as part of the normal review
> process.
If you are OK with it, I personally like doing this because it
encourages and aids in tracking differences from the upstream.
Awesome!
--joel
> Corinna
>
prev parent reply other threads:[~2017-07-26 20:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-26 14:59 Joel Sherrill
2017-07-26 19:43 ` Corinna Vinschen
2017-07-26 20:29 ` Joel Sherrill [this message]
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=c6f1aba9-c3cb-05cf-c82a-3dcab1a62d25@oarcorp.com \
--to=joel.sherrill@oarcorp.com \
--cc=newlib@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).