Webhaak

Latest version: v0.5.4

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.3.0

Added
- Python 3 compatibility
- Subprocess worker, making requests process the pull/clone and script execution asynchronous from the API call
- Give more output about the checkout and pull in the response JSON
- PushOver integration, providing feedback after the subprocess is done with updating and running its job

Changed
- Fixes to the example
- Better logging of the results of the jobs
- Use subprocess.run() instead of check_output()

Removed
- Trial with Redis
- Trial with Quart (asyncio Flask-alike)

0.2.0

Added
- wsgi file, for Apache mod_wsgi and supervisord and such
- Example Apache vhost
- Support for GitHub ping and push requests
- Support for per-repo parent dir settings with `repoparent`.
This means that webhaak doesn't clone this repo into its default cache dir, but in a subdirectory of
the directory configured in `repoparent`, so <repoparent>/reponame (e.g., /srv/customparent/myproject)
- json response now includes project name
- Logs information about GitHub hook requests

Changed
- Better error messags in json responses
- More info in json response about the executed command
- If DEBUG=True, Flask's DEBUG is enabled too
- Correctly checkout projects, don't only fetch the repos
- Better repo directory generation
- Better execution of scripts and other commands (with parameters)

0.1.0

Added
- Initial release
- Flask API with appkey-secured endpoints to:
- Git clone/fetch a repo to a certain directory
- Run a pre-defined command
- Return result of both the repo update and command execution as json response
- Configuration through yaml file: actions are pre-defined
- /getappkey helper endpoint to generate keys for usage in the yaml configuration

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.