Skip to content
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

Add license reporting and "vcpkg license-report" command. #1514

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from

Commits on Oct 16, 2024

  1. Overhaul StatusParagraph parsing to make status parsing testable.

    Also introduce adapt_to_string to help with the several to_string overload pairs.
    BillyONeal committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    d9215bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21f1d2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0da1366 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee6dc8e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a48c10d View commit details
    Browse the repository at this point in the history
  6. Add "maybe_" operations to JSON to avoid assert anti-patterns.

    Drive by fix debug printing claiming that telemetry was not a string and that malformed git commit shas were not strings.
    BillyONeal committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ddfcadd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    12371d9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    721175c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    db320df View commit details
    Browse the repository at this point in the history
  10. Remove formatting concern PrintUsage from BuildPackageOptions because…

    … building a package never prints usage.
    BillyONeal committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e3bd557 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Improve console output when installing packages by deduplicating 'alr…

    …eady installed' message, --head warning, and merging the 'green success' message into the total elapsed time part.
    BillyONeal committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    0875ad6 View commit details
    Browse the repository at this point in the history
  2. Add a message to vcpkg install where the licenses of the packages i…

    …nstalled in this invocation are printed, and a separate license-report command that prints all information known in the installed tree.
    BillyONeal committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    4d15956 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Fix linux and macos build.

    BillyONeal committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a0ac8fe View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Merge remote-tracking branch 'origin/main' into license-printing

    # Conflicts:
    #	azure-pipelines/end-to-end-tests-dir/build-test-ports.ps1
    #	azure-pipelines/end-to-end-tests-dir/ci-verify-versions.ps1
    BillyONeal committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    ca8a4e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Merge remote-tracking branch 'origin/main' into license-printing

    # Conflicts:
    #	include/vcpkg/base/contractual-constants.h
    #	include/vcpkg/statusparagraph.h
    #	src/vcpkg/spdx.cpp
    #	src/vcpkg/statusparagraph.cpp
    BillyONeal committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    c20ed47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43bf3d1 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Merge remote-tracking branch 'origin/main' into license-printing

    # Conflicts:
    #	include/vcpkg/base/contractual-constants.h
    #	include/vcpkg/base/message-data.inc.h
    #	include/vcpkg/spdx.h
    #	include/vcpkg/statusparagraph.h
    #	src/vcpkg-test/statusparagraphs.cpp
    #	src/vcpkg/commands.install.cpp
    #	src/vcpkg/commands.set-installed.cpp
    #	src/vcpkg/spdx.cpp
    #	src/vcpkg/statusparagraph.cpp
    BillyONeal committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    755eb2e View commit details
    Browse the repository at this point in the history