Issue-ID: SO-2966 optimization in git clone using --depth 69/108369/2
authorPratik Raj <rajpratik71@gmail.com>
Thu, 28 May 2020 05:36:47 +0000 (11:06 +0530)
committerPratik Raj <rajpratik71@gmail.com>
Thu, 28 May 2020 07:11:08 +0000 (12:41 +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 is created at https://jira.onap.org/browse/SO-2966

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

docs/developer_info/Building_SO.rst
docs/developer_info/FAQs.rst
docs/release-notes.rst

index 7d68e43..edd2515 100644 (file)
@@ -36,7 +36,7 @@ Build docker images
 
 SO docker images are built using the "docker" maven profile.  
 
-During the build, the chef-repo and so-docker repositories are cloned from gerrit into the "so" directory structure.  Extra definitions are required in the build environment to make this happen.   You may need to adjust the definition of mso.chef.git.url.prefix to match the way you authenticate yourself when performing git clone.
+During the build, the chef-repo and so-docker repositories are cloned from gerrit into the "so" directory structure.  Extra definitions are required in the build environment to make this happen.   You may need to adjust the definition of mso.chef.git.url.prefix to match the way you authenticate yourself when performing git clone --depth 1.
 
 If you are behind a corporate firewall, you can specify proxy definitions for the constructed docker images.
 
index cd67840..55a7049 100644 (file)
@@ -57,7 +57,7 @@ How to Build docker images
 
 SO docker images are built using the "docker" maven profile.  
 
-During the build, the chef-repo and so-docker repositories are cloned from gerrit into the "so" directory structure.  Extra definitions are required in the build environment to make this happen.   You may need to adjust the definition of mso.chef.git.url.prefix to match the way you authenticate yourself when performing git clone.
+During the build, the chef-repo and so-docker repositories are cloned from gerrit into the "so" directory structure.  Extra definitions are required in the build environment to make this happen.   You may need to adjust the definition of mso.chef.git.url.prefix to match the way you authenticate yourself when performing git clone --depth 1.
 
 If you are behind a corporate firewall, you can specify proxy definitions for the constructed docker images.
 
index 130fc64..00b9530 100644 (file)
@@ -361,7 +361,7 @@ The main goal of the El-Alto release was to improve documentation, UT improvemen
 -  [`SO-2354 <https://jira.onap.org/browse/SO-2354>`__\ ] - vCPE model_customization_id not found on create vfmodule
 -  [`SO-2351 <https://jira.onap.org/browse/SO-2351>`__\ ] - SO Distribution Error on Allotted Resource - duplicate primary
 -  [`SO-2349 <https://jira.onap.org/browse/SO-2349>`__\ ] - Exception in DMAAP Client when PNF_READY event arrives from PRH
--  [`SO-2337 <https://jira.onap.org/browse/SO-2337>`__\ ] - Git clone not working for CSIT filename too long
+-  [`SO-2337 <https://jira.onap.org/browse/SO-2337>`__\ ] - git clone --depth 1 not working for CSIT filename too long
 -  [`SO-2289 <https://jira.onap.org/browse/SO-2289>`__\ ] - CreateVcpeResCustService_simplified workflow used in PnP PNF registration workflow returns an exception in Dmaap listener
 -  [`SO-2229 <https://jira.onap.org/browse/SO-2229>`__\ ] - sdc adapter and openstack container in crash loopback
 -  [`SO-2228 <https://jira.onap.org/browse/SO-2228>`__\ ] - SDC Handler crash loopback