aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/hooks
Commit message (Collapse)AuthorAgeFilesLines
* Use $XDG_{CONFIG,DATA}_HOME in hooksNitroretro2019-12-232-12/+28
| | | | Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
* Change documentation to reflect the new file structureNitroretro2019-12-232-2/+6
| | | | Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
* Improve example hooksLukas Fleischer2016-02-082-6/+44
| | | | | | | | | | | | The post-save and post-sync hooks now automatically detect whether the data directory contains a .git/ directory and skip the commit creation process if it does not. The post-save hook and the new pre-load hook now also run calcurse-caldav in the background if that script is available and the data directory contains a caldav/ directory. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
* Do not put all files under version control in example hooksLukas Fleischer2016-02-071-1/+1
| | | | | | Modify the Git hooks such they only add known data files to the index. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
* calcurse-caldav: Add hook supportLukas Fleischer2016-02-071-0/+4
| | | | | | | | | | | Introduce pre-sync and post-sync hooks which need to be located under ~/.calcurse/caldav/hooks/ and are executed before/after synchronization with a CalDAV server. Also, add an example post-sync hook and change the example post-save hook such that it does not create tiny commits during synchronization. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
* Fix file name of the example hookLukas Fleischer2016-02-071-0/+0
| | | | Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
* Move example hook to contrib/hooks/Lukas Fleischer2016-02-071-0/+10
The contrib/ directory now contains another script that is not directly related to hooks. Clean things up by placing example hooks in a separate subdirectory. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>