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

Server adapter: If I add a file to my project, it wont get pushed to OpenShift. Should show EGit commit dialog

    Details

    • Steps to Reproduce:
      Hide
      1. EXEC: launch OpenShift Application wizard
      2. EXEC: create a new application and have it imported to your workspace
      3. EXEC: After the import the adapter will tell you that there are local commits that you may want to publish to OpenShift. Tell it to do so
        !
      4. ASSERT: if you use the server adapter to publish, it'll tell you that tere are no changes
      5. EXEC: add a new file to your OpenShift enabled project
      6. EXEC: tell the OpenShift server adapter to publish

      Result:
      The adapter tells you that you dont have any changes to push

      Expected:
      The adapter should notice the new file, that was not added to the git index yet, and add & commit before publishing

      Show
      EXEC: launch OpenShift Application wizard EXEC: create a new application and have it imported to your workspace EXEC: After the import the adapter will tell you that there are local commits that you may want to publish to OpenShift. Tell it to do so ! ASSERT: if you use the server adapter to publish, it'll tell you that tere are no changes EXEC: add a new file to your OpenShift enabled project EXEC: tell the OpenShift server adapter to publish Result: The adapter tells you that you dont have any changes to push Expected: The adapter should notice the new file, that was not added to the git index yet, and add & commit before publishing
    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes, Interactive Demo/Tutorial, User Experience
    • Estimated Difficulty:
      High

      Description

      Currently the dialog showing up when committing/pushing is confusing since it says there are no changes which is not correct if comparing to opehsfnit remote repo.

      Should make a check against the fetched upstream and see what has changed since that is a fast local operation.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: