From 63a4ecf79824bd9ed55a1d5e6b86a8a3a93c2456 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 4 Nov 2026 19:45:30 -1000 Subject: Say which trailers the shipped filter links link-trailers.lua has shipped its Closes and Bug rules commented out since b4e780a, as they need a tracker address, but both docs still promised those links. --- MANUAL.txt | 9 +++++---- custom/cgitrc | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/MANUAL.txt b/MANUAL.txt index d3bd8a0..33e5eaa 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -593,10 +593,11 @@ trailer-filter:: commit trailer when "enable-commit-trailers" is set. Trailers whose value is a name and email address, such as Signed-off-by, go through the email-filter instead, and when no trailer-filter is configured the - remaining values go through the commit-filter. A ready filter linking - Fixes, Reverts, Closes, Bug and URL values ships as - custom/extensions/link-trailers.lua. Default value: none. See also: - "Filter API", "repo.trailer-filter". + remaining values go through the commit-filter. A ready filter ships as + custom/extensions/link-trailers.lua. It links the object name in a + Fixes or Reverts value and any value that is a single url, and holds + Closes and Bug rules to switch on for a tracker. Default value: none. + See also: "Filter API", "repo.trailer-filter". trust-scan-config:: Flag which, when set to "1", honours every setting in a repository's own diff --git a/custom/cgitrc b/custom/cgitrc index 796a197..d3f9f88 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -297,8 +297,9 @@ trust-scan-config=0 #email-filter=lua:/usr/local/lib/cgit/filters/email-gravatar.lua # Filter command used to format the value of a commit trailer when -# enable-commit-trailers is 1. The shipped filter links Fixes, Reverts, Closes, -# Bug and URL values. Value is a command. Default is none. +# enable-commit-trailers is 1. The shipped filter links Fixes and Reverts object +# names and any value that is a single url, with Closes and Bug rules to switch +# on for a tracker. Value is a command. Default is none. #trailer-filter=lua:/usr/local/lib/cgit/filters/link-trailers.lua # Filter command used to format plaintext blobs in the tree and blame pages. The -- cgit 2.12.1