From fba71c42c03099e73988bf0f2d18f071349cad48 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 22 Apr 2016 20:35:21 +0200 Subject: [PATCH] Adjust pagure's config to allow backward-compatible URLs --- roles/pagure/frontend/templates/pagure.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/pagure/frontend/templates/pagure.cfg b/roles/pagure/frontend/templates/pagure.cfg index 77cfdfce11..da44c86d41 100644 --- a/roles/pagure/frontend/templates/pagure.cfg +++ b/roles/pagure/frontend/templates/pagure.cfg @@ -196,3 +196,9 @@ SSH_KEYS = { } } {% endif %} + +# Allow the backward compatiblity endpoints for the old URLs schema to +# see the commits of a repo. This is only interesting if you pagure instance +# was running since before version 1.3 and if you care about backward +# compatibility in your URLs. +OLD_VIEW_COMMIT_ENABLED = True