From: Gianni Ceccarelli <dakkar@thenautilus.net>
To: cgit@lists.zx2c4.com
Subject: Re: Go - Serving modules
Date: Thu, 12 Jan 2023 09:19:54 +0000 [thread overview]
Message-ID: <20230112091954.12e648b1@exelion> (raw)
In-Reply-To: <CAJYcXdp+g4eGHovvsdWR6BVim9j7PBP9yWMiemRrG4gP_i4ETA@mail.gmail.com>
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
next prev parent reply other threads:[~2023-01-12 9:20 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 [this message]
2023-01-12 16:00 ` Levi Durfee
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=20230112091954.12e648b1@exelion \
--to=dakkar@thenautilus.net \
--cc=cgit@lists.zx2c4.com \
/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).