Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-20209

Pre-receieve hook to rejects commits with certain extension

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Repository - Hooks
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      Currently, these are the default pre-receieve hooks in Bitbucket Data Center; Using repository hooks.

      • Reject Force Push - rejects all force pushes to a repository.
      • Verify Commit Signature - rejects commits and tags without a verified GPG signature.
      • Verify Committer - rejects commits not committed by the user pushing to a repository.

      Suggested Solution

      Add a new default pre-receieve hook to reject commits with certain extension.

      Workaround

      Build a custom pre-recieve hook based on How to create a simple hook in Bitbucket Data Center.

              Unassigned Unassigned
              mmuthusamy Moga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: