New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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! |
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old url is forwarded to this.
Mac/README.rst
Outdated
@@ -399,8 +399,8 @@ The basic implementation pattern is: | |||
Resources | |||
========= | |||
|
|||
* http://www.python.org/download/mac/ | |||
* https://www.python.org/downloads/mac-osx/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Old URL forwards to this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's best left to a later discussion, this reflects the current state of the world :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(if you only want to s/http/https/
then that's obviously fine)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Old URL forwards to this.
@@ -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/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.