Issue-ID: VNFRQTS-886 optimization in git clone using --depth 96/108396/1
authorPratik Raj <rajpratik71@gmail.com>
Thu, 28 May 2020 05:36:59 +0000 (11:06 +0530)
committerPratik Raj <rajpratik71@gmail.com>
Thu, 28 May 2020 07:59:48 +0000 (13:29 +0530)
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: VNFRQTS-886 is created at

https://jira.onap.org/browse/VNFRQTS-886

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: I34b4820b36ed31a6f86f0b09cb8a5bad8ca1e402

docs/Chapter8/OPNFV-Verified-Badging.rst

index 9df4d2c..9933269 100644 (file)
@@ -124,7 +124,7 @@ Clone the VNFSDK repo.
 
 .. code-block:: bash
 
-    git clone --branch elalto https://git.onap.org/vnfsdk/refrepo
+    git clone --depth 1 --branch elalto https://git.onap.org/vnfsdk/refrepo
 
 Install the VTP by using script
 ``refrepo/vnfmarket-be/deployment/install/vtp_install.sh``