Skip to content

Commit

Permalink
Merge pull request #27 from YoeDistro/kraj/update-layers-doc
Browse files Browse the repository at this point in the history
Document reasoning behind local layer mirrors
  • Loading branch information
cbrake authored Oct 9, 2018
2 parents 6e3ad2c + 6e2f6c9 commit 80d9a48
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/layer-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,16 @@

[up](README.md)

A number of layers are mirrored in the YoeDistro space on github ...
All OE layers that are being used in Yoe project are mirrored in the YoeDistro space on github. These layers are synced every two hours with upstream since the global namespace is kept intact, there are no conflicts. We reserve namespaces for local branches

* ```yoe/<topic>``` - Distro Specific branch, needed when we have to do distro speicific fixes which are not upstreamable, this is rare situation, secondly, we create additional layers e.g. yoe/mut ( mut stands for "Master-Under-Test) branches which are used for regular CI builds.

* ```<user>/<topic>``` - This namespace is reserved for developers, these are also short lived branches primarily used for development which are deleted after pull request is accepted in a public branch

## Why do we mirror the layers ?

* This provides needed redundancy and development space for Yoe Distro developers. Since we create pure mirrors for public branches and offer namespaces for development, this makes it a good combination for hosting changes when they are in flight. It also provides a mechanism for running a CI loop on the changes to be submitted upstream for specific layers.

* If a product is to be released one can easily mirror the yoe mirrors internally and keep a local copy, or one can use same mirroring policy and local branching policy to create internal branches. Just keep <yoe>/ namespace safe.

* For some reason if upstream layers disappear and we still need to maintain the layers, which can happen over a long life of products, then we offer a redundancy

0 comments on commit 80d9a48

Please sign in to comment.