Load vcpkg port files from a separate repository. #17995

pull sipsorcery wants to merge 1 commits into bitcoin:master from sipsorcery:vcpkg-ports-separate changing 1 files +12 −18
  1. sipsorcery commented at 10:43 am on January 24, 2020: member

    Prior to this change the vcpkg port files were taken directly from the main vcpkg repository. This results in a dependency changing from time-to-time and breaking the Bitcoin Core build.

    This change places the port files in a separate repository where they and the dependencies they install will only be updated when necessary.

    I’ve put the port files in a repository under my account. It’s a one line change to the appveyor job to switch to a Bitcoin Core repository.

    As discussed in #17976 and #17991.

  2. Load vcpkg port files from a separate repository.
    Prior to this change the vcpkg port files were taken directly from the main vcpkg repository. This results in a dependency changing from time-to-time and breaking the Bitcoin Core build.
    
    This change places the port files in a separate repository where they and the dependencies they install will only be updated when necessary.
    5d85cdddf0
  3. fanquake added the label Tests on Jan 24, 2020
  4. fanquake added the label Windows on Jan 24, 2020
  5. NicolasDorier commented at 12:25 pm on January 24, 2020: contributor
    @sipsorcery why not just using a specific commit of vcpkg instead?
  6. sipsorcery commented at 12:33 pm on January 24, 2020: member

    why not just using a specific commit of vcpkg instead?

    That’s also an option. Doesn’t give the same flexibility though. We may want to update the versions of different dependencies separately. If we reference a vcpkg commit then we’re tied to the specific combination of port files in it.

    That being said using a vcpkg commit reference should fix the original concern and be a lighter touch than the separate repo approach used in this PR.

    I think either approach would be fine and don’t have strong feelings as to which.

  7. NicolasDorier commented at 12:56 pm on January 24, 2020: contributor
    I think just using a specific commit is easier to review (only one line adding the git checkout), and make sure this can’t be changed.
  8. MarcoFalke commented at 5:30 pm on January 25, 2020: member

    That’s also an option. Doesn’t give the same flexibility though.

    Agree with @NicolasDorier . We don’t need the flexibility. All we need is packages not to randomly change from down under us.

  9. sipsorcery commented at 7:30 pm on January 25, 2020: member
    Closed in deference to #18001.
  10. sipsorcery closed this on Jan 25, 2020

  11. MarcoFalke referenced this in commit b4f832e24e on Jan 26, 2020
  12. DrahtBot locked this on Feb 15, 2022

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: 2024-12-19 09:12 UTC

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