maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Odea Ching (JIRA)" <j...@codehaus.org>
Subject [jira] Issue Comment Edited: (SCM-558) Add support for 'mkdir' command
Date Tue, 22 Jun 2010 06:23:14 GMT

    [ http://jira.codehaus.org/browse/SCM-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226041#action_226041
] 

Maria Odea Ching edited comment on SCM-558 at 6/22/10 1:21 AM:
---------------------------------------------------------------

Hi Grant, for the other providers, the mkdir command is simply just add. But for SVN provider,
you can run mkdir in two ways:
* svn mkdir [DIRNAME]
* svn mkdir [REPO URL]

The related wagon-scm issue is for deploying documentation to a SCM repository. The case there
is when the specified path does not exist, the deployment fails. So what we wanted to do was
create the missing directory paths first. In cases when the provider is SVN, we want to utilize
the 'svn mkdir [REPO URL]' command so that there's no need to checkout the entire source tree
just to create the directories. For the other SCM providers, I don't think there's an equivalent
for 'svn mkdir [REPO URL]' (only for 'svn mkdir [DIRNAME]' to create/add dir in working copy
has an equivalent) so what I did with the CVS implementation for the mkdir command is to just
invoke the the CVS Add command from within. I'm still fixing some tests and I'll commit it
later if you want to take a look.

      was (Author: oching):
    Hi Grant, for the other providers, the mkdir command is simply just add. But for SVN provider,
you can run mkdir in two ways:
* svn mkdir [DIRNAME]
* svn mkdir [REPO URL]

The related wagon-scm issue is for deploying documentation to a SCM repository. The case there
is when the specified path does not exist, the deployment fails. So what we wanted to do was
create the missing directory paths first. In cases when the provider is SVN, we want to utilize
the 'svn mkdir [REPO URL]' command so that there's no need to checkout the entire source tree
just to create the directories. For the other SCM providers, I don't think there's an equivalent
for 'svn mkdir [REPO URL]' (only for 'svn mkdir [DIRNAME]' to create/add dir in working copy
has an equivalent) so what I did with the CVS implementation for the mkdir command is to just
invoke the the CVS Add command from within. I'm still fixing some tests and I'll commit it
later if you can take a look.
  
> Add support for 'mkdir' command
> -------------------------------
>
>                 Key: SCM-558
>                 URL: http://jira.codehaus.org/browse/SCM-558
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-api
>            Reporter: Maria Odea Ching
>            Assignee: Maria Odea Ching
>


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

        

Mime
View raw message