talisman icon indicating copy to clipboard operation
talisman copied to clipboard

Talisman as a Bitbucket Server Commit Hook Plugin

Open gkohen opened this issue 7 years ago • 4 comments

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.

gkohen avatar Feb 20 '18 17:02 gkohen

+1 It would be awesome to have this available. We are also looking forward for this...

kumarvastav avatar Feb 20 '18 17:02 kumarvastav

IMHO gitrob or hawkeye is more suited for this use case. @jacksingleton @rrajagop what do you folks think ?

svishwanath-tw avatar Oct 25 '18 21:10 svishwanath-tw

@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?

harinee avatar May 20 '19 07:05 harinee

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 ?

harinee avatar Oct 01 '19 07:10 harinee