You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Frédéric Camblor (JIRA)" <ji...@codehaus.org> on 2010/03/29 17:43:27 UTC
[jira] Created: (MRELEASE-537) SvnCheckInConsumer is "English
locale" dependent
SvnCheckInConsumer is "English locale" dependent
------------------------------------------------
Key: MRELEASE-537
URL: http://jira.codehaus.org/browse/MRELEASE-537
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: scm
Affects Versions: 2.0, 2.0-beta-9
Environment: Debian
Locale fr_FR
Reporter: Frédéric Camblor
Priority: Critical
Looking at the SvnCheckInConsumer class (here : http://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.3/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkin/SvnCheckInConsumer.java) we can say that if message displayed while commiting file is not "Committed revision XXX", revision parsing will fail !
Maybe the implementation should look at the current Locale ?
Or (maybe simplier) some regex such as [^0-9]*([0-9]+)[^0-9]* should be used to match/retrieve current revision number after commit ?
When using French locale, revision 0 is returned to the SVN commit result ... so, later, tagging fails with some spacy message "revision 0 doesn't exist".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SCM-577) SvnCheckInConsumer is "English locale" dependent
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SCM-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed SCM-577.
------------------------------
Resolution: Duplicate
Assignee: Robert Scholte
> SvnCheckInConsumer is "English locale" dependent
> ------------------------------------------------
>
> Key: SCM-577
> URL: https://jira.codehaus.org/browse/SCM-577
> Project: Maven SCM
> Issue Type: Bug
> Environment: Debian
> Locale fr_FR
> Reporter: Frédéric Camblor
> Assignee: Robert Scholte
> Priority: Critical
>
> Looking at the SvnCheckInConsumer class (here : http://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.3/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkin/SvnCheckInConsumer.java) we can say that if message displayed while commiting file is not "Committed revision XXX", revision parsing will fail !
> Maybe the implementation should look at the current Locale ?
> Or (maybe simplier) some regex such as [^0-9]*([0-9]+)[^0-9]* should be used to match/retrieve current revision number after commit ?
> When using French locale, revision 0 is returned to the SVN commit result ... so, later, tagging fails with some spacy message "revision 0 doesn't exist".
--
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] Commented: (SCM-577) SvnCheckInConsumer is "English locale"
dependent
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SCM-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235705#action_235705 ]
Olivier Lamy commented on SCM-577:
----------------------------------
you can have a look at svnjava provider http://goo.gl/cvG1 which is non locale dependent
> SvnCheckInConsumer is "English locale" dependent
> ------------------------------------------------
>
> Key: SCM-577
> URL: http://jira.codehaus.org/browse/SCM-577
> Project: Maven SCM
> Issue Type: Bug
> Environment: Debian
> Locale fr_FR
> Reporter: Frédéric Camblor
> Priority: Critical
>
> Looking at the SvnCheckInConsumer class (here : http://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.3/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkin/SvnCheckInConsumer.java) we can say that if message displayed while commiting file is not "Committed revision XXX", revision parsing will fail !
> Maybe the implementation should look at the current Locale ?
> Or (maybe simplier) some regex such as [^0-9]*([0-9]+)[^0-9]* should be used to match/retrieve current revision number after commit ?
> When using French locale, revision 0 is returned to the SVN commit result ... so, later, tagging fails with some spacy message "revision 0 doesn't exist".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Moved: (SCM-577) SvnCheckInConsumer is "English locale"
dependent
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SCM-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter moved MRELEASE-537 to SCM-577:
-------------------------------------------
Complexity: Intermediate
Component/s: (was: scm)
Affects Version/s: (was: 2.0)
(was: 2.0-beta-9)
Key: SCM-577 (was: MRELEASE-537)
Project: Maven SCM (was: Maven 2.x Release Plugin)
> SvnCheckInConsumer is "English locale" dependent
> ------------------------------------------------
>
> Key: SCM-577
> URL: http://jira.codehaus.org/browse/SCM-577
> Project: Maven SCM
> Issue Type: Bug
> Environment: Debian
> Locale fr_FR
> Reporter: Frédéric Camblor
> Priority: Critical
>
> Looking at the SvnCheckInConsumer class (here : http://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.3/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkin/SvnCheckInConsumer.java) we can say that if message displayed while commiting file is not "Committed revision XXX", revision parsing will fail !
> Maybe the implementation should look at the current Locale ?
> Or (maybe simplier) some regex such as [^0-9]*([0-9]+)[^0-9]* should be used to match/retrieve current revision number after commit ?
> When using French locale, revision 0 is returned to the SVN commit result ... so, later, tagging fails with some spacy message "revision 0 doesn't exist".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira