[jbosstools-issues] [JBoss JIRA] (JBIDE-14828) OpenShift application/import wizard: if git clone directory already exist i cannot do anything

Fred Bricon (JIRA) jira-events at lists.jboss.org
Tue Jun 11 09:16:56 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780794#comment-12780794 ] 

Fred Bricon commented on JBIDE-14828:
-------------------------------------

you can check if there's a git repo at the existing location. If there is one, check if origin matches the repo the user is about to use.
If all that is true, ask the user if he wants to reuse it. Else warn the directory will be overwritten
                
> OpenShift application/import wizard: if git clone directory already exist i cannot do anything
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-14828
>                 URL: https://issues.jboss.org/browse/JBIDE-14828
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.1.0.Beta2
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>            Priority: Minor
>             Fix For: 4.1.x
>
>         Attachments: application-folder-already-exists.png
>
>
> steps to reproduce:
> # EXEC: create and/or import some appliaction from OpenShift to your local workspace using the application/import wizard
> # EXEC: once you have the project imported to your workspace, delete it
> # EXEC: once it is deleted, go and try to re-import the very same application
> Result:
> The 3rd wizard page errors on the git cloning destination. You're told that the destination folder already exists within the clone destination folder. The only way out currently is to choose a different clone destination folder. 
> !application-folder-already-exists.png!
> Expected:
> It would help a lot if wizard would allow you to overwrite the existing destination

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list