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?
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
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