]> gitweb.ps.run Git - ps-cgit/blobdiff - cgitrc.5.txt
global: remove functionality we deprecated for cgit v1.0
[ps-cgit] / cgitrc.5.txt
index e21ece9fd30263b6f8244cf4d86c7a675d0024d8..acfae91c58c79df7aaf7ba9cb861fd8aae7ef4c4 100644 (file)
@@ -141,6 +141,11 @@ embedded::
        suitable for embedding in other html pages. Default value: none. See
        also: "noheader".
 
+enable-blame::
+       Flag which, when set to "1", will allow cgit to provide a "blame" page
+       for files, and will make it generate links to that page in appropriate
+       places. Default value: "0".
+
 enable-commit-graph::
        Flag which, when set to "1", will make cgit print an ASCII-art commit
        history graph to the left of the commit messages in the repository
@@ -150,6 +155,10 @@ enable-filter-overrides::
        Flag which, when set to "1", allows all filter settings to be
        overridden in repository-specific cgitrc files. Default value: none.
 
+enable-follow-links::
+       Flag which, when set to "1", allows users to follow a file in the log
+       view.  Default value: "0".
+
 enable-http-clone::
        If set to "1", cgit will act as an dumb HTTP endpoint for git clones.
        You can add "http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL" to clone-url
@@ -186,6 +195,13 @@ enable-subject-links::
        in commit view. Default value: "0". See also:
        "repo.enable-subject-links".
 
+enable-html-serving::
+       Flag which, when set to "1", will allow the /plain handler to serve
+       mimetype headers that result in the file being treated as HTML by the
+       browser. When set to "0", such file types are returned instead as
+       text/plain or application/octet-stream. Default value: "0". See also:
+       "repo.enable-html-serving".
+
 enable-tree-linenumbers::
        Flag which, when set to "1", will make cgit generate linenumber links
        for plaintext blobs printed in the tree view. Default value: "1".
@@ -194,11 +210,11 @@ enable-git-config::
        Flag which, when set to "1", will allow cgit to use git config to set
        any repo specific settings. This option is used in conjunction with
        "scan-path", and must be defined prior, to augment repo-specific
-       settings. The keys gitweb.owner, gitweb.category, and gitweb.description
-       will map to the cgit keys repo.owner, repo.section, and repo.desc,
-       respectively. All git config keys that begin with "cgit." will be mapped
-       to the corresponding "repo." key in cgit. Default value: "0". See also:
-       scan-path, section-from-path.
+       settings. The keys gitweb.owner, gitweb.category, gitweb.description,
+       and gitweb.homepage will map to the cgit keys repo.owner, repo.section,
+       repo.desc, and repo.homepage respectively. All git config keys that begin
+       with "cgit." will be mapped to the corresponding "repo." key in cgit.
+       Default value: "0". See also: scan-path, section-from-path.
 
 favicon::
        Url used as link to a shortcut icon for cgit. It is suggested to use
@@ -222,18 +238,6 @@ include::
        Name of a configfile to include before the rest of the current config-
        file is parsed. Default value: none. See also: "MACRO EXPANSION".
 
-index-header::
-       The content of the file specified with this option will be included
-       verbatim above the repository index. This setting is deprecated, and
-       will not be supported by cgit-1.0 (use root-readme instead). Default
-       value: none.
-
-index-info::
-       The content of the file specified with this option will be included
-       verbatim below the heading on the repository index page. This setting
-       is deprecated, and will not be supported by cgit-1.0 (use root-desc
-       instead). Default value: none.
-
 local-time::
        Flag which, if set to "1", makes cgit print commit and tag times in the
        servers timezone. Default value: "0".
@@ -307,11 +311,6 @@ module-link::
        formatstring are the path and SHA1 of the submodule commit. Default
        value: none.
 
-nocache::
-       If set to the value "1" caching will be disabled. This settings is
-       deprecated, and will not be honored starting with cgit-1.0. Default
-       value: "0".
-
 noplainemail::
        If set to "1" showing full author email addresses will be disabled.
        Default value: "0".
@@ -343,10 +342,6 @@ renamelimit::
         "-1" uses the compiletime value in git (for further info, look at
          `man git-diff`). Default value: "-1".
 
-repo.group::
-       Legacy alias for "section". This option is deprecated and will not be
-       supported in cgit-1.0.
-
 repository-sort::
        The way in which repositories in each section are sorted. Valid values
        are "name" for sorting by the repo name or "age" for sorting by the
@@ -413,6 +408,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".
+       The special value "all" enables all snapshot formats.
        Default value: none.
 
 source-filter::
@@ -485,6 +481,9 @@ repo.defbranch::
 repo.desc::
        The value to show as repository description. Default value: none.
 
+repo.homepage::
+       The value to show as repository homepage. Default value: none.
+
 repo.email-filter::
        Override the default email-filter. Default value: none. See also:
        "enable-filter-overrides". See also: "FILTER API".
@@ -509,6 +508,10 @@ repo.enable-subject-links::
        A flag which can be used to override the global setting
        `enable-subject-links'. Default value: none.
 
+repo.enable-html-serving::
+       A flag which can be used to override the global setting
+       `enable-html-serving`. Default value: none.
+
 repo.hide::
        Flag which, when set to "1", hides the repository from the repository
        index. The repository can still be accessed by providing a direct path.
@@ -576,6 +579,13 @@ repo.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.
@@ -658,14 +668,14 @@ commit filter::
        expected on standard output.
 
 email filter::
-       This filter is given two parameters: the email address of the relevent
+       This filter is given two parameters: the email address of the relevant
        author and a string indicating the originating page. The filter will
        then receive the text string to format on standard input and is
        expected to write to standard output the formatted text to be included
        in the page.
 
 owner filter::
-       This filter is given no arguments.  The owner text is avilable on
+       This filter is given no arguments.  The owner text is available on
        standard input and the filter is expected to write to standard
        output.  The output is included in the Owner column.
 
@@ -781,6 +791,10 @@ enable-http-clone=1
 enable-index-links=1
 
 
+# Enable blame page and create links to it from tree page
+enable-blame=1
+
+
 # Enable ASCII art commit history graph on the log pages
 enable-commit-graph=1