Skip to contentSkip to conversation

Configuration rework for next merge window

RFC Grant Likely 4 participants 7 messages Sep 11, 2007 – Sep 12, 2007

lore
Share & tools
lore
#0 lore raw

Wolfgang,

When the next u-boot merge window opens, I'd like to merge in the build changes needed to support conditional compile. However, this will be an invasive change on the Makefiles so it requires some planning ahead.

The most invasive change is splitting the COBJS definitions into one line per file which is sure to cause merge conflicts with other boards which I'd like to avoid. I see three possible approaches:

1. Merge the COBJS split into -testing now, and ask custodians to base there changes onto that before the merge window opens
2. Merge the COBJS split at the start of the merge window before any other patches are merged
3. Merge the COBJS split at the end of the merge window and let me deal with the conflicts.

My preference is definitely #1, followed by #2. I think getting it in first will result in higher confidence that the change has not broken anything as each of the custodian trees will be testing against it before they request a pull.

Plus, it's less work for me. :-)

My other changes are far less invasive, but more risky. I'd like to get them into -testing also for the test factor, but merge conflicts shouldn't be much of an issue.

Cheers,
g.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
#1 lore raw
Quoted 2 lines · On Tue, 11 Sep 2007 11:49:04 -0600 "Grant Likely" <[email protected]>…

1. Merge the COBJS split into -testing now, and ask custodians to base there changes onto that before the merge window opens

I agree with this one (#1).

I'd add that -testing get dropped in favour of a new branch on the mainline tree called 'for-1.3.1' or 'for-1.4.0' (or whatever version number WD deems appropriate (it doesn't matter anyway, it can easily be renamed)). The -testing tree is not in the mainline tree, and therefore further off people's radars, and people's perception of its name usually doesn't match its purpose, e.g. tagging an rc- is more likely to be interpreted as a 'test me now' signal.

And people would more likely to understand that new features go on the for-x.y.z branch - I'd personally be more encouraged to develop some given the presence of such a branch.

It would be smart for custodians to follow suit, and maintain two branches each, applying bugfixes to both, with new features only going into one.

Kim

#2 lore raw
In reply to Grant Likely

Dear Grant,

Quoted 5 lines · in message <[email protected]> you…

When the next u-boot merge window opens, I'd like to merge in the build changes needed to support conditional compile. However, this will be an invasive change on the Makefiles so it requires some planning ahead.

ACK.

Quoted 11 lines

The most invasive change is splitting the COBJS definitions into one line per file which is sure to cause merge conflicts with other boards which I'd like to avoid. I see three possible approaches:

1. Merge the COBJS split into -testing now, and ask custodians to base there changes onto that before the merge window opens
2. Merge the COBJS split at the start of the merge window before any other patches are merged
3. Merge the COBJS split at the end of the merge window and let me deal with the conflicts.

Quoted 4 lines

My preference is definitely #1, followed by #2. I think getting it in first will result in higher confidence that the change has not broken anything as each of the custodian trees will be testing against it before they request a pull.

I agree. Suggestion: let's wait for 1.3.0-rc2 (next weekend or so); then I'll update u-boot-testing and we use this as base for your work. I agree that we shoul have this in the tree before the next merge window opens.

Quoted 1 line

Plus, it's less work for me. :-)

One more good reason...

Quoted 3 lines

My other changes are far less invasive, but more risky. I'd like to get them into -testing also for the test factor, but merge conflicts shouldn't be much of an issue.

OK. Thanks in advance.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"...and the fully armed nuclear warheads, are, of  course,  merely  a
courtesy detail."
#3 lore raw
Quoted 16 lines · Wolfgang Denk
Quoted 11 lines

The most invasive change is splitting the COBJS definitions into one line per file which is sure to cause merge conflicts with other boards which I'd like to avoid. I see three possible approaches:

1. Merge the COBJS split into -testing now, and ask custodians to base there changes onto that before the merge window opens
2. Merge the COBJS split at the start of the merge window before any other patches are merged
3. Merge the COBJS split at the end of the merge window and let me deal with the conflicts.

Quoted 4 lines

My preference is definitely #1, followed by #2. I think getting it in first will result in higher confidence that the change has not broken anything as each of the custodian trees will be testing against it before they request a pull.

Quoted 4 lines

I agree. Suggestion: let's wait for 1.3.0-rc2 (next weekend or so); then I'll update u-boot-testing and we use this as base for your work. I agree that we shoul have this in the tree before the next merge window opens.

Sounds good to me. I'll be ready. :-)

Cheers,
g.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
#4 lore raw
In reply to Grant Likely

Hi Grant,

Quoted 7 lines · Grant Likely

Wolfgang,

When the next u-boot merge window opens, I'd like to merge in the build changes needed to support conditional compile. However, this will be an invasive change on the Makefiles so it requires some planning ahead.

This issue is already solved in pre-2.0.0

Regards,
Sascha

Signature · 2 lines
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord     http://www.pengutronix.de
#5 lore raw
Quoted 5 lines · Sascha Hauer

Hi Grant,

Quoted 2 lines · Grant Likely

Wolfgang,

Quoted 7 lines
Quoted 5 lines

When the next u-boot merge window opens, I'd like to merge in the build changes needed to support conditional compile. However, this will be an invasive change on the Makefiles so it requires some planning ahead.

This issue is already solved in pre-2.0.0

That may be so, but most of use live and work in Wolfgang's mainline tree which is where my focus is.

Cheers,
g.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
#6 lore raw
Quoted 3 lines · Grant Likely

That may be so, but most of use live and work in Wolfgang's mainline tree which is where my focus is.

Me too, but there's time to play too, and I would really appreciate if you'd have a look at it someday.

Sascha

Signature · 2 lines
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord     http://www.pengutronix.de