Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13175

Openshift server adapter: on first push it says that it has no local changes. Even though local clone has 1 commit more than remote

    XMLWordPrintable

    Details

    • Release Notes Text:
      Hide
      To easily publish a project to OpenShift one can use the OpenShift server adapter. This adapter keeps track of your local changes and tells you if there are any that you can publish to OpenShift.
      There are two situations where there are changes that you may publish to OpenShift: Firstly you may have uncommitted changes. The adapter will then commit and push them to OpenShift. Secondly you may have committed changes, that you didn't push yet. The adapter will then offer you to push them to OpenShift. Prior to Alpha1, the adapter wouldn't detect this latter usecase and falsely tell you that there are no changes that you could publish to OpenShift.
      Show
      To easily publish a project to OpenShift one can use the OpenShift server adapter. This adapter keeps track of your local changes and tells you if there are any that you can publish to OpenShift. There are two situations where there are changes that you may publish to OpenShift: Firstly you may have uncommitted changes. The adapter will then commit and push them to OpenShift. Secondly you may have committed changes, that you didn't push yet. The adapter will then offer you to push them to OpenShift. Prior to Alpha1, the adapter wouldn't detect this latter usecase and falsely tell you that there are no changes that you could publish to OpenShift.

      Description

      1. EXEC: launch OpenShift Application wizard and create a new application / import existing one
      2. ASSERT: you get the OpenShift application imported to your workspace
      3. EXEC: in Servers view, select the adapter for your OpenShift application and pick Publish from its context menu

      Result:
      The adapter tells you that there are no local changes. If you look at your local project you'll see in the git-decoration that the local git repo is ahead of 1 commit of the remote, so there is a local commit that could be pushed/published.

      Expected result:
      The adapter should tell you that there are local changes and ask you if you want to publish them.

        Attachments

        1. 1-local-change.png
          1-local-change.png
          14 kB
        2. committed-not-published.png
          committed-not-published.png
          11 kB
        3. no_changes_yes.png
          no_changes_yes.png
          28 kB
        4. no-local-changes.png
          no-local-changes.png
          105 kB

          Issue Links

            Activity

              People

              Assignee:
              adietish André Dietisheim
              Reporter:
              adietish André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: