We are trying restrict commits that contain files over a certain size and found this resource: https://bitbucket.org/atlassianlabs/stash-filesize-hook-plugin
This is exactly what we need but unfortunately we do not know how to set this up. Unfortunately I'm a sysadmin and not a programmer so I'm not sure what I need to do with the source to get this setup to work properly with stash... any instrictions or direction would be greatly appreciated!
I've uploaded a compiled jar to the Bitbucket repository for you:
You should be able to upload that on the plugins administration screen, and then the hook will be visible in the repository hook page which can be enabled per-repository (and a maximum size configured).
Let me know if you have any questions, although I do need to mention that this isn't an official plugin and as such we don't support it in our normal capacity.
This plugin is wonderful, however it seems to have been broken by Stash 2.5. Changes in the API?
The configure screen gets stuck while I see that this AJAX request
is returning "204 No Content".... Not what the plugin expects?
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs