From 1db5d40fd80250dfccb43f996b1146489314d313 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 14 Dec 2016 04:21:54 +0000 Subject: [PATCH] tweak cgit for new pkgs->src redirect --- roles/distgit/files/cgitrc | 2 +- roles/distgit/files/git-smart-http.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/distgit/files/cgitrc b/roles/distgit/files/cgitrc index 72cb750d60..a84fe2d15b 100644 --- a/roles/distgit/files/cgitrc +++ b/roles/distgit/files/cgitrc @@ -6,7 +6,7 @@ cache-size=1000 # Specify some default clone prefixes -clone-prefix=git://pkgs.fedoraproject.org ssh://pkgs.fedoraproject.org http://pkgs.fedoraproject.org/git +clone-prefix=https://src.fedoraproject.org/git # Some header information to throw at the top of each page (fedmenu). header=/usr/share/cgit/cgit-header-fedora.html diff --git a/roles/distgit/files/git-smart-http.conf b/roles/distgit/files/git-smart-http.conf index b1a177f32b..ea8845a593 100644 --- a/roles/distgit/files/git-smart-http.conf +++ b/roles/distgit/files/git-smart-http.conf @@ -2,6 +2,7 @@ SetEnv GIT_PROJECT_ROOT /srv/git/repositories SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/ Alias /rpms /srv/git/repositories/rpms/ +Alias /git /srv/git Options ExecCGI Indexes