Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,312
Community Members
 
Community Events
165
Community Groups

stash hook to prevent unpushed submodules

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

1 comment

this seemed related to upgrading from git 2.10.0 to git 2.11.1, downgrading git makes these hooks working again.

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

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,085 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you