You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/01/29 13:46:44 UTC

[jira] Created: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHANGELOG-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGELOG-55
    Summary: svn doesn not return any log entries due redundant quotation marks in range
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-changelog-plugin
   Versions:
             1.7.2
             1.8

   Assignee: 
   Reporter: Petr Adamek

    Created: Sat, 29 Jan 2005 7:45 AM
    Updated: Sat, 29 Jan 2005 7:45 AM
Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 

Description:
SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Petr Adamek
    Created: Sat, 29 Jan 2005 8:50 AM
       Body:
Both 

svn log "-r{2005-01-30}:{2004-12-30}" 

and 

svn log -r\{2005-01-30\}:\{2004-12-30\} 

work typed on command line, but don't work used in changelog plugin:

SCM Command Line[0]: svn
SCM Command Line[1]: log
SCM Command Line[2]: -v
SCM Command Line[3]: -r\{2005-01-30\}:\{2004-12-30\}
svn: Syntax error in revision argument '\{2005-01-30\}:\{2004-12-30\}'
ChangeLog found: 0 entries

I think that '{' and '}' must be escaped due to shell expansions, but Commandline class probably uses Runtime.exec() and gives parameters direct without shell expansions.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPCHANGELOG-55?page=comments#action_29402

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHANGELOG-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGELOG-55
    Summary: svn doesn not return any log entries due redundant quotation marks in range
       Type: Bug

     Status: In Progress
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-changelog-plugin
   Versions:
             1.7.2
             1.8

   Assignee: Brett Porter
   Reporter: Petr Adamek

    Created: Sat, 29 Jan 2005 7:45 AM
    Updated: Sat, 29 Jan 2005 8:50 AM
Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 

Description:
SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPCHANGELOG-55?page=history ]

Brett Porter updated MPCHANGELOG-55:
------------------------------------

    Fix Version: 1.8

> svn doesn not return any log entries due redundant quotation marks in range
> ---------------------------------------------------------------------------
>
>          Key: MPCHANGELOG-55
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-55
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.7.2, 1.8
>  Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 
>     Reporter: Petr Adamek
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 1.8

>
>
> SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Petr Adamek
    Created: Tue, 1 Feb 2005 6:04 PM
       Body:
I made some experiments on three different computers, one with SuSE 9.1, one with SuSE 9.2 and one with Fedora Core 3, but plugin behaves the same way. But I found that the plugin version 1.7.1 works perfectly while the plugin version 1.7.2 contains this bug:

SuSE 9.1: 1.7.1 works, but 1.7.2 does not work 
SuSE 9.2: 1.7.1 works, but 1.7.2 does not work 
FC 3:     1.7.1 works, but 1.7.2 does not work 

I am sure, that the problem lies in the patch that solved 

http://jira.codehaus.org/browse/MPCHANGELOG-29

because this patch added problematic quotes.

On Linux, Execute class uses shell script antRun and all parameters are processed correctly. Therefore no escaping is required and all characters including quotes are given to executed process. 

But on WindowsNT, Execute class uses antRun.bat executed by cmd.exe and probably does not escape problematic characters like '{' and '}'. I think, that this is the bug of org.apache.tools.ant.taskdefs.Execute.WinNTCommandLauncher class. 

Summary: Version without quotes works on Linux but does not work on WindowsNT while version with quotes works on WindowsNT but does not work on Linux.  

Ugly workaround can be made by detecting OS type and adding quotes only on WindowsNT. Better solution is to use corrected version of ant. Unfortunatly I have no computer with Windows therefore I cannot try to prove any of both solutions.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPCHANGELOG-55?page=comments#action_29487

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHANGELOG-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGELOG-55
    Summary: svn doesn not return any log entries due redundant quotation marks in range
       Type: Bug

     Status: In Progress
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-changelog-plugin
   Versions:
             1.7.2
             1.8

   Assignee: Brett Porter
   Reporter: Petr Adamek

    Created: Sat, 29 Jan 2005 7:45 AM
    Updated: Tue, 1 Feb 2005 6:04 PM
Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 

Description:
SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPCHANGELOG-55?page=all ]
     
Brett Porter closed MPCHANGELOG-55:
-----------------------------------

    Resolution: Fixed

> svn doesn not return any log entries due redundant quotation marks in range
> ---------------------------------------------------------------------------
>
>          Key: MPCHANGELOG-55
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-55
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.8, 1.7.2
>  Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 
>     Reporter: Petr Adamek
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 1.8
>  Attachments: MPCHANGELOG-55.txt
>
>
> SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by "Jeremy Michael Crosbie (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPCHANGELOG-55?page=all ]

Jeremy Michael Crosbie updated MPCHANGELOG-55:
----------------------------------------------

    Attachment: MPCHANGELOG-55.txt

By moving the escaped quote after "-r", the plugin works.

> svn doesn not return any log entries due redundant quotation marks in range
> ---------------------------------------------------------------------------
>
>          Key: MPCHANGELOG-55
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-55
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.8, 1.7.2
>  Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 
>     Reporter: Petr Adamek
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 1.8
>  Attachments: MPCHANGELOG-55.txt
>
>
> SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPCHANGELOG-55?page=comments#action_39736 ]
     
Brett Porter commented on MPCHANGELOG-55:
-----------------------------------------

In response to Jeremy: yes, but it will break it on other operating systems.

> svn doesn not return any log entries due redundant quotation marks in range
> ---------------------------------------------------------------------------
>
>          Key: MPCHANGELOG-55
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-55
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.8, 1.7.2
>  Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 
>     Reporter: Petr Adamek
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 1.8
>  Attachments: MPCHANGELOG-55.txt
>
>
> SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Work stopped: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPCHANGELOG-55?page=history ]
     
Work on MPCHANGELOG-55 stopped by Brett Porter

> svn doesn not return any log entries due redundant quotation marks in range
> ---------------------------------------------------------------------------
>
>          Key: MPCHANGELOG-55
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-55
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.7.2, 1.8
>  Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 
>     Reporter: Petr Adamek
>     Assignee: Brett Porter
>     Priority: Critical

>
>
> SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Work Started: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by ji...@codehaus.org.
Message:

   Work on this issue has been started by Brett Porter (mailto:brett@codehaus.org)

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHANGELOG-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGELOG-55
    Summary: svn doesn not return any log entries due redundant quotation marks in range
       Type: Bug

     Status: In Progress
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-changelog-plugin
   Versions:
             1.7.2
             1.8

   Assignee: Brett Porter
   Reporter: Petr Adamek

    Created: Sat, 29 Jan 2005 7:45 AM
    Updated: Sat, 29 Jan 2005 7:54 AM
Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 

Description:
SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Brett Porter
    Created: Sat, 29 Jan 2005 7:54 AM
       Body:
changed to -r"{2005-01-30}:{2004-12-30}" instead of "-r{2005-01-30}:{2004-12-30}"

Can you verify 
svn log -r"{2005-01-30}:{2004-12-30}"
works in your environment?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPCHANGELOG-55?page=comments#action_29398

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHANGELOG-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGELOG-55
    Summary: svn doesn not return any log entries due redundant quotation marks in range
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-changelog-plugin
   Versions:
             1.7.2
             1.8

   Assignee: 
   Reporter: Petr Adamek

    Created: Sat, 29 Jan 2005 7:45 AM
    Updated: Sat, 29 Jan 2005 7:54 AM
Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 

Description:
SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Brett Porter
    Created: Sat, 29 Jan 2005 8:23 AM
       Body:
how about:
svn log -r\{2005-01-30\}:\{2004-12-30\}
?

This works in cygwin, windows, Redhat 9. (though so did the quoted versions... presumably my shell swallows them first).
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPCHANGELOG-55?page=comments#action_29400

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHANGELOG-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGELOG-55
    Summary: svn doesn not return any log entries due redundant quotation marks in range
       Type: Bug

     Status: In Progress
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-changelog-plugin
   Versions:
             1.7.2
             1.8

   Assignee: Brett Porter
   Reporter: Petr Adamek

    Created: Sat, 29 Jan 2005 7:45 AM
    Updated: Sat, 29 Jan 2005 8:23 AM
Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 

Description:
SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPCHANGELOG-55) svn doesn not return any log entries due redundant quotation marks in range

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Petr Adamek
    Created: Sat, 29 Jan 2005 8:15 AM
       Body:
No, it does not work: 

SCM Command Line[0]: svn
SCM Command Line[1]: log
SCM Command Line[2]: -v
SCM Command Line[3]: -r"{2005-01-30}:{2004-12-30}"
svn: Syntax error in revision argument '"{2005-01-30}:{2004-12-30}"'
ChangeLog found: 0 entries

Works only version without quotations: 

SCM Command Line[0]: svn
SCM Command Line[1]: log
SCM Command Line[2]: -v
SCM Command Line[3]: -r{2005-01-30}:{2004-12-30}
ChangeLog found: 68 entries

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPCHANGELOG-55?page=comments#action_29399

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHANGELOG-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGELOG-55
    Summary: svn doesn not return any log entries due redundant quotation marks in range
       Type: Bug

     Status: In Progress
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-changelog-plugin
   Versions:
             1.7.2
             1.8

   Assignee: Brett Porter
   Reporter: Petr Adamek

    Created: Sat, 29 Jan 2005 7:45 AM
    Updated: Sat, 29 Jan 2005 8:15 AM
Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0, 

Description:
SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks into string with requested date range. This causes that svn interprets parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter and returns empty log.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org