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

Add gtsam as source package #35980

Merged
merged 2 commits into from
Jan 31, 2023

Conversation

jlblancoc
Copy link
Contributor

Please Add This Package to be indexed in the rosdistro.

rolling and humble (let me know if two independent PRs are required)

The source is here:

https://github.com/borglab/gtsam/

Checks

  • All packages have a declared license in the package.xml
  • This repository has a LICENSE file
  • This package is expected to build on the submitted rosdistro

@github-actions github-actions bot added humble Issue/PR is for the ROS 2 Humble distribution rolling Issue/PR is for the ROS 2 Rolling distribution labels Jan 29, 2023
@nuclearsandwich
Copy link
Member

I was just reviewing #35940 and in that review I found that the package vendors dependencies and thus is quite complicated from a licensing perspective.

I know that gtsam is already part of several ROS distributions but I think that adding additional <license> tags with comments to cover any embedded third party libraries should be done. https://github.com/borglab/gtsam/blob/develop/LICENSE

Also, if it is possible to un-vendor those libraries and make them explicit dependencies that would certainly be better from a build integrity perspective.

@jlblancoc
Copy link
Contributor Author

thanks, @nuclearsandwich :

I was just reviewing #35940

Oh, I wasn't aware of that one! I guess the pip python dep is an independent thing than this idea of adding it as a c++ library.

and in that review I found that the package vendors dependencies and thus is quite complicated from a licensing perspective.

yes, I agree...

I know that gtsam is already part of several ROS distributions but I think that adding additional <license> tags with comments to cover any embedded third party libraries should be done. https://github.com/borglab/gtsam/blob/develop/LICENSE

I'll ping you so you can check the proposed changes to the package.xml upstream

Also, if it is possible to un-vendor those libraries and make them explicit dependencies that would certainly be better from a build integrity perspective.

We have been sporadically trying it for a couple of years, but progress is slow...

cc: @ProfFan

@jlblancoc
Copy link
Contributor Author

BTW: what about the failing CI test?? I couldn't understand the reason for it or whether it was spurious...

@ProfFan
Copy link

ProfFan commented Jan 30, 2023

Yeah, I proposed un-vendoring several times... METIS is already ready for un-vendoring, the others I think some are already obsolete, but not really sure @dellaert please advise?

humble/distribution.yaml Outdated Show resolved Hide resolved
@jlblancoc
Copy link
Contributor Author

Ok, URLs are fixed and CI has passed now.
And proposed changes for license info are in borglab/gtsam#1432

Copy link
Member

@nuclearsandwich nuclearsandwich left a comment

Choose a reason for hiding this comment

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

I may propose some further suggestions related to the vendoring of 3rd party libraries when it comes time to release this on the build farm via Bloom but I think that this package is ready for indexing and source installation.

@nuclearsandwich nuclearsandwich merged commit d7286de into ros:master Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
humble Issue/PR is for the ROS 2 Humble distribution rolling Issue/PR is for the ROS 2 Rolling distribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants