Re: cgit view availabel

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Victor Yegorov <vyegorov(at)gmail(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: cgit view availabel
Date: 2021-01-17 16:19:03
Message-ID: CABUevEy_N9BXKWN_tm5_X=1iaNyxxg2sNr45BsPs69VA810z=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jan 17, 2021 at 5:00 PM Victor Yegorov <vyegorov(at)gmail(dot)com> wrote:
>
> вс, 17 янв. 2021 г. в 14:48, Magnus Hagander <magnus(at)hagander(dot)net>:
>>
>> After a short time (ahem, several years) of badgering of me my a
>> certain community member, I've finally gotten around to putting up a
>> cgit instance on our git server, to allow for browsing of the git
>> repositories. You can find this at:
>>
>> https://git.postgresql.org/cgit/
>>
>> or specifically for the postgresql git repo:
>>
>> https://git.postgresql.org/cgit/postgresql.git/
>
>
> Looks nice!
>
> First thing I've noted:
>
> https://git.postgresql.org/cgit/postgresql.git/commit/960869da0803427d14335bba24393f414b476e2c
>
> silently shows another commit.

Where did you get that URL from?

And AFAICT, and URL like that in cgit shows the latest commit in the
repo, for the path that you entered (which in this case is the hash
put int he wrong place).

> Is it possible to make the scheme above work?
> Our gitweb (and also github) is using it, so I assume people are quite used to it.

I guess we could capture a specific "looks like a hash" and redirect
that, assuming we would never ever have anything in a path or filename
in any of our repositories that looks like a hash. That seems like
maybe it's a bit of a broad assumption?

--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2021-01-17 16:38:35 evtfoid and evtowner missing in findoidjoins/README
Previous Message Victor Yegorov 2021-01-17 16:00:37 Re: cgit view availabel