Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-306

Support new Hooks API in existing hooks

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Done
    • High
    • Resolution: Done
    • None
    • 5.4.18
    • None
    • None

    Description

      We should let users write custom hooks using the new Hooks API in Bitbucket, whilst still supporting the old way of writing them.

      Main advantage is that commits are streamed to you, so we don't have to support that ourselves. It's also easier to only concern yourself with one change, for example just changed added to the repository or when a branch is created.

      This is particularly useful in the trusted commit authors hook where we want to have only the commits that don't exist anywhere else in the repository.

      Attachments

        Activity

          People

            amarkham Adam Markham
            amarkham Adam Markham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: