Skip to contentSkip to conversation

Merging of stable/2009 into dev

RFC Otavio Salvador 8 participants 16 messages Nov 18, 2009 – Nov 19, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I've been thinking about how difficult will be when we start stable/2010.

From my POV the best alternative is, before we start changing a lot of stuff in dev we do a merge of stable/2009 into dev to allow easy merging from outside "forks" made by users.

What it looks like for you?

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#1 lore raw
Quoted 3 lines · Otavio Salvador

From my POV the best alternative is, before we start changing a lot of stuff in dev we do a merge of stable/2009 into dev to allow easy merging from outside "forks" made by users.

I don't quite understand what you mean by merging stable/2009 into dev. Isn't it the case that all the changesets in stable/2009 were cherry-picked from .dev in the first place, and hence are already there?

Can you give a bit more detail on what exactly you are proposing?

p.

#2 lore raw

Hello Phil,

Quoted 10 lines · Phil Blundell
Quoted 3 lines · Otavio Salvador

From my POV the best alternative is, before we start changing a lot of stuff in dev we do a merge of stable/2009 into dev to allow easy merging from outside "forks" made by users.

I don't quite understand what you mean by merging stable/2009 into dev. Isn't it the case that all the changesets in stable/2009 were cherry-picked from .dev in the first place, and hence are already there?

Can you give a bit more detail on what exactly you are proposing?

Please try it:

git checkout -b merge-try origin/org.openembedded.dev git merge stable/2009

You'll notice how many conflicts it produces.

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#3 lore raw

Hello Otavio,

Quoted 12 lines · Otavio Salvador

Hello Phil,

Quoted 9 lines · Phil Blundell
Quoted 3 lines · Otavio Salvador

From my POV the best alternative is, before we start changing a lot of stuff in dev we do a merge of stable/2009 into dev to allow easy merging from outside "forks" made by users.

I don't quite understand what you mean by merging stable/2009 into dev. Isn't it the case that all the changesets in stable/2009 were cherry-picked from .dev in the first place, and hence are already there?

Quoted 9 lines
Quoted 1 line

Can you give a bit more detail on what exactly you are proposing?

Please try it:

git checkout -b merge-try origin/org.openembedded.dev git merge stable/2009

You'll notice how many conflicts it produces.

I also do not understand what you are trying to achieve?

stable/2009 is a fix-only stable branch, whereas .dev is heavily on the move with both features, fixes, framework changes and other cruft.

The branches are never supposed to be merged, in fact we expect .dev to move away from stable.

In other words, the branch is a a "fish bone" branch; if you had a product living on .dev then, you could base it on stable/2009 and be happy with it.

Regards,

Signature · 1 line
Leon
#4 lore raw
In reply to Otavio Salvador
Quoted 12 lines · Otavio Salvador

Hello Phil,

Quoted 9 lines · Phil Blundell
Quoted 3 lines · Otavio Salvador

From my POV the best alternative is, before we start changing a lot of stuff in dev we do a merge of stable/2009 into dev to allow easy merging from outside "forks" made by users.

I don't quite understand what you mean by merging stable/2009 into dev. Isn't it the case that all the changesets in stable/2009 were cherry-picked from .dev in the first place, and hence are already there?

Quoted 8 lines
Quoted 1 line

Can you give a bit more detail on what exactly you are proposing?

Please try it:

git checkout -b merge-try origin/org.openembedded.dev git merge stable/2009

You'll notice how many conflicts it produces.

Right, but I think these conflicts are a result of attempting what seems like a nonsensical merge.

Which specific changesets from stable/2009 do you feel are missing in .dev?

p.

#5 lore raw

Hello,

Quoted 5 lines · Phil Blundell

Right, but I think these conflicts are a result of attempting what seems like a nonsensical merge.

Which specific changesets from stable/2009 do you feel are missing in .dev?

Ok but what is the planned migration path from users that used stable/2009 to stable/2010?

I mean, when we start stable/2010 we expect that users that based their distros in stable/2009 need to redo all work to move to stable/2010? If we merge stable/2009 into .dev then this is going to be much easier.

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#6 lore raw
Quoted 7 lines · Otavio Salvador

Ok but what is the planned migration path from users that used stable/2009 to stable/2010?

I mean, when we start stable/2010 we expect that users that based their distros in stable/2009 need to redo all work to move to stable/2010? If we merge stable/2009 into .dev then this is going to be much easier.

I am still struggling to understand what you mean by "merge stable/2009 into .dev". Can you please explain what exactly you think the result of this merge would look like? Maybe you could pick a couple of sample packages and give a concrete description of how the merged version would differ from what is currently in .dev.

p.

#7 lore raw
Quoted 9 lines · Phil Blundell
Quoted 7 lines · Otavio Salvador

Ok but what is the planned migration path from users that used stable/2009 to stable/2010?

I mean, when we start stable/2010 we expect that users that based their distros in stable/2009 need to redo all work to move to stable/2010? If we merge stable/2009 into .dev then this is going to be much easier.

Quoted 5 lines

I am still struggling to understand what you mean by "merge stable/2009 into .dev". Can you please explain what exactly you think the result of this merge would look like? Maybe you could pick a couple of sample packages and give a concrete description of how the merged version would differ from what is currently in .dev.

what *is* the protocol for a new OE release? if one were to emulate
kernel development, it would normally involve, perhaps, starting a new branch headed toward, say, stable/2010, where packages would slowly be frozen and, as the release date approached, we'd see tags like "rc1", "rc2" and so on, and a final freeze and tag of "stable/2010", no?

in the meantime, the .dev branch would chug merrily on. is that
even remotely close?

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday

========================================================================

#8 lore raw
Quoted 1 line · Robert P. J. Day

 what *is* the protocol for a new OE release?

As there are no OE releases as such, I guess you will have a hard time looking for this protocol.

/Esben

#9 lore raw
In reply to Robert P. J. Day
Quoted 17 lines · Robert P. J. Day
Quoted 9 lines · Phil Blundell
Quoted 7 lines · Otavio Salvador

Ok but what is the planned migration path from users that used stable/2009 to stable/2010?

I mean, when we start stable/2010 we expect that users that based their distros in stable/2009 need to redo all work to move to stable/2010? If we merge stable/2009 into .dev then this is going to be much easier.

Quoted 5 lines

I am still struggling to understand what you mean by "merge stable/2009 into .dev". Can you please explain what exactly you think the result of this merge would look like? Maybe you could pick a couple of sample packages and give a concrete description of how the merged version would differ from what is currently in .dev.

Quoted 8 lines

what *is* the protocol for a new OE release? if one were to emulate
kernel development, it would normally involve, perhaps, starting a new branch headed toward, say, stable/2010, where packages would slowly be frozen and, as the release date approached, we'd see tags like "rc1", "rc2" and so on, and a final freeze and tag of "stable/2010", no?

in the meantime, the .dev branch would chug merrily on. is that
even remotely close?

Basically, the users define a release. From the discussion at OEDEM it is clear that there groups of people with similar (but very different needs).

I don't see a problem with groups of people getting together and defining a workflow for a branch they maintain. There is more than one right way to do this.

Philip

#10 lore raw
Quoted 7 lines · Philip Balister

Basically, the users define a release. From the discussion at OEDEM it is clear that there groups of people with similar (but very different needs).

I don't see a problem with groups of people getting together and defining a workflow for a branch they maintain. There is more than one right way to do this.

Totally agreed. The people who want to make a given branch happen just need to step up, agree an objective for the branch (preferably a documented one) and then go for it.

The problem is there are many definitions of "stable" from "massive security fixes only" to "everything in .dev after two weeks and nobody's noticed a problem".

Cheers,

Richard

#11 lore raw
In reply to Otavio Salvador
Quoted 9 lines · Otavio Salvador

Hello,

Quoted 5 lines · Phil Blundell

Right, but I think these conflicts are a result of attempting what seems like a nonsensical merge.

Which specific changesets from stable/2009 do you feel are missing in .dev?

Quoted 7 lines

Ok but what is the planned migration path from users that used stable/2009 to stable/2010?

I mean, when we start stable/2010 we expect that users that based their distros in stable/2009 need to redo all work to move to stable/2010? If we merge stable/2009 into .dev then this is going to be much easier.

I think you actually want to do something like:

git-merge --strategy=ours

which should leave OE.dev unchanged.

Does that actually help though?

Cheers,

Richard

#12 lore raw

Hello,

Quoted 7 lines · Richard Purdie

I think you actually want to do something like:

git-merge --strategy=ours

which should leave OE.dev unchanged.

Does that actually help though?

No since it would lose any specific commit done for local development.

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#13 lore raw
Quoted 10 lines · Otavio Salvador
Quoted 7 lines · Richard Purdie

I think you actually want to do something like:

git-merge --strategy=ours

which should leave OE.dev unchanged.

Does that actually help though?

No since it would lose any specific commit done for local development.

So you have commits against OE.stable 2009 that you want to preserve. How picky are you about your history?

If you rebase your local changes against OE.stable 2009, then do the above git merge against OE.dev, then rebase your changes against that, you might get something meaningful out.

Alternatively you could just diff your changes against OE.stable 2009 and then forward port and apply that diff against OE.stable 2010.

It really depends what you value. You may just have to do a painful merge if thats what you really want...

Cheers,

Richard

#14 lore raw
In reply to Otavio Salvador
Quoted 7 lines · Otavio Salvador

Hello,

I've been thinking about how difficult will be when we start stable/2010.

From my POV the best alternative is, before we start changing a lot of
stuff in dev we do a merge of stable/2009 into dev to allow easy merging from outside "forks" made by users.

What would be the point of that? Stable/2009 only received changes that were already in .dev. If there are differences then that's due to needing to account for differences in classes, config files and old(er) bitbake releases.

It bothers me that everybody seems to have an opinion of stable/2009 but only very few people actually contribute to it. The OP is a great example of people not knowing what they are talking about. I can only imagine the amount of headdesks Marcin did at OEDEM when reading the hilarious summary of the stable branch discussion.

regards,

Koen

#15 lore raw

Hello,

Quoted 4 lines · Koen Kooi

It bothers me that everybody seems to have an opinion of stable/2009 but only very few people actually contribute to it. The OP is a great example of

It being stable is the greatest feature of the branch.

I think it's fine to contribute on a need-to-fix basis, only for its users.

There seems to be too much difference in perception when talking "stable".

Regards,

Signature · 1 line
Leon