All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@nvidia.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Pull request: u-boot-tegra/master
Date: Fri, 09 Dec 2011 10:10:43 -0700	[thread overview]
Message-ID: <4EE24113.7020005@nvidia.com> (raw)
In-Reply-To: <4EE22B01.3070409@aribaud.net>

On 12/09/2011 08:36 AM, Albert ARIBAUD wrote:
> Hi Stephen,
> 
> Le 08/12/2011 17:45, Stephen Warren a ?crit :
>> On 12/08/2011 12:22 AM, Albert ARIBAUD wrote:
>>> Hi Tom,
>>>
>>> Le 08/12/2011 00:35, Tom Warren a ?crit :
>>>
>>>> Albert,
>>>>
>>>> This is my first pull request for u-boot-tegra. Let me know if I?ve
>>>> screwed it up in any way!
>>>
>>> Actually:
>>>
>>>> The following changes since commit 3865b6eba83707e1ad134bd42da426fd032948f5:
>>>>
>>>> MX35: flea3: changes due to hardware revision B (2011-12-05 18:31:20 +0100)
>>>
>>> ... This is not the current u-boot-arm/master branch tip, and rebasing
>>> on it fails. Please rebase your master branch on top of
>>> u-boot-arm/master ("davinci: Remove unwanted memsize.c from hawkboard's
>>> nand spl build", commit id 15422043c4a213dc5d7d59a337be1ab34c9b2e7f)
>>> then post a new pull request.
>>
>> Albert,
>>
>> Given that u-boot-arm/master is continually rebased, how would Tom avoid
>> the following, which I think is what happened:
>>
>> 1) pull u-boot-arm/master
>> 2) apply patches to it
>> 3) test
>> 4) send pull request
>>
>> ... while between (1) and (4), you've rebased u-boot-arm/master?
>>
>> I think in the Linux kernel world, this is avoided by having downstream
>> branches based on stable branches in Linus' tree rather than directly
>> on their upstream. This will still allow pull/merge to work fine, but
>> means that there's never a time window that can invalidate the baseline
>> the pull requests are based on.
>>
>> Would something like this work for U-Boot too?
>>
>> Or perhaps, u-boot-arm could publish a stable branch for downstream to
>> base on, yet allow the rest of master to be rebased as needed?
> 
> Note: the rules I follow for pulling requests to u-boot-arm/master are 
> actually those applying to u-boot/master, so I guess the issue you are 
> raising with u-boot-arm could occur with u-boot/master as well -- it 
> moves just like u-boot-arm does, after all.

Doesn't u-boot/master only move forward by merges, whereas
u-boot-arm/master move forward by rebases?

When the base branch moves forward with merges, there's no issue, since
the point the child branch was branched from always exists in the
history of the parent branch, so "git merge" always knows what to use as
the base of the 3-way merge.

With rebases, the history the child branch is based upon no longer
exists in the parent.

> That being said, I do not reject pull requests solely because they are 
> not based on current u-boot-arm/master, precisely because I know it is a 
> moving target at times. So if the request is not based on top of 
> u-boot-arm/master, I try a rebase myself and if it succeeds trivially 
> and I feel confident that there will be no interaction with the commits 
> I've added in between, then I just accept the (now rebased) pull request 
> -- this I have just done again a few days ago. If the pull request does 
> not rebase trivially, then I ask the submitter to rebase because he's 
> the best person to understand and solve the rebase conflict.
> 
> I believe this matches the intent of what you are proposing, but anyway, 
> Wolfgang has the last word -- as usual. :)

OK, there would most likely be the same merge conflicts with merging
rather than rebasing (although I think the 3-way merge process might be
easier to resolve than the rebase process), and so I suppose you'd end
up rejecting the merge request too. That's seems somewhat different to
the kernel process, hence my quest for understanding!

-- 
nvpublic

  reply	other threads:[~2011-12-09 17:10 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07 23:35 [U-Boot] Pull request: u-boot-tegra/master Tom Warren
2011-12-08  7:22 ` Albert ARIBAUD
2011-12-08 16:45   ` Stephen Warren
2011-12-09 15:36     ` Albert ARIBAUD
2011-12-09 17:10       ` Stephen Warren [this message]
2011-12-09 17:22         ` Albert ARIBAUD
2011-12-09 17:37           ` Stephen Warren
2011-12-09 17:53             ` Albert ARIBAUD
2012-01-19  0:01 [U-Boot] pull " Tom Warren
2012-01-21 11:07 ` Albert ARIBAUD
2012-01-23 15:55   ` Tom Warren
2012-03-08 20:27 Tom Warren
2015-05-12 21:49 [U-Boot] Pull " Tom Warren
2015-05-13  1:45 ` Masahiro Yamada
2015-05-13 16:38   ` Tom Warren
2015-05-13 19:23     ` Tom Warren
2015-05-14 19:14       ` Tom Rini
2015-06-09 17:06 Tom Warren
2015-06-10 14:37 ` Tom Rini
2015-07-28 15:31 Tom Warren
2015-07-28 15:51 ` Stephen Warren
2015-07-28 17:23   ` Tom Warren
2015-08-06 20:39 [U-Boot] Pull request, u-boot-tegra/master Tom Warren
2015-08-11 17:44 ` Tom Warren
2015-08-11 18:04   ` Tom Rini
2015-08-11 20:54     ` Tom Warren
2015-08-13 20:26 Tom Warren
2015-08-13 21:55 ` Tom Rini
2015-09-16 23:27 Tom Warren
2015-09-17  1:06 ` Tom Rini
2015-10-02 18:15 Tom Warren
2015-10-03  0:51 ` Tom Rini
2015-11-12 20:53 Tom Warren
2015-11-13  1:26 ` Tom Rini
2016-01-28 17:46 Tom Warren
2016-01-28 23:18 ` Tom Rini
2016-02-18 19:53 Tom Warren
2016-02-20  0:54 ` Tom Rini
2016-03-29 17:24 Tom Warren
2016-03-29 22:06 ` Tom Rini
2016-05-04 21:36 Tom Warren
2016-05-04 22:12 ` Tom Rini
2016-06-03 16:00 Tom Warren
2016-06-06 11:15 ` Tom Rini
2016-07-06 17:32 Tom Warren
2016-07-08  2:51 ` Tom Rini
2016-07-21 20:17 Tom Warren
2016-07-23  0:10 ` Tom Rini
2016-07-23  0:17   ` Stephen Warren
2016-07-23  0:22     ` Tom Rini
2016-07-23  0:31       ` Stephen Warren
2016-07-23  0:42         ` Tom Rini
2016-08-05 17:26 Tom Warren
2016-08-06  0:57 ` Tom Rini
2016-08-15 19:38 Tom Warren
2016-08-16  1:09 ` Tom Rini
2016-08-25 23:42 Tom Warren
2016-08-26 14:52 ` Tom Rini
2016-09-01 17:32 Tom Warren
2016-09-02 14:53 ` Tom Rini
2016-09-27 16:16 Tom Warren
2016-09-27 21:34 ` Tom Rini
2016-10-10 20:55 Tom Warren
2016-10-13  0:48 ` Tom Rini
2016-11-08 15:34 Tom Warren
2016-11-08 20:53 ` Tom Rini
2017-01-04 17:05 Tom Warren
2017-01-05 13:28 ` Tom Rini
2017-04-04 17:56 Tom Warren
2017-04-05  1:13 ` Tom Rini
2017-06-12 23:32 Tom Warren
2017-06-15 13:01 ` Tom Rini
2017-06-20 19:04 Tom Warren
2017-06-21 23:05 ` Tom Rini
2017-08-16 15:30 Tom Warren
2017-08-17  1:17 ` Tom Rini
2018-01-12 17:37 Tom Warren
2018-01-15 13:53 ` Tom Rini
2018-01-16 17:47   ` Stephen Warren
2018-01-16 18:14     ` Tom Rini
2018-05-11 19:19 Tom Warren
2018-05-12  1:49 ` Tom Rini
2018-07-06 20:11 Tom Warren
2018-07-06 22:04 ` Tom Rini
2018-07-26 21:08 Tom Warren
2018-07-27 17:08 ` Tom Rini
2018-08-21 17:27 Tom Warren
2018-08-23 13:59 ` Tom Rini
2019-02-19 22:44 Tom Warren
2019-02-20 16:34 Tom Warren
2019-02-21 23:10 ` Tom Rini
2019-05-28 16:01 Tom Warren
2019-05-29 17:18 ` Tom Rini
2019-06-05 20:50 Tom Warren
2019-06-07  1:31 ` Tom Rini
2019-06-07 15:28   ` Tom Warren
2019-06-07 15:40     ` Tom Rini
2019-06-07 17:17       ` Tom Warren
2019-06-07 18:30         ` Peter Robinson
2019-06-11  1:31 ` Tom Rini
2019-08-09 17:21 Tom Warren
2019-08-11  1:13 ` Tom Rini

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=4EE24113.7020005@nvidia.com \
    --to=swarren@nvidia.com \
    --cc=u-boot@lists.denx.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 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.