scripted-diff: update license URLs to https #22975

pull div72 wants to merge 1 commits into bitcoin:master from div72:https-copyright-header changing 1157 files +1159 −1159
  1. div72 commented at 7:24 pm on September 14, 2021: none
    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.
  2. scripted-diff: update license URLs to https
    -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-
    dca4574c1b
  3. div72 force-pushed on Sep 14, 2021
  4. DrahtBot added the label Block storage on Sep 14, 2021
  5. DrahtBot added the label Build system on Sep 14, 2021
  6. DrahtBot added the label Consensus on Sep 14, 2021
  7. DrahtBot added the label Descriptors on Sep 14, 2021
  8. DrahtBot added the label GUI on Sep 14, 2021
  9. DrahtBot added the label interfaces on Sep 14, 2021
  10. DrahtBot added the label Mempool on Sep 14, 2021
  11. DrahtBot added the label Mining on Sep 14, 2021
  12. DrahtBot added the label P2P on Sep 14, 2021
  13. DrahtBot added the label Refactoring on Sep 14, 2021
  14. DrahtBot added the label RPC/REST/ZMQ on Sep 14, 2021
  15. DrahtBot added the label Scripts and tools on Sep 14, 2021
  16. DrahtBot added the label TX fees and policy on Sep 14, 2021
  17. DrahtBot added the label Utils/log/libs on Sep 14, 2021
  18. DrahtBot added the label UTXO Db and Indexes on Sep 14, 2021
  19. DrahtBot added the label Validation on Sep 14, 2021
  20. DrahtBot added the label Wallet on Sep 14, 2021
  21. ghost commented at 10:15 pm on September 14, 2021: none

    If others ACK this change, we can even remove dot from the link:

    https://opensource.org/licenses/mit-license.php. :x: https://opensource.org/licenses/mit-license.php :white_check_mark:

  22. hebasto commented at 11:22 pm on September 14, 2021: member

    If others ACK this change, we can even remove dot from the link:

    https://opensource.org/licenses/mit-license.php. x https://opensource.org/licenses/mit-license.php white_check_mark

    This is not a “dot in the link”. It’s rather a full stop at the end of the sentence.

  23. ghost commented at 2:02 am on September 15, 2021: none

    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 http://www.apache.org/licenses/LICENSE-2.0

    Anyway its a nit which can be ignored. Don’t think anyone uses links from here.

  24. MarcoFalke removed the label GUI on Sep 15, 2021
  25. MarcoFalke removed the label Refactoring on Sep 15, 2021
  26. MarcoFalke removed the label Wallet on Sep 15, 2021
  27. MarcoFalke removed the label Build system on Sep 15, 2021
  28. MarcoFalke removed the label TX fees and policy on Sep 15, 2021
  29. MarcoFalke removed the label UTXO Db and Indexes on Sep 15, 2021
  30. MarcoFalke removed the label RPC/REST/ZMQ on Sep 15, 2021
  31. MarcoFalke removed the label P2P on Sep 15, 2021
  32. MarcoFalke removed the label Mining on Sep 15, 2021
  33. MarcoFalke removed the label Validation on Sep 15, 2021
  34. MarcoFalke removed the label Mempool on Sep 15, 2021
  35. MarcoFalke removed the label Consensus on Sep 15, 2021
  36. MarcoFalke removed the label Block storage on Sep 15, 2021
  37. MarcoFalke removed the label Scripts and tools on Sep 15, 2021
  38. MarcoFalke removed the label Utils/log/libs on Sep 15, 2021
  39. MarcoFalke removed the label Descriptors on Sep 15, 2021
  40. MarcoFalke removed the label interfaces on Sep 15, 2021
  41. MarcoFalke added the label Docs on Sep 15, 2021
  42. laanwj commented at 6:52 pm on September 15, 2021: member
    NACK, this is not worth changing 1157(!) files for.
  43. DrahtBot commented at 10:03 pm on September 15, 2021: member

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #22930 (build: remove glibc back compat by fanquake)
    • #22734 (addrman: Avoid crash on corrupt data, Force Check after deserialize by MarcoFalke)
    • #22650 (Remove -deprecatedrpc=addresses flag and corresponding code/logic by mjdietzx)
    • #22392 (scripts: use LIEF for ELF security & symbol checks by fanquake)
    • #21763 (test: Run AppInitSanityChecks before all tests by MarcoFalke)
    • #21327 (net_processing: ignore transactions while in IBD by glozow)
    • #20295 (rpc: getblockfrompeer by Sjors)
    • #20277 (test: Extend p2p_ibd_tx_relay.py to verify no-transaction are requested during IBD by ariard)
    • #14707 ([RPC] Include coinbase transactions in receivedby RPCs by andrewtoth)

    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.

  44. div72 commented at 5:33 am on September 16, 2021: none
    @laanwj Would modifying the contrib/devtools/copyright_header.py to handle it with the next copyright update be acceptable then?
  45. laanwj commented at 9:46 am on September 16, 2021: member

    @laanwj Would modifying the contrib/devtools/copyright_header.py to handle it with the next copyright update be acceptable then?

    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.

  46. div72 commented at 11:21 am on September 16, 2021: none
    By that same logic, aren’t the copyright headers redundant? They should be the same as the LICENSE file unless specified otherwise.
  47. laanwj commented at 11:59 am on September 16, 2021: member

    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.

  48. div72 closed this on Sep 16, 2021

  49. fanquake locked this on Sep 18, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-12-20 09:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me