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