talisman
talisman copied to clipboard
Talisman as a Bitbucket Server Commit Hook Plugin
Bitbucket server has the possibility to apply commit hooks (pre/post) as the repository and the project level(affecting all repositories). It would be great if talisman would be available as a plugin so you will not have to be applied to every repository individually. Applying plugins at the project level allows you to configure a plugin at a bigger scope and then disable or configure it differently for a repository.
+1 It would be awesome to have this available. We are also looking forward for this...
IMHO gitrob or hawkeye is more suited for this use case. @jacksingleton @rrajagop what do you folks think ?
@gkohen Talisman can be applied at a global hook, and you will be able to choose the path during installation. So, if you want it to be installed for all repos under folder 'my project', you could choose that during the installation process. See https://github.com/thoughtworks/talisman#installation-as-a-global-hook-template for details. Does this satisfy what you were looking for?
Now that Talisman also has a CLI, maybe this can be added as a feature. To add a server-side hook to ensure that all commits, failing Talisman's checks, will be rejected, and not allowed to be pushed to the server-side repo itself. Makes sense @svishwanath-tw ?