[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] git.qemu.org gitweb misrenders on git/ URLs
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] git.qemu.org gitweb misrenders on git/ URLs |
Date: |
Mon, 2 Sep 2019 10:25:09 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Thu, Aug 29, 2019 at 06:13:34PM +0200, Andrea Bolognani wrote:
> On Thu, 2019-08-29 at 16:48 +0100, Stefan Hajnoczi wrote:
> > Hi Jeff,
> > Philippe noticed that the git HTTPS clone URL
> > https://git.qemu.org/git/libslirp.git renders a gitweb page that looks
> > right but has broken links. The correct gitweb URL listed on
> > https://git.qemu.org/ is https://git.qemu.org/?p=libslirp.git;a=summary,
> > but there's a chance that people will open the HTTPS clone URL in their
> > browser and expect to see gitweb working.
> >
> > Is it possible to tweak the Apache configuration so that
> > https://git.qemu.org/git/libslirp.git[/] redirects to the working gitweb
> > URL?
> >
> > The tricky part is not breaking HTTPS git clone, which accesses URLs
> > below https://git.qemu.org/git/libslirp.git/ :).
>
> I know that's not quite the answer to your question, but if you look
> for example at
>
> https://git.zx2c4.com/cgit
>
> you'll see that the same URL can be used both for viewing with a
> browser *and* cloning.
>
> Basically with cgit all requests go through the CGI script, and an
> advantage of that is that you don't even need to call
>
> git update-server-info
>
> to make the repository accessible via HTTPs. It's also pretty fast
> and extremely easy to setup. Maybe consider switching from gitweb
> to it?
Thanks, switching to cgit is an option. Let's see what Jeff thinks.
Stefan
signature.asc
Description: PGP signature
- Re: [Qemu-devel] git.qemu.org gitweb misrenders on git/ URLs,
Stefan Hajnoczi <=