-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[sdformat6] Migrate from Bitbucket to GitHub 🤖 #10859
[sdformat6] Migrate from Bitbucket to GitHub 🤖 #10859
Conversation
As announced in https://community.gazebosim.org/t/important-gazebo-and-ignition-are-going-to-github/533, the sdformat repository has been migrated from Bitbucket to GitHub. This commit also updates the hash as apparently the archive generated by GitHub is slightly different from the one generated by Bitbucket.
ports/sdformat6/portfile.cmake
Outdated
@@ -1,10 +1,10 @@ | |||
include(vcpkg_common_functions) |
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.
include(vcpkg_common_functions)
is no long needed.
Could you please remove this line?
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.
We should also add vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")
here.
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.
Ok, no problem. However typically it is common practice in open source project to prefer self-contained PRs that just fix a single problem, and don't mix solving the issue with other (even if required/important) changes. If vcpkg instead suggest to do all the deprecation-related cleanup whenever a port is modified in a PR, that is perfect ok but I suggest to describe this policy in the Mantainer Guideline: https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#avoid-trivial-changes-in-untouched-files .
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.
Fixed in c6ad5af .
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO osrf/sdformat | ||
REF sdformat6_6.2.0 | ||
SHA512 3e3934010438bffbf10c1df29bd486c098e3c1bdf2b0349b69a53fb6f4d2bd3b3c8c4b4a8dfb413da13a638c0794f41c1bff4adb11a889b1552d90ba8b94c495 | ||
SHA512 3d139ec4b4c9fbfd547ed8bfca0adb5cdca92c1b7cc4d4b554a7c51ccf755b9079c26a006ebfedc5bc5b1ba5e16ad950bb38c47ea97bf97e59a2fd7d12d60620 | ||
HEAD_REF sdf6 | ||
) | ||
|
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.
Could you please update the way to handle to copyright as
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
?
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.
vcpkg_test_cmake()
is deprecated.
Could you please remove this?
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.
Fixed in c6ad5af .
@@ -1,5 +1,5 @@ | |||
Source: sdformat6 | |||
Version: 6.2.0 | |||
Version: 6.2.0-1 | |||
Homepage: http://sdformat.org/ | |||
Build-Depends: boost-any, boost-variant, ignition-math4, urdfdom, tinyxml | |||
Description: Simulation Description Format (SDF) parser and description files. |
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 noticed that sdformat6
seemed to not support arm and uwp.
So could you please add Supports: !(arm|uwp)
field to CONTROL?
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.
Fixed in c6ad5af .
Hi @traversaro
It seems that the hash value should be kept as the before one. |
I think there is an unfortunate problem: as |
All the cleanup should have been addressed in c6ad5af . . |
If it ok for you, I can avoid that by modifying |
An alternative is to modify the names of the archives created by |
Thanks for the PR!
This seems very reasonable to me, but instead modifying |
As announced in https://community.gazebosim.org/t/important-gazebo-and-ignition-are-going-to-github/533, the sdformat repository has been migrated from Bitbucket to GitHub.
This commit also updates the hash as apparently the archive generated by GitHub is slightly different from the one generated by Bitbucket.
This PR is similar to #10858 .
Describe the pull request
What does your PR fix?
The PR does not fix any issue, but given that bitbucket will remove the original repos in June 2020, it will prevent future port failures.
Which triplets are supported/not supported? Have you updated the CI baseline?
No triplet support should he changed.
Does your PR follow the maintainer guide?
Yes. Furthermore the PR title follows the additional guidelines documented in [ignition-cmake0, ignition-math4] Add support for writing ports of Ignition Robotics libraries 🤖 #7781 (comment) .