fonsdant commented on PR #17204:
URL: https://github.com/apache/kafka/pull/17204#issuecomment-2371092422

    
   
   > In the [checkout action](https://github.com/actions/checkout) you can 
specify that you want a full checkout instead of sparse.
   
   It seems to me we are already not doing a sparse checkout, since the default 
value for `sparse-checkout` is null and we are not passing any other value to 
it. See:
   
   ```
       # Do a sparse checkout on given patterns. Each pattern should be 
separated with
       # new lines.
       # Default: null
       sparse-checkout: ''
   
       # Specifies whether to use cone-mode when doing a sparse checkout.
       # Default: true
       sparse-checkout-cone-mode: ''
   
       # Number of commits to fetch. 0 indicates all history for all branches 
and tags.
       # Default: 1
       fetch-depth: ''
   ```
   
   Instead, it seems to me this behavior is more related to `fetch-depth` 
setting default value to 1, i.e. fetch only one commit. To get the history 
until common commit to trunk and trunk-cached, we could set it to zero (fetch 
all history for all branches and tags, what would be more expansive) or to a 
considerable number of commits (like 20 or 50) that we believe being less than 
regular difference between trunk and trunk-cached. WDYT?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to