summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-04-23 14:56:07 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2017-04-24 17:41:35 +0200
commitbb623fc545f0e0187cc9b32386c383b732bcc9ae (patch)
treea07d2fe5ff5fcddf32cc1c85de4d04bc6807b6f9 /conf
parenta9ac385cb90d0251253a2a3925f72a71af52f97b (diff)
downloadaur-bb623fc545f0e0187cc9b32386c383b732bcc9ae.tar.gz
aur-bb623fc545f0e0187cc9b32386c383b732bcc9ae.tar.xz
Make references to Git commits clickable
Automatically detect Git commit identifiers, shorten them, and make them link to the cgit interface. Implements FS#43290. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/config.proto b/conf/config.proto
index 094d8211..6c637b02 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -30,6 +30,7 @@ auto_orphan_age = 15552000
auto_delete_age = 86400
source_file_uri = https://aur.archlinux.org/cgit/aur.git/tree/%s?h=%s
log_uri = https://aur.archlinux.org/cgit/aur.git/log/?h=%s
+commit_uri = https://aur.archlinux.org/cgit/aur.git/commit/?h=%s&id=%s
snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
enable-maintenance = 1
maintenance-exceptions = 127.0.0.1