org_heigl / captainhook_sendtime_backend_tine2
Send the time from a time-entry in your git commit-message to a Tine2.0 instance
2.0.0
2019-02-14 20:22 UTC
Requires
- php: ^7.2
- captainhook/captainhook: ^4.0
- graze/guzzle-jsonrpc: ^3.0
- org_heigl/captainhook_sendtime: ^2.0
Requires (Dev)
- captainhook/plugin-composer: ^4.0
- org_heigl/captainhook_addtime: ^2.0
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2024-10-31 00:31:01 UTC
README
A small addition to CaptainHook that will send timing-entries from your commit-messages to your Tine2.0 instance.
That way you can track your times via your commit-messages.
This is a backend implementation for the sendtime-addon to CaptainHook
Usage
Add this to your captainhook.json
-File. Make sure to adapt the relevant values.
{
"post-commit" : {
"enabled" : true,
"actions" : [{
"action": "\\Org_Heigl\\CaptainHook\\Hooks\\SendTime\\SendTimeAction",
"options": {
"account" : "Tine2.0 Action-ID",
"backendfactory" : "\\Org_Heigl\\CaptainHook\\Hooks\\SendTimeTine2Backend\\Tine2Factory",
"username" : "Tine 2.0 Username",
"passwordfile" : "Path/to/a/file/containing/your/Tine2.0/login/password",
"uri" : "https://tine20.example.net"
}
}]
}
}