-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[vcpkg] Add vcpkg_install_copyright()
portfile function
#25239
Conversation
@BillyONeal May I get a full world rebuild based on microsoft/vcpkg-tool#584 to test which ports are affected? |
@Thomas1664 , If this pr is ready to review, please let me know, thanks |
@JonLiu1993 ready for review |
Co-authored-by: Billy O'Neal <bion@microsoft.com>
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.
I really like this, thank you!
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.
Thanks for the PR!
I wonder if I would ever use |
…o install-copyright
I added the parameter |
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.
This approval is conditional upon the suggestions being applied. Thanks again!
The content has changed and Robert is out with COIVD
fc02ce2
I will merge master again after #25735 is merged. |
Thanks for merging #25735! |
…25239) * [vcpkg tool] Add vcpkg_install_copyright * Make sure FILE_LIST is provided * relative to ${SOURCE_PATH} * Add documentation * Add to table of contents * Relative paths was a bad idea. * Tell users to use the correct way Co-authored-by: Billy O'Neal <bion@microsoft.com> * Fix docs * Add parameter COMMENT * Rename to vcpkg_concat_copyright * Fix escape * Revert "Fix escape" This reverts commit 53f1636. * Revert "Rename to vcpkg_concat_copyright" This reverts commit 6ce9152. * Fix escape * Add support for single copyright file * Update docs * Make comment less confusing * [ci skip] Billy CR * [ci skip] Format * Remove explicit checks for STREQUAL "" * Add error msg if file doesn't exist Co-authored-by: Billy O'Neal <bion@microsoft.com>
Currently, vcpkg allows ports to create a
copyright
directory. This is a bug in vcpkg is and addressed in this PR: microsoft/vcpkg-tool#584Rather than having a copyright directory, we want to merge all license files into a single
copyright
file. The cmake functionvcpkg_concat_copyright
simplifies this.Unfortunately, some ports in this catalogue have a
copyright
directory. Thus, the vcpkg-tool PR linked above will break CI. To prevent this, we need to do a world rebuild in this PR from microsoft/vcpkg-tool#584 .vcpkg_concat_copyright
vcpkg_concat_copyright