stagit-gopher

[fork] gopher git frontend
git clone https://hhvn.uk/stagit-gopher
git clone git://hhvn.uk/stagit-gopher
Log | Files | Refs | README | LICENSE

stagit-gopher-index.1 (1038B)


      1 .Dd August 2, 2021
      2 .Dt STAGIT-GOPHER-INDEX 1
      3 .Os
      4 .Sh NAME
      5 .Nm stagit-gopher-index
      6 .Nd static git Gopher index generator
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl b Ar baseprefix
     10 .Op Ar repodir...
     11 .Sh DESCRIPTION
     12 .Nm
     13 will create a Gopher index for the repositories specified and writes
     14 the Gopher data to stdout.
     15 The repos in the index are in the same order as the arguments
     16 .Ar repodir
     17 specified.
     18 .Pp
     19 The options are as follows:
     20 .Bl -tag -width Ds
     21 .It Fl b Ar baseprefix
     22 Use base prefix as the root.
     23 By default this is "/".
     24 .El
     25 .Pp
     26 The basename of the directory is used as the repository name.
     27 The suffix ".git" is removed from the basename, this suffix is commonly used
     28 for "bare" repos.
     29 .Pp
     30 The content of the follow files specifies the meta data for each repository:
     31 .Bl -tag -width Ds
     32 .It .git/description or description (bare repos).
     33 description
     34 .El
     35 .Sh EXAMPLES
     36 .Bd -literal
     37 cd gphroot
     38 stagit-gopher-index path/to/gitrepo1 path/to/gitrepo2 > index.gph
     39 .Ed
     40 .Sh SEE ALSO
     41 .Xr stagit-gopher 1
     42 .Sh AUTHORS
     43 .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org