Re: Unbreak git.php.net links?

From: Date: Mon, 04 Oct 2021 19:21:49 +0000
Subject: Re: Unbreak git.php.net links?
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-116220@lists.php.net to get a copy of this message
here is an initial implementation:
https://github.com/divinity76/git-php-net-redirector/blob/main/src/redirector.php
it is just a minimum-effort implementation, anyone feel free to make
something better (also i have no idea how the "p" argument is supposed to
be parsed, so i just guessed)

it passes "Stanislav Malyshev"'s initial sample url, but it probably fails
on any other formats, if anyone has test urls, share em



On Mon, 4 Oct 2021 at 08:38, Hans Henrik Bergan <divinity76@gmail.com>
wrote:

> >So who's going to work on it? Doesn't make sense to have 5 people work
> > on it independently from each other ;-)
>
> if nobody else wants to do it, i can make an initial implementation on
> october 9th (6 days from now),
>
> but wouldn't surprise me at all if someone else wants to do it ^^
>
>
> On Mon, 4 Oct 2021 at 08:01, Andreas Heigl <andreas@heigl.org> wrote:
>
>> Hey all.
>>
>> On 04.10.21 07:52, Hans Henrik Bergan wrote:
>> > there's also plenty of broken links on reddit to git.php.net , ref
>> > https://www.google.com/search?q=git.php.net+site%3Areddit.com
>> >
>> > it wouldn't be hard to set up a redirector parsing commit ids out of the
>> > url and redirecting to github,
>> > +1 from me.
>>
>> So who's going to work on it? Doesn't make sense to have 5 people work
>> on it independently from each other ;-)
>>
>> Cheers
>>
>> Andreas
>> --
>>                                                                ,,,
>>                                                               (o o)
>> +---------------------------------------------------------ooO-(_)-Ooo-+
>> | Andreas Heigl                                                       |
>> | mailto:andreas@heigl.org                  N
>> 50°22'59.5" E 08°23'58" |
>> | https://andreas.heigl.org                        
>>                   |
>> +---------------------------------------------------------------------+
>> | https://hei.gl/appointmentwithandreas
>>                               |
>> +---------------------------------------------------------------------+
>>
>


Thread (14 messages)

« previous php.internals (#116220) next »