Hulk is a tool written in Python to automate bulk changes in Bitbucket repos.
It helps maintainers to compare repos and apply bulk changes based on a template.
The graphical interface is built using a webview and js and it is cross-platfform.
Hulk uses pipenv to manage dependencies and isolate environments.
First install pipenv:
pip install pipenv
To install dependencies:
pipenv install
To enter the environment:
pipenv shell
To leave the environment:
exit()
python hulk <username> <password>
- Clear unused code in scripts.js and index.html of the web in /assets
- Write setup.py (https://docs.python.org/3/distutils/introduction.html)
- Write unit tests (https://docs.python.org/3/library/unittest.html)
Bitbucket lib - https://pypi.org/project/bitbucket-api/
https://bitbucket-api.readthedocs.io/en/latest/index.html
WebView lib - https://pypi.org/project/pywebview/
https://pywebview.flowrl.com/guide/
Bitbucket API - https://developer.atlassian.com/bitbucket/api/2/reference