- Status New
- Percent Complete
- Task Type Feature Request
- Category Backend/Core
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version 1.0 alpha1
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#2059 - usage of github automated/webhook notifications
We have no API yet for Flyspray.
But someone could write a simple php-file that can be called by a github.com auto notification, whenever:
- a commit on github.com for Flyspray/flyspray is made
Github.com provides the configuration of such notification for a possible target like
https://bugs.flyspray.org/api/github.php
or
https://bugs.flyspray.org/api/github.php?project=1
in the settings of a project.
What the file needs:
- import some of the existing Flyspray classes from includes/
- config or load the secrets that are provided by github.com in the setup for the automatic notification
- check that secrets and more for authentication and authorization of requests coming from github.com
- take actions on the results of that message parsing like making adding comment or modifying a task status