Checkout phpdoc

php.internals

Arnold Daniels

7 years ago
I'm trying to checkout phpdoc using SVN, but I'm getting the error "Unexpected HTTP status 421 'Misdirected Request'". Is something broken? Or am I doing it wrong? - Arnold $ svn co http://svn.php.net/repository/phpdoc/modules/doc-en phpdoc A phpdoc/build.sh U phpdoc Fetching external item into 'phpdoc/doc-base': A phpdoc/doc-base/entities A phpdoc/doc-base/entities/ISO A phpdoc/doc-base/scripts A phpdoc/doc-base/scripts/docgen svn: warning: W175002: Unexpected HTTP status 421 'Misdirected Request' on '/repository/!svn/rvr/336013/phpdoc/doc-base/trunk/scripts/docgen/constructor.tpl' Fetching external item into 'phpdoc/en': svn: warning: W175002: Unexpected HTTP status 421 'Misdirected Request' on '/repository/phpdoc/en/trunk' Checked out revision 347656. svn: E205011: Failure occurred processing one or more externals definitions [Arnold Daniels - Chat @ Spike](https://www.spikenow.com/?ref=spike-organic-signature&_ts=1m6kq) [1m6kq]

Christoph Becker

7 years ago
On 25.06.2019 at 04:43, Arnold Daniels wrote:
> I'm trying to checkout phpdoc using SVN, but I'm getting the error "Unexpected HTTP status 421 'Misdirected Request'". > > Is something broken? Or am I doing it wrong? > > - Arnold > > $ svn co http://svn.php.net/repository/phpdoc/modules/doc-en phpdoc > A phpdoc/build.sh > U phpdoc > > Fetching external item into 'phpdoc/doc-base': > A phpdoc/doc-base/entities > A phpdoc/doc-base/entities/ISO > A phpdoc/doc-base/scripts > A phpdoc/doc-base/scripts/docgen > svn: warning: W175002: Unexpected HTTP status 421 'Misdirected Request' on '/repository/!svn/rvr/336013/phpdoc/doc-base/trunk/scripts/docgen/constructor.tpl' > > Fetching external item into 'phpdoc/en': > svn: warning: W175002: Unexpected HTTP status 421 'Misdirected Request' on '/repository/phpdoc/en/trunk' > > Checked out revision 347656. > svn: E205011: Failure occurred processing one or more externals definitions > > [Arnold Daniels - Chat @ Spike](https://www.spikenow.com/?ref=spike-organic-signature&_ts=1m6kq) [1m6kq]
Nikita reported similar issues not long ago, but AFAIR these have been resolved; only sometimes intermittent checkout errors still occur. Please try to checkout again. Thanks, Christoph

Peter Cowburn

7 years ago
+Sascha On Tue, 25 Jun 2019 at 08:46, Christoph M. Becker <cmbecker69@gmx.de> wrote:
> On 25.06.2019 at 04:43, Arnold Daniels wrote: > > > I'm trying to checkout phpdoc using SVN, but I'm getting the error > "Unexpected HTTP status 421 'Misdirected Request'". > > > > Is something broken? Or am I doing it wrong? >
It looks like something is wrong due to the recently added CDN in front of the SVN server. If I make a request, I get the following response: HTTP/1.1 421 Misdirected Request Server: myracloud Date: Tue, 25 Jun 2019 07:57:41 GMT Content-Type: text/html; charset=iso-8859-1 Content-Length: 400 Connection: keep-alive Expires: Tue, 25 Jun 2019 07:57:41 GMT Cache-Control: max-age=0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>421 Misdirected Request</title> </head><body> <h1>Misdirected Request</h1> <p>The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.</p> <hr> <address>Apache/2.4.25 (Debian) Server at svn.php.net Port 443</address> </body></html> Sascha, any ideas?

Sascha Schumann

7 years ago
I have disabled SNI for the upstreams on svn2.php.net. If the problem persists, please provide a way to reproduce the issue. Thanks Sascha

Benjamin Morel

7 years ago
By the way, is there any work in progress to migrate the PHP manual to Git? The docs <https://www.php.net/git.php>only say: The PHP manual is still currently hosted on SVN, although it will be
> migrated to Git in the future.
I'd love to be able to fix things in the PHP manual with a simple PR; the current process has always repelled me. Ben On Tue, 25 Jun 2019 at 11:10, Sascha Schumann < sascha.schumann@myrasecurity.com> wrote:

Girgias

7 years ago
On Tue, 25 Jun 2019 at 23:41, Benjamin Morel <benjamin.morel@gmail.com> wrote:
> By the way, is there any work in progress to migrate the PHP manual to Git? > The docs <https://www.php.net/git.php>only say: > > The PHP manual is still currently hosted on SVN, although it will be > > migrated to Git in the future. > > > I'd love to be able to fix things in the PHP manual with a simple PR; the > current process has always repelled me. > > Ben
I think there is a way to do a GitHub PR atm via https://github.com/php/doc-en/pulls George P. Banyard

Benjamin Morel

7 years ago
Can't wait to try it, thanks for the pointer! Ben On Tue, 25 Jun 2019 at 23:48, G. P. B. <george.banyard@gmail.com> wrote:

Andreas Heigl

7 years ago
Am 25. Juni 2019 23:41:42 MESZ schrieb Benjamin Morel <benjamin.morel@gmail.com>:
>By the way, is there any work in progress to migrate the PHP manual to >Git? >The docs <https://www.php.net/git.php>only say: > >The PHP manual is still currently hosted on SVN, although it will be >> migrated to Git in the future. > > >I'd love to be able to fix things in the PHP manual with a simple PR; >the >current process has always repelled me. > >Ben > >On Tue, 25 Jun 2019 at 11:10, Sascha Schumann < >sascha.schumann@myrasecurity.com> wrote: > >> I have disabled SNI for the upstreams on svn2.php.net. >> >> If the problem persists, please provide a way to reproduce the issue. >> >> Thanks >> Sascha
There is a small team of people currently working on moving the docs to git. Due to the tight integration of SVN into the workflow it's not as easy as we all thought to do the actual move. For more infos feel free to head over to https://github.com/phpdoctest/meta 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://bit.ly/wiFKy7 | +---------------------------------------------------------------------+

Benjamin Morel

7 years ago
> There is a small team of people currently working on moving the docs to
git.
> Due to the tight integration of SVN into the workflow it's not as easy as
we all thought to do the actual move.
> For more infos feel free to head over to
https://github.com/phpdoctest/meta Thanks for the link! This looks like a complicated process indeed. In the meantime I sent my first PR to php/doc-en <https://github.com/php/doc-en> and I can confirm that it works fine! Ben