-
Notifications
You must be signed in to change notification settings - Fork 37.7k
scripted-diff: update license URLs to https #22975
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
Conversation
-BEGIN VERIFY SCRIPT- sed -i "s|http://www\.opensource\.org/licenses/mit-license\.php|https://opensource.org/licenses/mit-license.php|g" $(git grep -l "http://www\.opensource\.org/licenses/mit-license\.php" . | grep -v src/univalue | grep -v src/crc32c | grep -v src/leveldb | grep -v src/secp256k1 | grep -v src/crypto/ctaes) -END VERIFY SCRIPT-
If others ACK this change, we can even remove dot from the link: https://opensource.org/licenses/mit-license.php. ❌ |
This is not a "dot in the link". It's rather a full stop at the end of the sentence. |
Not sure if a link needs to end with anything extra. Example: https://github.com/github/snakebite/blob/6a456e6100b0c1be66cc1f7f9d7f50494f369da3/setup.py#L9 There is nothing extra here after Anyway its a nit which can be ignored. Don't think anyone uses links from here. |
NACK, this is not worth changing 1157(!) files for. |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
@laanwj Would modifying the |
Not if it changes all files. I guess if a header has to be updated anyway it doesn't hurt to change but… I honestly don't think changing http to https is important here, the lowest priority possible. I'm not sure there should even be a link, it's not like that site is leading, ideally people would refer to the LICENSE file that is in the repository. And everyone knows what the "MIT" license is, anyhow, it could be replaced with "SPDX-License-Identifier: MIT" and it'd be just as clear. |
By that same logic, aren't the copyright headers redundant? They should be the same as the LICENSE file unless specified otherwise. |
Opinions differ on that. I think the status quo is to have some license marker in every source file because files tend to get copied around on their own sometimes. This is why the SPDX standard was designed. It's more set in stone than either a website reference or local repo reference. But it's newer than bitcoin. Anyhow, IMO, it's not worth changing this at this point, the incremental benefit to changing this now is zilch. I would suggest letting this go and finding another way to contribute. |
This PR changes MIT license URLs to HTTPS. http://www.opensource.org/licenses/mit-license.php already redirects to https://opensource.org/licenses/mit-license.php and it's a bit tedious to update it when porting stuff downstream.