You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marcin Cetnarski (JIRA)" <ji...@codehaus.org> on 2006/03/28 14:33:44 UTC

[jira] Created: (SCM-177) Errors during changelog

Errors during changelog
-----------------------

         Key: SCM-177
         URL: http://jira.codehaus.org/browse/SCM-177
     Project: Maven SCM
        Type: Bug

  Components: maven-scm-provider-cvs  
 Environment: Windows XP, CVS NT
    Reporter: Marcin Cetnarski
 Attachments: AbstractCvsChangeLogCommand.patch

In class AbstractCvsChangeLogCommand there are two errors:

- date format passed in changelog configuration is omited  - "yyyy-MM-dd HH:mm:ss z" is used instead
- range argument must be enclosed by quotation marks

Patch added.

-- 
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] Commented: (SCM-177) Errors during changelog

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-177?page=comments#action_62182 ] 

Emmanuel Venisse commented on SCM-177:
--------------------------------------

Can you test with this format yyyy-MM-dd'T'HH:mm:ssZ ? so a date will be  like this : 2006-03-28T22:00:00+0100
It's the standard form of ISO 8601 format supported by cvs, normally, cvsnt support this standard

> Errors during changelog
> -----------------------
>
>          Key: SCM-177
>          URL: http://jira.codehaus.org/browse/SCM-177
>      Project: Maven SCM
>         Type: Bug

>   Components: maven-scm-provider-cvs
>  Environment: Windows XP, CVS NT
>     Reporter: Marcin Cetnarski
>     Assignee: Emmanuel Venisse
>  Attachments: AbstractCvsChangeLogCommand.patch
>
>
> In class AbstractCvsChangeLogCommand there are two errors:
> - date format passed in changelog configuration is omited  - "yyyy-MM-dd HH:mm:ss z" is used instead
> - range argument must be enclosed by quotation marks
> Patch added.

-- 
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] Reopened: (SCM-177) Errors during changelog

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-177?page=all ]
     
Emmanuel Venisse reopened SCM-177:
----------------------------------


can you look in documentation of cvsnt and describe here what is authorized date format? Hours minutes and seconds are required for the changelog command because the log between two full days isn't precisefor continuous integration tools

> Errors during changelog
> -----------------------
>
>          Key: SCM-177
>          URL: http://jira.codehaus.org/browse/SCM-177
>      Project: Maven SCM
>         Type: Bug

>   Components: maven-scm-provider-cvs
>  Environment: Windows XP, CVS NT
>     Reporter: Marcin Cetnarski
>     Assignee: Emmanuel Venisse
>  Attachments: AbstractCvsChangeLogCommand.patch
>
>
> In class AbstractCvsChangeLogCommand there are two errors:
> - date format passed in changelog configuration is omited  - "yyyy-MM-dd HH:mm:ss z" is used instead
> - range argument must be enclosed by quotation marks
> Patch added.

-- 
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] Commented: (SCM-177) Errors during changelog

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-177?page=comments#action_62272 ] 

Emmanuel Venisse commented on SCM-177:
--------------------------------------

we migrated to maven-scm in new code of changelog plugin, and actually only native cvs provider is full implemented/tested. Pure java cvs provider is in development in sandbox of maven-scm

> Errors during changelog
> -----------------------
>
>          Key: SCM-177
>          URL: http://jira.codehaus.org/browse/SCM-177
>      Project: Maven SCM
>         Type: Bug

>   Components: maven-scm-provider-cvs
>  Environment: Windows XP, CVS NT
>     Reporter: Marcin Cetnarski
>     Assignee: Emmanuel Venisse
>      Fix For: 1.0
>  Attachments: AbstractCvsChangeLogCommand.patch
>
>
> In class AbstractCvsChangeLogCommand there are two errors:
> - date format passed in changelog configuration is omited  - "yyyy-MM-dd HH:mm:ss z" is used instead
> - range argument must be enclosed by quotation marks
> Patch added.

-- 
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] Closed: (SCM-177) Errors during changelog

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-177?page=all ]
     
Emmanuel Venisse closed SCM-177:
--------------------------------

     Assign To: Emmanuel Venisse
    Resolution: Won't Fix

- datePattern is for the output and not for the command line. The format "yyyy-MM-dd HH:mm:ss z" on command line is a valid format for cvs log command (http://cvsbook.red-bean.com/cvsbook.html#Date%20Formats)
- argument of cl.createArgument().setValue() are automatically enclosed by quotes if it contains spaces

What exactly your problem with changelog command? Is it with code in svn or a previous version?

> Errors during changelog
> -----------------------
>
>          Key: SCM-177
>          URL: http://jira.codehaus.org/browse/SCM-177
>      Project: Maven SCM
>         Type: Bug

>   Components: maven-scm-provider-cvs
>  Environment: Windows XP, CVS NT
>     Reporter: Marcin Cetnarski
>     Assignee: Emmanuel Venisse
>  Attachments: AbstractCvsChangeLogCommand.patch
>
>
> In class AbstractCvsChangeLogCommand there are two errors:
> - date format passed in changelog configuration is omited  - "yyyy-MM-dd HH:mm:ss z" is used instead
> - range argument must be enclosed by quotation marks
> Patch added.

-- 
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] Commented: (SCM-177) Errors during changelog

Posted by "Marcin Cetnarski (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-177?page=comments#action_62270 ] 

Marcin Cetnarski commented on SCM-177:
--------------------------------------

About cvs nt format http://www.cvsnt.org/manual/html/Common-options.html,  so it uses all ISO 8601 format.

I think that my problem caused  this date "2006-02-27 08:59:27 CET<2006-03-30 09:59:27 CEST". CEST is not parsed by cvs as a valid time zone.

After your changes works ok.

Why scm uses native commandline scm and before used cvslib from netbeans ?

> Errors during changelog
> -----------------------
>
>          Key: SCM-177
>          URL: http://jira.codehaus.org/browse/SCM-177
>      Project: Maven SCM
>         Type: Bug

>   Components: maven-scm-provider-cvs
>  Environment: Windows XP, CVS NT
>     Reporter: Marcin Cetnarski
>     Assignee: Emmanuel Venisse
>      Fix For: 1.0
>  Attachments: AbstractCvsChangeLogCommand.patch
>
>
> In class AbstractCvsChangeLogCommand there are two errors:
> - date format passed in changelog configuration is omited  - "yyyy-MM-dd HH:mm:ss z" is used instead
> - range argument must be enclosed by quotation marks
> Patch added.

-- 
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] Closed: (SCM-177) Errors during changelog

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-177?page=all ]
     
Emmanuel Venisse closed SCM-177:
--------------------------------

     Resolution: Fixed
    Fix Version: 1.0

Fixed. Tested with cvs and CVSNT.

Marcin, can you test it with your cvsnt? a new snapshot is deployed

> Errors during changelog
> -----------------------
>
>          Key: SCM-177
>          URL: http://jira.codehaus.org/browse/SCM-177
>      Project: Maven SCM
>         Type: Bug

>   Components: maven-scm-provider-cvs
>  Environment: Windows XP, CVS NT
>     Reporter: Marcin Cetnarski
>     Assignee: Emmanuel Venisse
>      Fix For: 1.0
>  Attachments: AbstractCvsChangeLogCommand.patch
>
>
> In class AbstractCvsChangeLogCommand there are two errors:
> - date format passed in changelog configuration is omited  - "yyyy-MM-dd HH:mm:ss z" is used instead
> - range argument must be enclosed by quotation marks
> Patch added.

-- 
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] Commented: (SCM-177) Errors during changelog

Posted by "Marcin Cetnarski (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-177?page=comments#action_62163 ] 

Marcin Cetnarski commented on SCM-177:
--------------------------------------

- you are right dates are automatically enclosed by quotes ( I must have overlooked)

But when I use  the format "yyyy-MM-dd HH:mm:ss z" I have following error

[ERROR] cvs [log aborted]: Can't parse date/time: 2006-03-29 15:37:26 CEST

After changing the format to "yyyy-MM-dd" everything is ok.

I use snapshot version of all scm projects, changelog, maven-2.0.3-SNAPHOT (2 weeks old) and I have Windows XP with CVS NT.

> Errors during changelog
> -----------------------
>
>          Key: SCM-177
>          URL: http://jira.codehaus.org/browse/SCM-177
>      Project: Maven SCM
>         Type: Bug

>   Components: maven-scm-provider-cvs
>  Environment: Windows XP, CVS NT
>     Reporter: Marcin Cetnarski
>     Assignee: Emmanuel Venisse
>  Attachments: AbstractCvsChangeLogCommand.patch
>
>
> In class AbstractCvsChangeLogCommand there are two errors:
> - date format passed in changelog configuration is omited  - "yyyy-MM-dd HH:mm:ss z" is used instead
> - range argument must be enclosed by quotation marks
> Patch added.

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