Re: postgr.es/p/githash to redirect to git.postgresql.org?

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Jehan-Guillaume de Rorthais <jgdr(at)dalibo(dot)com>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: postgr.es/p/githash to redirect to git.postgresql.org?
Date: 2020-09-11 14:45:25
Message-ID: 20200911144525.GA24858@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 2020-Sep-11, Jehan-Guillaume de Rorthais wrote:

> Hi,
>
> I've faced a couple of time the need to shorten the URL to a PostgreSQL commit.
>
> What are you thinking about the bellow redirection?
>
> https://postgr.es/p/$githash
> Location: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=$githash

We already have
https://git.postgresql.org/pg/commitdiff/$githash
which is 20 chars longer than your proposal, but already much shorter
than the original.

I'm not -1'ing your proposal, but I at least find that one good enough.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Christophe Pettus 2020-09-11 17:51:40 Re: Editor privilege request for WikiEditing
Previous Message Magnus Hagander 2020-09-11 12:35:31 Re: commitfest app returning error 500