[PATCH v2] Make default pages configurable

2019-08-15 Thread Naïm Favier
It would be nice to be able to configure the default page to use for the root site and repositories. For example, it might make more sense to have "about" or "tree" as the default landing page for certain repos, instead of the default "summary". This patch introduces the following configuration

Re: [feature request] Provide Atom feed for tags

2019-08-15 Thread John Keeping
On Tue, Aug 13, 2019 at 06:28:24PM +, Yu Franklin wrote: > Does CGit currently provide Atom feed for tags of a repository? > Something similar to > > https://github.com/git/git/tags.atom > > I know that we have Atom feed for a branch, but not for all tags of a > certain repository. Typically

Re: [PATCH] Make default pages configurable

2019-08-15 Thread Naïm Favier
> Missing sign-off. See https://developercertificate.org/ for what this > means. Sorry, I didn't realise signing off was required. Is this mentioned somewhere, or just a tacit convention in most open-source projects? > The commit message also needs to explain *why* we want this change in >

Re: [PATCH] Make default pages configurable

2019-08-15 Thread John Keeping
On Tue, Aug 13, 2019 at 07:22:21PM +0200, Naaam Favier wrote: > This adds two configuration options, "default-page" and > "default-page-repo", allowing to change the default page for > the whole site and repositories, respectively. > A few changes were required to make this work, namely: > - the