[jbosstools-issues] [JBoss JIRA] (JBIDE-10402) Enable OpenShift for existing project always clones the OpenShift app to the very same location. Repos that exist at the very same location are overwritten.

Andre Dietisheim (Updated) (JIRA) jira-events at lists.jboss.org
Wed Dec 7 13:37:40 EST 2011


     [ https://issues.jboss.org/browse/JBIDE-10402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-10402:
-------------------------------------

    Steps to Reproduce: 
# ASSERT: make sure you have no git repository in your <home>/git/<openshiftApplicationName> (ex. I use an Openshift application called as1. Since I checked that one out, I have a clone of it in /home/adietish/git/as1)
# ASSERT: make sure you have a "Dynamic Web Project" in your workspace, that is not shared to any provider (no cvs, no svn, no git, etc.)
# EXEC: launch the OpenShift application wizard
# EXEC: on the last page, make sure you have "Create new application" unchecked
# EXEC: choose your "dynamic web project"
# EXEC: hit finish
# ASSERT: got to <home>/git/<openshiftApplicationName> and create an empty file (ex. TEST)

!clone-destination.png!

do steps 3 - 6 again

# ASSERT: got to <home>/git/<openshiftApplicationName> and check if your file (ex. TEST) is still there

Result:
It disappeared. The OpenShift wizard cloned the git repo of your application to the very same location and overwrote the repo that was already there. 



  was:
# ASSERT: make sure you have no git repository in your <home>/git/<openshiftApplicationName> (ex. I use an Openshift application called as1. Since I checked that one out, I have a clone of it in /home/adietish/git/as1)
# ASSERT: make sure you have a "Dynamic Web Project" in your workspace, that is not shared to any provider (no cvs, no svn, no git, etc.)
# EXEC: launch the OpenShift application wizard
# EXEC: on the last page, make sure you have "Create new application" unchecked
# EXEC: choose your "dynamic web project"
# EXEC: hit finish
# ASSERT: got to <home>/git/<openshiftApplicationName> and create an empty file (ex. TEST)

do steps 3 - 6 again

# ASSERT: got to <home>/git/<openshiftApplicationName> and check if your file (ex. TEST) is still there

Result:
It disappeared. The OpenShift wizard cloned the git repo of your application to the very same location and overwrote the repo that was already there. 




    
> Enable OpenShift for existing project always clones the OpenShift app to the very same location. Repos that exist at the very same location are overwritten.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10402
>                 URL: https://issues.jboss.org/browse/JBIDE-10402
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 3.3.0.M5
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.0.M5, 3.3.0.Beta1
>
>         Attachments: clone-destination.png
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list