I have some hooks I wanted to implement on my repo, written in Shell Script and Python. The issues I have though is that under normal circumstances, The server repo would just get a modification.
It seems adding a CMS such as bitbucket has convoluted the simplicity that is: modify .git/hooks/update by creating a market place where I have to buy/acquire various utilities.
It seems that it isnt as simple now.
Given:
|-> scripts
|->my_python.py
|-> .git
|-> hooks
|-> update.sample
I want to reference my_python.py from within my update script.
I can easily see it as use python $git_working_directory/scripts/my_python.py of sorts, but in bitbucket, it is just not as simple to reference this.
My desired end goal is to fire this python script when the server creates or deletes branches.