Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5039

Add Commits APIs for status bar

    XMLWordPrintable

    Details

      Description

      We need to have several APIs so as to get required information for the status bar. Also, these APIs might be useful when we'll rewrite some views in the future.

      For now, we think of:

      /projects/{}/branches/{}/appDef => exists, to get current platform
      /projects/{}/branches/{}/ahead_commits => commits that have been committed to the branch, and not "pushed" yet (for wip branches only)
      /projects/{}/branches/{}/behind_commits => commits that have been committed to the shared branch, and not yet pulled (for wip branches only)
      /projects/{}/branches/{}/status => contains: current wip commit (if any), # of ahead, # of behind
      /projects/{}/commits/{}/files => list of files changed in a given commit
      /projects/{}/commits/{} => DELETE a commit (should only support WIP for now).
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d