Update URLs in comments and metadata to use HTTPS #27458
Conversation
…ew to newer locations to fight linkrot.
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
I would not normally review until CLA signed, but this is equivalent to typo fixes. Did you change all URLs or skip some after testing? |
@@ -85,7 +85,7 @@ | |||
|
|||
# Custom sidebar templates, filenames relative to this file. | |||
html_sidebars = { | |||
# Defaults taken from http://www.sphinx-doc.org/en/stable/config.html#confval-html_sidebars | |||
# Defaults taken from https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars |
@@ -399,8 +399,8 @@ The basic implementation pattern is: | |||
Resources | |||
========= | |||
|
|||
* http://www.python.org/download/mac/ | |||
* https://www.python.org/downloads/mac-osx/ |
ambv
Jul 29, 2021
Contributor
Please don't change this occurence as "mac-osx" is an outdated term. We should rather fix the website to use the modern "macOS" term instead.
coderanger
Jul 29, 2021
Author
Member
I think that's best left to a later discussion, this reflects the current state of the world :)
ambv
Jul 29, 2021
Contributor
The current state of the world is that the redirect works and we don't need to modify the line in the README. If we do, we'll have to change the README again.
coderanger
Jul 29, 2021
•
Author
Member
Yes? Changing it again will be correct, unless you want me to just go change the website now, which I can also do :) Relying on redirects leads to rot and should be avoided.
coderanger
Jul 29, 2021
Author
Member
https://github.com/python/pythondotorg/blob/7556542b58d9c90717757c9fa997637752d6dd85/pydotorg/urls.py#L30 is what's performing the current redirect, but changing this will have deeper impact on a number of views. I understand your point that mac-osx
is an out of date reference but it's the correct one for python.org.
ambv
Jul 29, 2021
Contributor
I changed the DB entry on python.org. The URL is now:
https://www.python.org/downloads/macos/
Unfortunately, as you noted, some things are needlessly static in the source code. I created this PR to update it:
python/pythondotorg#1829
@@ -1237,7 +1237,7 @@ def detect_dbm_gdbm(self): | |||
# similar functionality (but slower of course) implemented in Python. | |||
|
|||
# Sleepycat^WOracle Berkeley DB interface. | |||
# http://www.oracle.com/database/berkeley-db/db/index.html | |||
# https://www.oracle.com/database/technologies/related/berkeleydb.html |
@@ -1279,7 +1279,7 @@ def gen_db_minor_ver_nums(major): | |||
'/usr/include/db3', | |||
'/usr/local/include/db3', | |||
'/opt/sfw/include/db3', | |||
# Fink defaults (http://fink.sourceforge.net/) | |||
# Fink defaults (https://www.finkproject.org/) |
terryjreedy
Jul 29, 2021
Member
Old url flakey; if it works, gets forwarded to new page, which was updated yesterday.
I was mostly targeting |
Thanks @coderanger for the PR, and @ambv for merging it |
GH-27478 is a backport of this pull request to the 3.10 branch. |
Sorry, @coderanger and @ambv, I could not cleanly backport this to |
(cherry picked from commit be42c06) Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
…). (cherry picked from commit be42c06) Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
GH-27480 is a backport of this pull request to the 3.9 branch. |
Update four to current locations.
Initially reported by
Raphael raphaelvowles@yahoo.co.uk
via webmaster@python for the metadata.