You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ralf Thielow (JIRA)" <ji...@codehaus.org> on 2012/08/20 16:15:21 UTC

[jira] (SCM-686) Maven SCM failed to parse "git status" output if git messages are translated

Ralf Thielow created SCM-686:
--------------------------------

             Summary: Maven SCM failed to parse "git status" output if git messages are translated
                 Key: SCM-686
                 URL: https://jira.codehaus.org/browse/SCM-686
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-git
    Affects Versions: 1.7
         Environment: Ubuntu Linux 11.10, Maven-3.0.4
            Reporter: Ralf Thielow
            Priority: Critical
         Attachments: git-status-use-porcelain-option.diff

Maven SCM failed to parse "git status" output if git messages are
translated. This breaks at least maven-release plugin.
The issue is that GitStatusConsumer uses regular expressions to
parse the output of "git status" and these regexps don't match
anymore if git messages are translated. In order to avoid this, we
should use the "--porcelain" option on "git status" to produce
a machine readable output which can be parsed even if git messages
are translated.
I've attached a patch which solves the problem.

Ralf

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (SCM-686) Maven SCM failed to parse "git status" output if git messages are translated

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed SCM-686.
----------------------------

       Resolution: Fixed
    Fix Version/s: 1.8

applied.
Thanks!
                
> Maven SCM failed to parse "git status" output if git messages are translated
> ----------------------------------------------------------------------------
>
>                 Key: SCM-686
>                 URL: https://jira.codehaus.org/browse/SCM-686
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.7
>         Environment: Ubuntu Linux 11.10, Maven-3.0.4
>            Reporter: Ralf Thielow
>            Assignee: Olivier Lamy
>            Priority: Critical
>             Fix For: 1.8
>
>         Attachments: git-status-use-porcelain-option.diff
>
>
> Maven SCM failed to parse "git status" output if git messages are
> translated. This breaks at least maven-release plugin.
> The issue is that GitStatusConsumer uses regular expressions to
> parse the output of "git status" and these regexps don't match
> anymore if git messages are translated. In order to avoid this, we
> should use the "--porcelain" option on "git status" to produce
> a machine readable output which can be parsed even if git messages
> are translated.
> I've attached a patch which solves the problem.
> Ralf

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (SCM-686) Maven SCM failed to parse "git status" output if git messages are translated

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reassigned SCM-686:
--------------------------------

    Assignee: Olivier Lamy
    
> Maven SCM failed to parse "git status" output if git messages are translated
> ----------------------------------------------------------------------------
>
>                 Key: SCM-686
>                 URL: https://jira.codehaus.org/browse/SCM-686
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.7
>         Environment: Ubuntu Linux 11.10, Maven-3.0.4
>            Reporter: Ralf Thielow
>            Assignee: Olivier Lamy
>            Priority: Critical
>         Attachments: git-status-use-porcelain-option.diff
>
>
> Maven SCM failed to parse "git status" output if git messages are
> translated. This breaks at least maven-release plugin.
> The issue is that GitStatusConsumer uses regular expressions to
> parse the output of "git status" and these regexps don't match
> anymore if git messages are translated. In order to avoid this, we
> should use the "--porcelain" option on "git status" to produce
> a machine readable output which can be parsed even if git messages
> are translated.
> I've attached a patch which solves the problem.
> Ralf

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira