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

Added code to update submodules during installation #950

Merged
merged 4 commits into from
Aug 25, 2024

Conversation

KarthiAru
Copy link
Contributor

Added code to automatically initialize and update all submodules recursively. This change addresses build errors related to un-initialized submodules, specifically issues with the pybind11 submodule. The script checks each directory for the presence of .gitmodules and, if found, performs the necessary submodule updates. This ensures all dependencies are correctly set up before build, improving the reliability of our build process and reducing setup errors for new users.

Added code to automatically initialize and update all submodules recursively. This change addresses build errors related to un-initialized submodules, specifically issues with the `pybind11` submodule. The script checks each directory for the presence of `.gitmodules` and, if found, performs the necessary submodule updates. This ensures all dependencies are correctly set up before build, improving the reliability of our build process and reducing setup errors for new users.
Copy link
Contributor

@sea-bass sea-bass left a comment

Choose a reason for hiding this comment

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

As this is specific to only setting up submodules for the MoveIt Task Constructor python bindings, which are optional, I don't think this should take up more space in the default tutorials instructions.

But also, there is a simpler solution to all this, which is to add the --recursive flag to vcs import:

  vcs import --recursive < moveit2_tutorials/moveit2_tutorials.repos

^ maybe this is okay to update?

Added --recursive flag to vcs import as per PR comments
@KarthiAru
Copy link
Contributor Author

@sea-bass Thanks. I didn't know this simpler option existed. I've updated the PR.

@sea-bass sea-bass enabled auto-merge (squash) August 25, 2024 15:27
@sea-bass sea-bass merged commit 8e743d8 into moveit:main Aug 25, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants