Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-1258

SourceTree should have scripting support

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I have a use case as follows:
      We have bug tracker at work, and after I commit I need to put the commit hash in the bug tracker for the fix.
      I'd like to be able to write a script that can, for example, get that commit and copy it in the right format to the clipboard, based on whats currently in the SourceTree window.
      This would require some scripting capabilities:
      1. At a first level, would just be great if we could get the names of windows open in SourceTree. This would help me identify the repository currently open in SourceTree, and my own scripting could do the rest.
      2. At a second level, would be great if SourceTree could tell me the full path to the currently open window's repository. This would be a better way for me to do (1).
      3. Ideally, it would be great if SourceTree could let me pull out the hash of the most recent or currently selected commit directly via AppleScript or another scripting interface.

              Unassigned Unassigned
              054ca88c4569 Michael Gorbach
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: