We use https://bitbucket.org/atlassianlabs/bitbucket-submodule-safe-hook heavily to prevent people from pushing a master when they haven't pushed changed submodules yet.
Unfortunately it seems this hook has stopped working in bitbucket-server 4.14.5 and git 2.11.1, all pushes are now rejected.
Is there someone with enough java knowledge to see if this can be fixed somehow?
I've also filed https://getsupport.atlassian.com/servicedesk/customer/portal/24/SSP-22333
@Robbin Bonthond I'm curious where you are today with this functionality? Do you know, is there some version of this hook that is working for you with a modern Bitbucket? We're using Bitbucket SErver 6.10.1 now and I'm looking into adding this protection.
Also, related is this feature request you may want to vote on: https://jira.atlassian.com/browse/BSERV-9660.
this seemed related to upgrading from git 2.10.0 to git 2.11.1, downgrading git makes these hooks working again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.