]> gitweb.ps.run Git - ps-cgit/blobdiff - cgitrc.5.txt
snapshot: support special value 'all' to enable all formats
[ps-cgit] / cgitrc.5.txt
index 4da166c51f90ed16a12731179a9988a674fdbf0b..3bfacfa0e0a8829f8d1d0a7cd1c14f43015b387d 100644 (file)
@@ -429,6 +429,7 @@ snapshots::
        Text which specifies the default set of snapshot formats that cgit
        generates links for. The value is a space-separated list of zero or
        more of the values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip".
        Text which specifies the default set of snapshot formats that cgit
        generates links for. The value is a space-separated list of zero or
        more of the values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip".
+       The special value "all" enables all snapshot formats.
        Default value: none.
 
 source-filter::
        Default value: none.
 
 source-filter::
@@ -599,6 +600,13 @@ repo.snapshots::
        restricted by the global "snapshots" setting. Default value:
        <snapshots>.
 
        restricted by the global "snapshots" setting. Default value:
        <snapshots>.
 
+repo.snapshot-prefix::
+       Prefix to use for snapshot links instead of the repository basename.
+       For example, the "linux-stable" repository may wish to set this to
+       "linux" so that snapshots are in the format "linux-3.15.4" instead
+       of "linux-stable-3.15.4".  Default value: <empty> meaning to use
+       the repository basename.
+
 repo.section::
        Override the current section name for this repository. Default value:
        none.
 repo.section::
        Override the current section name for this repository. Default value:
        none.