From 342d82ab130edb68fe5f07aa1e7f3048eaac6003 Mon Sep 17 00:00:00 2001 From: Luca Muscariello Date: Tue, 21 Feb 2017 11:30:57 +0100 Subject: More information about sub projects management in the git repo Change-Id: I8f2e367f65fdc29271c6956b1f8e89fd6fc6ee84 Signed-off-by: Luca Muscariello --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fcbc08ba..5d38f162 100644 --- a/README.md +++ b/README.md @@ -44,4 +44,22 @@ Name | Description | Language and style For sub-project cicn-plugin, the master branch is cicn-plugin/master that can be cloned as follows: -$ git clone -b cicn-plugin/master https://gerrit.fd.io/r/cicn cicn-plugin \ No newline at end of file +$ git clone -b cicn-plugin/master https://gerrit.fd.io/r/cicn cicn-plugin + +## How to manage different master branches + +It is suggested to clone each subproject branch in a different workspace to +avoid error prone operations. The cicn git repo stores several projects which +are independent one to another. While access control and isolation is +guaranteed at a certain level by gerrit, using one single workspace is +discouraged. + +git clone -b cicn-plugin/master https://gerrit.fd.io/r/cicn cicn-plugin; +git clone -b sb-forwarder/master https://gerrit.fd.io/r/cicn sb-forwarder; +git clone -b libicnet/master https://gerrit.fd.io/r/cicn libicnet; +git clone -b cframework/master https://gerrit.fd.io/r/cicn cframework; +git clone -b ccnxlibs/master https://gerrit.fd.io/r/cicn ccnxlibs; +git clone -b http-server/master https://gerrit.fd.io/r/cicn http-server; +git clone -b viper/master https://gerrit.fd.io/r/cicn viper; +git clone -b vicn/master https://gerrit.fd.io/r/cicn vicn; +git clone -b android-sdk https://gerrit.fd.io/r/cicn android-sdk; -- cgit 1.2.3-korg