[jbosstools-issues] [JBoss JIRA] (JBIDE-13075) Openshift Wizard should ask "would you like to push your project"?

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Apr 19 08:04:54 EDT 2013


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

Andre Dietisheim commented on JBIDE-13075:
------------------------------------------

In theory this is possible, but there are currently 2 issue which prevent this from working correctly:

1) The adapter publish method asks the user if he wants to publish even if there are no changes:
!pushing-if-no-changes.png!
Thus I have to change the adapter to be able to not ask in these cases when invoked from the application creation wizard (asking when manually publishing still makes sense imho). 

2) The import procedure creates a commit even if there are no changes. I filed this to 
                
> Openshift Wizard should ask "would you like to push your project"?
> ------------------------------------------------------------------
>
>                 Key: JBIDE-13075
>                 URL: https://issues.jboss.org/browse/JBIDE-13075
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.0.0.Beta2
>            Reporter: Burr Sutter
>            Assignee: Burr Sutter
>             Fix For: 4.1.0.Beta1
>
>         Attachments: 1-local-change.png, clone-is-ahead.png, commit-when-importing.png, no_changes_yes.png, pushing-if-no-changes.png
>
>
> I believe the end-user will rarely remember to perform a git push once he has completed the OpenShift New Application Wizard - it is totally "not obvious" that is what is the next step - especially when the end-user is warned away from a push (see screenshot).
> In JBIDE-12122 Fred suggested the following:
> {quote}
> When creating an new openshift application from an existing workspace project, I expect my project to be deployed automatically once the Openshift app is created.
> Since not all projects are openshift-ready, we should have a checkbox on the openshift wizard (enabled when using an existing project) that basically says "deploy my app once created".
> The state of that checkbox should be stored in the workspace preferences.
> And obviously, when the box is checked, the local git repo would be pushed after the openshift app is created.
> Workflow should be :
> * create a project 'myapp' from JBoss Central (say HTML5)
> * create a new OpenShift application 'myapp', based on the jbossas7 cartridge, using the existing 'myapp' project
> * check the deploy checkbox
> * once the myapp.<mydomain>.rhcloud.com server is ready, Opening http://myapp.<mydomain>.rhcloud.com should display the HTML5 app
> {quote}

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