List for cgit developers and users
 help / color / mirror / Atom feed
From: John Keeping <john@keeping.me.uk>
To: Spam Receiver <spam@chonkyrabbit.eu>
Cc: cgit <cgit@lists.zx2c4.com>
Subject: Re: configuring appearance from within repository
Date: Thu, 26 Jan 2023 17:58:00 +0000	[thread overview]
Message-ID: <Y9K/KAjI0vF975c9@keeping.me.uk> (raw)
In-Reply-To: <0cb387da2e77641eee1d6ea9f5791faae4bdf0e2.camel@chonkyrabbit.eu>

On Thu, Jan 26, 2023 at 06:42:19PM +0100, Spam Receiver wrote:
> Hey there, I recently found cgit and I'm very happy about it's
> performance, ease of use and overall simplicity. There is only one
> thing that I did not manage to set up yet:
> 
> I want to configure repo-specific settings from within the repo itself.
> For this I tried to enable the git config parsing from within cgit, and
> tried to add the following to .git/config

To confirm, you have "enable-git-config = 1" in the global cgitrc
*before* the scan-path directory?

>    [gitweb]
>       owner = test name = test

There should be a line break between "test" and "name" here, right?

> But nothing changed in the web interface. My next attempt involved the
> cgitrc in the repo folder, where I added
> 
>    name = test

There must not be any spaces around "=" in cgitrc files, so this should
be:

	name=test


Regards,
John

      reply	other threads:[~2023-01-26 17:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-26 17:42 Spam Receiver
2023-01-26 17:58 ` John Keeping [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y9K/KAjI0vF975c9@keeping.me.uk \
    --to=john@keeping.me.uk \
    --cc=cgit@lists.zx2c4.com \
    --cc=spam@chonkyrabbit.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).