Difference between revisions of "Repository Layout"

From WebOS-Ports
Jump to navigation Jump to search
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
Right layers and branches/revs are always defined in webos-ports/webos/layers.txt and mcf is calling simplified oebb.sh (+layerman) script to checkout/update them.
 
  
We're using mcf but in simplified form too, it does not use git submodules, but normal checkouts (managed by layerman). And we've removed options to enable/disable layers (one setup to rule them all). I would also change build layout, because separate BUILD-machine dir is not needed and one tmpdir is more effective - sharing native and cross builds. Each machine has separate sysroot in it so no problem with this.
+
Right layers and branches/revs are always defined in webos-ports-setup/conf/layers.txt. Currently we're using dylan release, master is sometimes updated to test newer stuff in upstream layers (but not very often tested on target).
  
Current (as of right now 27th October 2012) it looks like this:
+
Layerman will take care of checkouting right layers with right revisions - just type make update if you want newer.
  
* bitbake,git://github.com/openembedded/bitbake.git,master,4cd0200e96fb282980a945b80af641a6e022e0b4
+
Current (as of right now 21th September 2013) we're using this set of layers:
* openembedded-core,git://github.com/openembedded/oe-core.git,master,40cf43c1c2fa15d0ee4bcc1226d9184747695b88
 
* meta-openembedded,git://github.com/openembedded/meta-oe.git,master,d9b7d6b4cd6b959b3998ddfec9775b64ffa61fe0
 
* meta-smartphone,git://github.com/webOS-ports/meta-smartphone.git,webOS-ports/master,HEAD
 
* meta-webos,git://github.com/webOS-ports/meta-webos.git,webOS-ports/master,HEAD
 
* meta-webos-ports,git://github.com/webOS-ports/meta-webos-ports.git,master,HEAD
 
  
* bitbake/oe-core/meta-oe are using master with locked revision (compatible with danny/yocto-v1.3 release).
+
* changes in our meta-webos fork (meta-webos-ports repository) are described here [[MetaWebosCommits]]
* changes in our meta-webos fork are described here [[MetaWebosCommits]]
 
  
There are currently the following repositories needed to build webos-ports:
+
webos-ports-setup/master (this will be renamed when new oe-core 1.5 is released - master always tracks master in upstream layers)
  
* openembedded-core
+
https://github.com/webOS-ports/webos-ports-setup/blob/master/conf/layers.txt
* meta-openembedded/meta-oe
+
* bitbake,master
* meta-webos
+
* oe-core,webOS-ports/master
** The layer from the Open webOS project
+
* meta-oe,master
* meta-webos-ports
+
* meta-qt5,master
** Layer with additions for meta-webos needed for webos-ports
+
* meta-smartphone,webOS-ports/master
* meta-smartphone/meta-samsung
+
* meta-webos-ports,master
** Hardware support for the gnex device
 
* meta-smartphone/meta-fso
 
* meta-smartphone/meta-android
 
  
Each of this will have a ''webos-ports/master'' branch if there are additional commits which are not upstream yet. If there is no ''webos-ports/master'' branch the ''master'' branch should be used. '''The master branch will always track the upstream ''master'' branch!'''
+
Branch name prefixed with 'webOS-ports/', means we're modifying some upstream repository. webOS-ports/danny, webOS-ports/dylan also means that this modification is compatible with older danny, dylan branches and also indicates that this branch is sometimes rebased on danny, dylan branch in upstream repository.
  
== Layer description ==
+
Where to push changes:
 +
meta-webos-ports: master branch
 +
meta-smartphone: please try to push all changes to webOS-ports/master *and* shr (compatible with master) branches. meta-smartphone/shr is merged to meta-smartphone/master (when there isn't explicit dependency on other shr branches) and after that webOS-ports/master is rebased from meta-smartphone/master. If some change isn't pushed to "shr" branch, then there is a risk that we'll forget to forward-port that change when moving to next release.
 +
oe-core: webOS-ports/master
  
=== meta-webos ===
+
Branches which are rebased now have git tags with date when it was rebased (this way we can continue to use older revisions, which are no longer in branch after last rebase).
 
 
This layers contains the recipes needed for openwebos. This is the original repository from the openwebos project with some additional changes which should go upstream in the near future.
 
 
 
=== meta-webos-ports ===
 
 
 
This layer contains several additions to meta-webos which can not go into meta-webos as they are specific for the webos-ports project.
 

Revision as of 11:59, 21 September 2013

Overview

Right layers and branches/revs are always defined in webos-ports-setup/conf/layers.txt. Currently we're using dylan release, master is sometimes updated to test newer stuff in upstream layers (but not very often tested on target).

Layerman will take care of checkouting right layers with right revisions - just type make update if you want newer.

Current (as of right now 21th September 2013) we're using this set of layers:

  • changes in our meta-webos fork (meta-webos-ports repository) are described here MetaWebosCommits

webos-ports-setup/master (this will be renamed when new oe-core 1.5 is released - master always tracks master in upstream layers)

https://github.com/webOS-ports/webos-ports-setup/blob/master/conf/layers.txt

  • bitbake,master
  • oe-core,webOS-ports/master
  • meta-oe,master
  • meta-qt5,master
  • meta-smartphone,webOS-ports/master
  • meta-webos-ports,master

Branch name prefixed with 'webOS-ports/', means we're modifying some upstream repository. webOS-ports/danny, webOS-ports/dylan also means that this modification is compatible with older danny, dylan branches and also indicates that this branch is sometimes rebased on danny, dylan branch in upstream repository.

Where to push changes: meta-webos-ports: master branch meta-smartphone: please try to push all changes to webOS-ports/master *and* shr (compatible with master) branches. meta-smartphone/shr is merged to meta-smartphone/master (when there isn't explicit dependency on other shr branches) and after that webOS-ports/master is rebased from meta-smartphone/master. If some change isn't pushed to "shr" branch, then there is a risk that we'll forget to forward-port that change when moving to next release. oe-core: webOS-ports/master

Branches which are rebased now have git tags with date when it was rebased (this way we can continue to use older revisions, which are no longer in branch after last rebase).