-
-
Notifications
You must be signed in to change notification settings - Fork 390
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 #2881
Update URLs #2881
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2881 +/- ##
=======================================
Coverage 66.52% 66.52%
=======================================
Files 235 235
Lines 18101 18101
=======================================
Hits 12041 12041
Misses 6060 6060 ☔ View full report in Codecov by Sentry. |
This looks reasonable to me, but @xuanxu could you clarify which URLs were redirects? I see at least the atomic line list one on a quick browse, but not sure about the others. |
yeah, there's a couple of visible cases like that: But I was just doing a general reference, considering also the URLs that redirects with a 301 code to the https version, like www.astropy.org for example. |
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.
LGTM but I'll await @bsipocz 's final judgement.
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.
Looks good, but I leave it open until tomorrow and check back whether you would be interested in pushing another commit that more systematically fixes the redirected/broken links.
That was my first goal, but I realized halfway that the rest of For example: every call to the http://www.ivoa.net domain now redirects to its https version, but the XML schemas you get after the redirection reference the old URL. See the case of http://www.ivoa.net/xml/VOTable/v1.3 a namespace value used in multiple XML files in astroquery modules. It redirecs to https://www.ivoa.net/xml/VOTable/VOTable-1.4.xsd but referencing the original http version in its I mean, I consider this PR a good systematic fixing of broken/redirected links in safe URLs. The ones in the code make for a separate PR, it's a task needing more research in a case by case basis (I'll add it to my to do list). |
Sounds good. In the meantime I fixed the tox linkcheck command, so those weekly cron run logs can be used |
Thanks @xuanxu! |
This PR updates URLs in docs and code comments to use
https
and/or updating the URL if the original one got a redirect as response.