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

git is required in buildstep #172

Merged
merged 2 commits into from
May 13, 2024
Merged

git is required in buildstep #172

merged 2 commits into from
May 13, 2024

Conversation

Timple
Copy link
Contributor

@Timple Timple commented May 13, 2024

It's probably not coming in via ament_cmake_vendor_package as that package supports multiple vcs.

@Yadunund Yadunund merged commit c76c962 into ros2:rolling May 13, 2024
6 checks passed
@christophebedard
Copy link
Member

I did a search for >git</ in my ROS 2 source workspace and I only see <buildtool_depend>, not <build_depend>:

$ ag '>git</' src/
src/eclipse-iceoryx/iceoryx/iceoryx_posh/package.xml
14:    <buildtool_depend>git</buildtool_depend>

src/ros2/rosbag2/mcap_vendor/package.xml
13:  <buildtool_depend>git</buildtool_depend>

src/ament/google_benchmark_vendor/package.xml
19:  <buildtool_depend>git</buildtool_depend>

src/eProsima/foonathan_memory_vendor/package.xml
14:  <buildtool_depend>git</buildtool_depend>

So should it be <buildtool_depend> or <build_depend>?

@Yadunund
Copy link
Member

@christophebedard you're right buildtool_depend is the more appropriate one. We should also update the cargo dep to be buildtool_depend. Do you mind opening a PR?

@Timple
Copy link
Contributor Author

Timple commented May 13, 2024

My rationale was: It's used by cargo which is build_depend.

Although I'm not that sure anymore it was cargo which used it.

@Yadunund
Copy link
Member

Actually git should be used by ament_vendor here to clone in zenoh-c. But I think this is transitively satisfied by the python3-vcstool dep defined here.

@clalancette
Copy link
Collaborator

Actually git should be used by ament_vendor here to clone in zenoh-c. But I think this is transitively satisfied by the python3-vcstool dep defined here.

The thing is, @Timple is right; python3-vcstool has no git dependency:

ubuntu-24.04:~$ sudo apt-cache depends python3-vcstool
python3-vcstool
  Depends: python3-pkg-resources
  Depends: python3-yaml
  Depends: <python3:any>
    python3
  Depends: python3-setuptools
  Conflicts: <python-vcstool>

@Yadunund
Copy link
Member

Ah thanks for the clarification @clalancette.

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.

4 participants