Re: [PHP-DEV] Unbreak git.php.net links?

2021-10-03 Thread Hans Henrik Bergan
>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

Re: [PHP-DEV] Unbreak git.php.net links?

2021-10-03 Thread Joe Watkins
I didn't think about external links ... I guess then redirecting would be best. The nameserver configuration is still as it was (I think), so it's probably best to setup the NS to point at web and then someone can do the work in the web repo (I suppose). Cheers Joe On Mon, 4 Oct 2021 at 08:01, A

Re: [PHP-DEV] Unbreak git.php.net links?

2021-10-03 Thread Andreas Heigl
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

Re: [PHP-DEV] Unbreak git.php.net links?

2021-10-03 Thread Hans Henrik Bergan
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. On Mon, 4 Oct 2021 at 07:04, Stanislav Malyshev wro

Re: [PHP-DEV] Unbreak git.php.net links?

2021-10-03 Thread Stanislav Malyshev
Hi! On 10/3/21 9:48 PM, Joe Watkins wrote: I just realised you're probably talking mostly about links in old comments on bugs rather than in source code of bugsnet (because they would be easy to find). Maybe permanent redirects aren't so bad in that case. But also, can't we just update the c

Re: [PHP-DEV] Unbreak git.php.net links?

2021-10-03 Thread Joe Watkins
I just realised you're probably talking mostly about links in old comments on bugs rather than in source code of bugsnet (because they would be easy to find). Maybe permanent redirects aren't so bad in that case. But also, can't we just update the comments in place? Cheers Joe On Monday, 4 Octo

Re: [PHP-DEV] Unbreak git.php.net links?

2021-10-03 Thread Joe Watkins
This seems reasonable. I wonder if we could log the redirects so that we can obtain the list of links and update accordingly so that we may eventually retire the domain without breaking stuff. Cheers Joe On Monday, 4 October 2021, Stanislav Malyshev wrote: > Hi! > > I know we're no longer usin

[PHP-DEV] Unbreak git.php.net links?

2021-10-03 Thread Stanislav Malyshev
Hi! I know we're no longer using git.php.net, but there are a lot of links there e.g. in bugs system. I wonder how hard it would be to make git.php.net redirect links like this: http://git.php.net/?p=php-src.git;a=commit;h=3c939e3f69955d087e0bb671868f7267dfb2a502 to something like: https://

Re: [PHP-DEV] [RFC] Allow null as standalone type

2021-10-03 Thread Levi Morrison via internals
On Sat, Oct 2, 2021 at 9:07 AM G. P. B. wrote: > > Hello internals, > > I'm proposing a new RFC to make 'null' usable as a standalone type. > > RFC: https://wiki.php.net/rfc/null-standalone-type > GitHub PR: https://github.com/php/php-src/pull/7546 > > Best regards, > > George P. Banyard I don't

[PHP-DEV] Spam on bugs.php.net

2021-10-03 Thread Stanislav Malyshev
Hi! I notice that we have increased amount of spam coming in to bugs.php.net. I'm not sure if anyone is maintaining it right now - but it'd be nice to have changes to counter that - I see that anti-spam measures exist on some forms but not on adding comments to closed bugs for some reason. An

Re: [PHP-DEV] Unified ReflectionType methods

2021-10-03 Thread Larry Garfield
On Sat, Oct 2, 2021, at 4:37 PM, tyson andre wrote: > Hi Andreas, > >> Hello list, >> I would like to propose new methods for ReflectionType, that would >> allow treating ReflectionNamedType and ReflectionUnionType in a >> unified way. >> This would eliminate the need for if (.. instanceof) in many

Re: [PHP-DEV] Unified ReflectionType methods

2021-10-03 Thread G. P. B.
On Sat, 2 Oct 2021 at 00:54, Andreas Hennings wrote: > Hello list, > I would like to propose new methods for ReflectionType, that would > allow treating ReflectionNamedType and ReflectionUnionType in a > unified way. > This would eliminate the need for if (.. instanceof) in many use cases. > > So