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

[ignition-tools] new port #27078

Merged
merged 6 commits into from
Oct 9, 2022
Merged

Conversation

talregev
Copy link
Contributor

@talregev talregev commented Oct 3, 2022

Describe the pull request
Add ignition-tools for compile sdforamt

  • What does your PR fix?

    Fixes #...

  • Which triplets are supported/not supported? Have you updated the CI baseline?

All

  • Does your PR follow the maintainer guide?

    Yes

  • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

    Yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@talregev
Copy link
Contributor Author

talregev commented Oct 3, 2022

Not sure how to solve it:

The folder /include is empty or not present. This indicates the library was not correctly installed.
Found 1 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile:
    /home/ubuntu/vcpkg/ports/ignition-tools/portfile.cmake

github-actions[bot]
github-actions bot previously approved these changes Oct 3, 2022
@talregev
Copy link
Contributor Author

talregev commented Oct 3, 2022

Not sure how to solve it:

The folder /include is empty or not present. This indicates the library was not correctly installed.
Found 1 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile:
    /home/ubuntu/vcpkg/ports/ignition-tools/portfile.cmake

@JackBoosY @dg0yt
How I overcome this issue?

@talregev
Copy link
Contributor Author

talregev commented Oct 3, 2022

This is a command line tool without headers that the sdforamt12 is using.
Can we tell that to vcpkg?

@JackBoosY JackBoosY self-assigned this Oct 8, 2022
@JackBoosY JackBoosY added the category:new-port The issue is requesting a new library to be added; consider making a PR! label Oct 8, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for ignition-tools have changed but the version was not updated
version: 1.5.0
old SHA: 591054f6a38ab55686271f8fe1f052b4cd5b4326
new SHA: 0e2a202114e599478fd3e3bebb841a5852f9e48b
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

github-actions[bot]
github-actions bot previously approved these changes Oct 9, 2022
JackBoosY added 2 commits October 8, 2022 23:37
Comment on lines +23 to +31
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(GLOB DEBUG_TOOLS "${CURRENT_PACKAGES_DIR}/debug/bin/*")
file(COPY ${DEBUG_TOOLS} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/tools/${PORT}")
endif()

if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
file(GLOB RELEASE_TOOLS "${CURRENT_PACKAGES_DIR}/debug/bin/*")
file(COPY ${RELEASE_TOOLS} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
endif()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note the tools are scripts, not binaries, so we can't use vcpkg_copy_tools.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should we do?

@JackBoosY JackBoosY added the info:reviewed Pull Request changes follow basic guidelines label Oct 9, 2022
@vicroms vicroms merged commit ef91cf7 into microsoft:master Oct 9, 2022
@talregev talregev deleted the TalR/ignition-tools branch March 1, 2023 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:new-port The issue is requesting a new library to be added; consider making a PR! info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants