Merge "Issue-ID: PORTAL-913 optimization in git clone using --depth"
authorSunder Tattavarada <statta@research.att.com>
Tue, 4 Aug 2020 17:41:50 +0000 (17:41 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 4 Aug 2020 17:41:50 +0000 (17:41 +0000)
deliveries/local-dev-host-clone.sh
docs/tutorials/portal-BE/setting-up.rst
docs/tutorials/portal-sdk/setting-up.rst

index 1d7ae42..43153d3 100644 (file)
@@ -2,6 +2,6 @@
 # Sets up a new build area for Portal projects on on a dev/test host such as vm-ep-dev3
 
 USER=org.UserId-goes-here
-git clone https://${USER}@gerrit.onap.org/r/a/portal
+git clone --depth 1 https://${USER}@gerrit.onap.org/r/a/portal
 cd lf_portal
-git clone https://${USER}@gerrit.onap.org/r/a/portal/sdk
+git clone --depth 1 https://${USER}@gerrit.onap.org/r/a/portal/sdk
index 22d7f47..3644899 100644 (file)
@@ -18,7 +18,7 @@ Clone the Portal repository with git:
 
 ::
 
-    git clone "https://gerrit.onap.org/r/portal"
+    git clone --depth 1 "https://gerrit.onap.org/r/portal"
 
 Building
 -----------------
index ce32dbb..ae03f1a 100644 (file)
@@ -18,7 +18,7 @@ Clone the Portal SDK repository with git:
 
 ::
 
-    git clone http://gerrit.onap.org/r/portal/sdk
+    git clone --depth 1 http://gerrit.onap.org/r/portal/sdk
 
 Building the base
 -----------------