diff options
author | Pratik Raj <rajpratik71@gmail.com> | 2020-05-28 11:07:04 +0530 |
---|---|---|
committer | Pratik raj <Rajpratik71@gmail.com> | 2020-05-30 07:52:51 +0000 |
commit | 9c96d16bb3d9b96467efc931684d351b64eb871a (patch) | |
tree | 8e432cf746c204a1fcd6eae675582ec920c3e826 | |
parent | 03d9e0134e6fa3a3401f5a3a1f6a109ef861ff59 (diff) |
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 <rajpratik71@gmail.com>
Change-Id: Ic5e7169b23662f80f98e192355163159f42182b8
-rw-r--r-- | docs/APPC Deployment Guidelines/APPC Deployment Guidelines.rst | 2 | ||||
-rw-r--r-- | docs/APPC Testing of a Local ONAP Component/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://<LF_USER_ID>@gerrit.onap.org/r/a/appc - git clone http://<LF_USER_ID>@gerrit.onap.org/r/a/appc/deployment + git clone --depth 1 http://<LF_USER_ID>@gerrit.onap.org/r/a/appc + git clone --depth 1 http://<LF_USER_ID>@gerrit.onap.org/r/a/appc/deployment Docker Engine Installation -------------------------- |