Daniel Shahaf
218f074609
Hooks: Improved comments in sample hook script
2015-08-12 23:21:16 -04:00
Wilhelm Schuermann
df209b9b8b
TW-1587: Further improve example on-exit hook
...
- Initial patch was not quite right. on-exit _does_ receive added and
modified tasks on STDIN, but is not allowed to return JSON.
2015-03-31 07:25:23 +02:00
Jochen Sprickerhof
c27f5d23b6
Hooks: Remove read loop from example on-exit hook
...
There is no input to the on-exit script. Prevents error:
"Hook Error: Expected 0 JSON task(s), found 1"
Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com>
2015-03-30 21:38:25 +02:00
Paul Beckingham
8e730f2da3
Hooks
...
- Updated examples to not rely on bash being in /bin.
2015-02-07 10:25:50 -05:00
Paul Beckingham
1cfdfbae52
Hooks
...
- Removed the ability for hooks to add tasks, or modify tasks that are outside
the context of the current event. This makes hooks a local mechanism that
operates only on local changes. Modifications/additions coming in via sync
command are not processed by hooks.
2015-01-31 17:47:58 -05:00
Paul Beckingham
94e243d8d0
Hooks
...
- Added 'read -t 1' as an example for the on-exit sample hook.
2014-10-09 19:05:24 -04:00
Paul Beckingham
1fc388886f
Hooks
...
- Typos.
2014-09-09 23:19:39 -04:00
Paul Beckingham
51291f76fe
Hooks
...
- Updated documentation and style of example hook scripts.
2014-09-09 23:09:24 -04:00
Paul Beckingham
4b70a26e60
Hooks
...
- Clarified the interface for on-exit, as there is no opportunity for scripts
triggered by this event to modify data directly.
2014-09-07 22:42:41 -04:00
Paul Beckingham
f47054c485
Hooks
...
- Added README describing the hook system.
- Corrected hook interface details regarding exit codes.
2014-09-07 22:13:31 -04:00
Paul Beckingham
db37b0d4ed
Hooks
...
- Corrected comment in sample hook script.
2014-05-17 11:41:32 -04:00
Paul Beckingham
11058396c8
Hooks
...
- Cleaned up せxample hooks, with clearer inline documentation.
2014-05-17 11:16:32 -04:00
Paul Beckingham
3f2df5a3b6
Hooks
...
- Added example hook scripts.
2014-05-14 20:10:37 -04:00