]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/How_to_set_up_git_repository_hook___63__.mdwn
Merge branch 'master' of ssh://git.ikiwiki.info
[ikiwiki.git] / doc / forum / How_to_set_up_git_repository_hook___63__.mdwn
1 Hi,
2
3 I want to set up hooks for Git, and I don't know how to. Is there any documentation somewhere? Basically, I'd like to do what [[/ikiwiki-makerepo]] does, but manually.
4
5 Why? Because I want to have a special layout to my repository. Especially, I want to include at the root level some special files:
6
7 - the nginx configuration
8 - the script that installs the nginx configuration to the system
9 - the script that starts the fast-cgi wrapper
10 - the `ikiwiki.setup` file
11 - ...
12
13 And I want the ikiwiki sources to be in a subdirectory `src/` and the generated files in `out/` (where the nginx configuration points).
14
15 So, what is the special `post-update` hook generated by [[/ikiwiki-makerepo]]? I noticed it was an ELF file, why not a script? What does it do?
16
17 Thanks,
18
19 Mildred