maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Graham (JIRA)" <j...@codehaus.org>
Subject [jira] (SCM-482) SvnInfoConsumer not I18N aware
Date Mon, 23 Apr 2012 04:43:02 GMT

    [ https://jira.codehaus.org/browse/SCM-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297001#comment-297001
] 

Chris Graham commented on SCM-482:
----------------------------------

I have similar concerns with the Jazz provider. Jazz is internationalized. Most of (none?)
Maven is not internationalised, the SCM code certainly isn't.

In fact, most of the scm providers most probably suffer from this issue.

Whilst the suggestion above appears to work for SVN, it doesn't cover the case of the other
providers.

                
> SvnInfoConsumer not I18N aware
> ------------------------------
>
>                 Key: SCM-482
>                 URL: https://jira.codehaus.org/browse/SCM-482
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>    Affects Versions: 1.2
>         Environment: Debian GNU Linux (squeeze), Subversion 1.5.6
>            Reporter: Grzegorz Grzybek
>            Assignee: Robert Scholte
>             Fix For: 1.7, 1.x
>
>
> There is a problem with class {{org.apache.maven.scm.provider.svn.svnexe.command.info.SvnInfoConsumer}}
- it heavely depends on:
> bq. svn --non-interactive info
> result
> which differs under different locale settings
> It would be *much* better if {{org.apache.maven.scm.provider.svn.svnexe.command.info.SvnInfoCommand.createCommandLine(SvnScmProviderRepository,
ScmFileSet, boolean, String)}} use:
> bq. svn --non-interactive --xml info
> instead of:
> bq. svn --non-interactive info
> the former produces:{panel}
> <?xml version="1.0"?>
> <info>
> <entry
>    kind="dir"
>    path="."
>    revision="1647">
> <url>http://javelin/svn/com.winuel.sip/trunk</url>
> <repository>
> <root>http://javelin/svn/com.winuel.sip</root>
> <uuid>e17e3fd1-5418-7e4b-8253-85740d203573</uuid>
> </repository>
> <wc-info>
> <schedule>normal</schedule>
> <depth>infinity</depth>
> </wc-info>
> <commit
>    revision="1647">
> <author>grgr</author>
> <date>2009-07-14T11:49:37.776704Z</date>
> </commit>
> </entry>{panel} and the latter (on my computer):{panel}
> &#346;cie&#380;ka: .
> URL: http://javelin/svn/com.winuel.sip/trunk
> Katalog g&#322;ówny repozytorium: http://javelin/svn/com.winuel.sip
> UUID repozytorium: e17e3fd1-5418-7e4b-8253-85740d203573
> Wersja: 1647
> Rodzaj obiektu: katalog
> Zlecenie: normalne
> Autor ostatniej zmiany: grgr
> Ostatnio zmieniona wersja: 1647
> Data ostatniej zmiany: 2009-07-14 13:49:37 +0200 (Wt){panel}
> It's obvious that this command should be locale-independent
> regards
> Grzegorz Grzybek

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

       

Mime
View raw message