From cee1d4f43c24f574eb05e72d1703bb1c3fa4ad96 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 5 Dec 2022 16:13:11 +0100 Subject: [PATCH] copr-dist-git: drop the projects-list option That was non-working for some time, since: https://github.com/fedora-copr/copr/commit/2e64a15058b9484fd17047fa5667aac6c1034954 Relates: https://github.com/fedora-copr/copr/pull/2423 --- roles/copr/dist_git/templates/cgitrc | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/roles/copr/dist_git/templates/cgitrc b/roles/copr/dist_git/templates/cgitrc index 9129a69652..5ae6dc064d 100644 --- a/roles/copr/dist_git/templates/cgitrc +++ b/roles/copr/dist_git/templates/cgitrc @@ -74,12 +74,15 @@ source-filter=/usr/libexec/cgit/filters/syntax-highlighting.sh ## include=/etc/cgitrepos ## -#repo.url=foo -#repo.path=/var/lib/git/foo.git -#repo.desc=the master foo repository -#repo.owner=fooman@example.com -#repo.readme=info/web/about.html -project-list=/var/lib/copr-dist-git/cgit_pkg_list -#scan-path=/var/lib/dist-git/git +# Using /usr/bin/copr-dist-git-refresh-cgit, we generate the included file below +# with a set of structures like this: +# +# repo.url=foo +# repo.path=/var/lib/git/foo.git +# repo.desc=the master foo repository +# repo.owner=fooman@example.com +# repo.readme=info/web/about.html +# scan-path=/var/lib/dist-git/git + include=/var/cache/cgit/repo-configuration.rc clone-prefix=http://{{ dist_git_base_url }}/git