From 9c96d16bb3d9b96467efc931684d351b64eb871a Mon Sep 17 00:00:00 2001 From: Pratik Raj Date: Thu, 28 May 2020 11:07:04 +0530 Subject: [PATCH] Issue-ID: APPC-1882 optimization in git clone using --depth optimize the git clone using --depth flag in term of size of clone and also in term's of time taken to fetch the files and commit history of whole repository . Respective issue with Issue-ID: APPC-1882 is created at https://jira.onap.org/browse/APPC-1882 More detail can be found at blog https://www.atlassian.com/git/tutorials/big-repositories Signed-off-by: Pratik Raj Change-Id: Ic5e7169b23662f80f98e192355163159f42182b8 --- docs/APPC Deployment Guidelines/APPC Deployment Guidelines.rst | 2 +- .../APPC Testing of a Local ONAP Component.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/APPC Deployment Guidelines/APPC Deployment Guidelines.rst b/docs/APPC Deployment Guidelines/APPC Deployment Guidelines.rst index 5679d1e..2d36875 100644 --- a/docs/APPC Deployment Guidelines/APPC Deployment Guidelines.rst +++ b/docs/APPC Deployment Guidelines/APPC Deployment Guidelines.rst @@ -117,7 +117,7 @@ You can clone this repository to your docker host: .. code:: bash - git clone "https://gerrit.onap.org/r/appc/deployment" + git clone --depth 1 "https://gerrit.onap.org/r/appc/deployment" Downloading the APPC Docker Images ---------------------------------- diff --git a/docs/APPC Testing of a Local ONAP Component/APPC Testing of a Local ONAP Component.rst b/docs/APPC Testing of a Local ONAP Component/APPC Testing of a Local ONAP Component.rst index 0c08634..7fbaa65 100644 --- a/docs/APPC Testing of a Local ONAP Component/APPC Testing of a Local ONAP Component.rst +++ b/docs/APPC Testing of a Local ONAP Component/APPC Testing of a Local ONAP Component.rst @@ -104,8 +104,8 @@ Setting up Git .. code:: bash - git clone http://@gerrit.onap.org/r/a/appc - git clone http://@gerrit.onap.org/r/a/appc/deployment + git clone --depth 1 http://@gerrit.onap.org/r/a/appc + git clone --depth 1 http://@gerrit.onap.org/r/a/appc/deployment Docker Engine Installation -------------------------- -- 2.16.6