List for cgit developers and users
 help / color / mirror / Atom feed
From: Levi Durfee <levi.durfee@gmail.com>
To: Gianni Ceccarelli <dakkar@thenautilus.net>
Cc: cgit@lists.zx2c4.com
Subject: Re: Go - Serving modules
Date: Thu, 12 Jan 2023 11:00:47 -0500	[thread overview]
Message-ID: <CAJYcXdrKriODRVqHfL3MEZ740gE2QKcqO2XxNNiV5C4Cp1DBaA@mail.gmail.com> (raw)
In-Reply-To: <20230112091954.12e648b1@exelion>

Thank you! I had to use a ``cgitrc`` file in the repo directory, but I
got it working.

On Thu, Jan 12, 2023 at 4:20 AM Gianni Ceccarelli
<dakkar@thenautilus.net> wrote:
>
> On Wed, 11 Jan 2023 20:50:35 -0500
> Levi Durfee <levi.durfee@gmail.com> wrote:
>
> > I'm using scan-path to find the repositories.
>
> Then you can set per-repository options inside each repo ``config``
> file (I manage those via ``gitolite``, but you can just edit them).
>
> So for a repo at ``/var/lib/gitrepos/foo-go.git``, you'd edit
> ``/var/lib/gitrepos/foo-go.git/config`` and add::
>
>   [cgit]
>       extra-head-content = <meta name="go-import" content="git.example.com/foo-go git https://git.example.com/foo-go" /></head>
>
> But yes, having a macro-expanded ``head-include`` option would be useful.
>
> --
>         Dakkar - <Mobilis in mobile>
>         GPG public key fingerprint = A071 E618 DD2C 5901 9574
>                                      6FE2 40EA 9883 7519 3F88
>                             key id = 0x75193F88
>

      reply	other threads:[~2023-01-12 16:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 21:59 Levi Durfee
2023-01-06 22:13 ` Gianni Ceccarelli
2023-01-12  1:50   ` Levi Durfee
2023-01-12  9:19     ` Gianni Ceccarelli
2023-01-12 16:00       ` Levi Durfee [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=CAJYcXdrKriODRVqHfL3MEZ740gE2QKcqO2XxNNiV5C4Cp1DBaA@mail.gmail.com \
    --to=levi.durfee@gmail.com \
    --cc=cgit@lists.zx2c4.com \
    --cc=dakkar@thenautilus.net \
    /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).