[Toaster] force updates and branch rebases

Damian, Alexandru alexandru.damian at intel.com
Thu Jan 23 04:25:32 PST 2014


Hello,

It appears to me that it is inevitable to do rebases of
poky-contrib/toaster/master on top of the current origin/master at least
once every week. This is needed to prevent having the development trees
diverge too much.

​As a result, I need to do forced push of the toaster/master, since
rebasing is ​
​not a history-clean operation. This should not impact your development,
but when you submit patches, please make sure that they are based on the
top of the latest poky-contrib/toaster/master.

The preferred way ​
​to do this is to do a manual rebase of your development branch on top of
the toaster/master. This is different from Git's preferred way ​
​which is to merge your development branch and the upstream branch.​


​To do this, please do not do "git pull". Git pull is just a shorthand for
"git fetch && git merge​
​".

Please do, instead:
$ git fetch --all
$ git rebase -i poky-contrib/toaster/master   # resolve any conflicts here

​
​before pushing your development branch.​



​Once I take a patch into the ​
​toaster/master branch, the history is locked into place. This is needed to
try to minimize the number of conflicts when rebase-ing as described above.​
​

This ​
​means that once your patchset makes it into toaster/master, you must not
push new variants of the patchset, but instead new patches on top of the
current toaster/master.​


​Please let me know if you run into trouble with this procedure.​


​Hope this helps,
Alex​


-- 
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140123/8c72ce6d/attachment.html>


More information about the toaster mailing list