"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: WIP: rework gotwebd URL style
To:
gameoftrees@openbsd.org
Date:
Tue, 28 May 2024 18:57:29 +0200

Download raw body.

Thread
Le Tue, May 28, 2024 at 05:35:45PM +0200, Omar Polo a écrit :
> First of all, this is work in progress and not intended to be committed
> as-is.
> 
> The idea is to change the structure of gotwebd URLs since the current
> one is both overly verbose and IMHO a bit ugly.
> 
> My proposal is to use the following general format
> 
> 	repository-name/action/(commit or ref)/path

afaict cgit uses repository-name/action/path?id=commit&h=branch

so that would be more or less compatible/translatable (well simpler than
the contraption i came up with :)

> Finally, there are probably regressions.  I'm sending this to gauge the
> interest and start a discussion before turning this into something
> committable.
> 
> thoughts?

anything will be better than queryparams :)