You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/07 17:07:00 UTC

[jira] [Updated] (MRELEASE-1082) Add configuration option for shallow checkout/clone

     [ https://issues.apache.org/jira/browse/MRELEASE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MRELEASE-1082:
-------------------------------------
    Summary: Add configuration option for shallow checkout/clone  (was: configuration option for shallow checkout)

> Add configuration option for shallow checkout/clone
> ---------------------------------------------------
>
>                 Key: MRELEASE-1082
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1082
>             Project: Maven Release Plugin
>          Issue Type: Improvement
>          Components: scm
>    Affects Versions: 3.0.0-M5
>            Reporter: Michael Cramer
>            Assignee: Michael Osipov
>            Priority: Major
>              Labels: checkout, clone, git, shallow, up-for-grabs
>             Fix For: 3.0.0-M6
>
>
> after implementing sonar into our release process we noticed that sonar is complaining about missing blame information
> {noformat}
> [INFO] [WARNING] Missing blame information for the following files:
> {noformat}
> I've seen that in MRELEASE-993 this new type of checkout was introduced and it mentions that "per default" the checkout will use the shallow clone. to me, it sounds that this is an option that can be configured, but after taking a look in the code I see that {{true}} is hardcoded
> i would propose to make this option configurable and have a default of {{true}} that can be changed when needed, e.g. in the case during the release sonarqube is called which needs the full history.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)