# Checkout phpdoc

- Thread: https://externals.io/message/106050
- Original archive: https://news-web.php.net/php.internals/106050
- Started by Arnold Daniels on 2019-06-25T02:43:01+00:00
- Messages: 9
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #106050 — Arnold Daniels — 2019-06-25T02:43:01+00:00

URL: https://externals.io/message/106050#106050

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]

---

## #106051 — Christoph M. Becker — 2019-06-25T07:46:10+00:00

URL: https://externals.io/message/106050#106051

> 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

---

## #106052 — Peter Cowburn — 2019-06-25T08:02:03+00:00

URL: https://externals.io/message/106050#106052

+Sascha



> 
>
> > […]
> "Unexpected HTTP status 421 'Misdirected Request'".
> > […]
>

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?


> > […]
> on
> '/repository/!svn/rvr/336013/phpdoc/doc-base/trunk/scripts/docgen/constructor.tpl'
> > […]
> on '/repository/phpdoc/en/trunk'
> > […]
> definitions
> > […]
> 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

---

## #106053 — Sascha Schumann — 2019-06-25T09:10:45+00:00

URL: https://externals.io/message/106050#106053

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

---

## #106059 — Benjamin Morel — 2019-06-25T21:41:42+00:00

URL: https://externals.io/message/106050#106059

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

---

## #106060 — G. P. B. — 2019-06-25T21:47:58+00:00

URL: https://externals.io/message/106050#106060

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
> > […]
>
>
> 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

---

## #106061 — Benjamin Morel — 2019-06-25T21:53:20+00:00

URL: https://externals.io/message/106050#106061

Can't wait to try it, thanks for the pointer!

Ben



> On Tue, 25 Jun 2019 at 23:41, Benjamin Morel <benjamin.morel@gmail.com>
> wrote:
>
> > […]
>
>
> I think there is a way to do a GitHub PR atm via
> https://github.com/php/doc-en/pulls
>
> George P. Banyard

---

## #106062 — Andreas Heigl — 2019-06-26T04:34:23+00:00

URL: https://externals.io/message/106050#106062

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
> > […]
>
>
>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:
>
> > […]

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 |
+---------------------------------------------------------------------+

---

## #106067 — Benjamin Morel — 2019-06-26T09:13:51+00:00

URL: https://externals.io/message/106050#106067

> 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
