fanis
(mysto)
August 15, 2023, 3:42pm
1
Hi all,
I am confuse with this Shallow Clone usage,
I have a javascript, C#, python, go, HCL and others.
When i clone this repo in CICD pipelines, does i need to set all of this language to shallow clone 0
? or only to some specific language ?
Another question is:
If i’m not apply shalow clone 0
what might possible issue i face ?
Thank you.
ganncamp
(G Ann Campbell)
August 16, 2023, 11:56am
2
Hi,
You should not be using a shallow clone at all. If you’re getting a warning about shallow cloning in your analysis log, you need to look at your checkout. Try setting fetch-depth
to 0.
HTH,
Ann
fanis
(mysto)
August 16, 2023, 9:21pm
3
Hi Ann,
Thank you for your response.
May i know what the result of issue i will face if i ignore those error ?
Thank you.
ganncamp
(G Ann Campbell)
August 17, 2023, 11:58am
4
Hi,
Analysis uses SCM data to
identify which code is new
properly assign creation dates to issues
assign new issues to their authors
Without full SCM data, these things go sideways.
HTH,
Ann
system
(system)
Closed
August 29, 2023, 6:29am
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.