stagit-hook

Maintain stagit post-update git hooks
Log | Files | Refs | README

stagit-hook.5 (1088B)


      1 .Dd October 19, 2025
      2 .Dt STAGIT-HOOK 5
      3 .Os
      4 .Sh NAME
      5 .Nm stagit-hook
      6 .Nd stagit-hook configuration file
      7 .Sh DESCRIPTION
      8 The
      9 .Nm
     10 configuration file contains various options for
     11 .Xr stagit-hook 1 .
     12 The options are listed below:
     13 .Bl -tag -width Ds
     14 .It Ic baseurl Ar url
     15 Set the base url for
     16 .Xr stagit 1 .
     17 Defaults to
     18 .Qq https://$(hostname)/projects/ .
     19 .It Ic basedir Ar directory
     20 Set the root for generated pages.
     21 Defaults to
     22 .Qq /var/www/htdocs/$(hostname)/projects/ .
     23 .It Ic repodir Ar directory
     24 Set the repository directory for generating the index.
     25 Defaults to the home directory.
     26 .It Ic hasfile Ar path
     27 Specifies the file that repositories must contain to be indexed.
     28 Defaults to
     29 .Qq refs .
     30 .El
     31 .Sh FILES
     32 .Bl -tag -width Ds
     33 .It Pa /etc/stagit-hook
     34 Contains configuration data for
     35 .Xr stagit-hook 1 .
     36 .El
     37 .Sh EXAMPLES
     38 Here is an example
     39 .Pa /etc/stagit-hook :
     40 .Bd -offset indent -literal
     41 baseurl https://example.com/git
     42 basedir /var/www/htdocs/example.com/git
     43 hasfile git-daemon-export-ok
     44 .Ed
     45 .Sh SEE ALSO
     46 .Xr stagit-hook 1
     47 .Sh AUTHORS
     48 .An Jacob R. Edwards Aq Mt jacob@jacobedwards.org