Skip to content

Conversation

@derickr
Copy link
Member

@derickr derickr commented Mar 29, 2019

This removes the use of mirrors across php.net, and moves everything to https.

@derickr derickr requested review from bjori, rlerdorf and salathe March 29, 2019 12:21
Copy link
Contributor

@salathe salathe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First, thanks for this! There are a few minor comments and things that we might want to do going forward; see my comments on a few of the individual changes. That said, on the whole this a very thorough PR. :)

There are a few other places that might be good to also update:

  • download-docs.php line 112 could change /get/$filename/from/a/mirror to
    /distributions/manual/$filename
  • feed.php line 52 could change /get/{$source["filename"]}/from/this/mirror to /distributions/{$source["filename"]}

} else {
$download_link = "/" . $download_link;
}
$download_link = "/distributions/" . $file;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The *.asc file links (lines 199-208) could be treated similarly? At the moment, they still link to get/*.asc/from/a/mirror.

mirroring.php Outdated
In the event that such action is taken against your account, remember:
it is your responsibility.
The PHP project does no have an official mirror program anymore, but you can
set-up a mirror for your own network or company.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file retains several references to official mirrors and their setup (e.g. using cc.php.net). The entire document could do with a thorough review after this first sweep of changes to the site.

<?php
site_footer();
header("HTTP/1.1 301 Moved Permanently");
header("Location: /");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mirrors.php page is linked from thanks.php. It might be nice to include a big thank you to all of our mirror providers in thanks.php, but in any case the link to mirrors.php on that page will be broken now.

@php-pulls php-pulls force-pushed the get-rid-of-the-mirrors branch from ff2fc48 to 7075f94 Compare April 1, 2019 10:27
@php-pulls php-pulls merged commit 7075f94 into master Apr 1, 2019
@petk
Copy link
Member

petk commented Apr 2, 2019

@derickr is it also ok with you to remove the stalled branch get-rid-of-the-mirrors before we move too much into the commits future? Thanks.

@derickr
Copy link
Member Author

derickr commented Apr 3, 2019

Oh sure. I had forgotten. I've deleted it now.

@derickr derickr deleted the get-rid-of-the-mirrors branch April 3, 2019 15:32
@php-pulls php-pulls restored the get-rid-of-the-mirrors branch April 4, 2019 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants