-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 rosdep rule for range-v3 library #23967
Conversation
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.
Need changes to the Debian and Ubuntu keys. Also, this package is available on all current fedora distributions, so please add a fedora key as well.
rosdep/base.yaml
Outdated
@@ -4994,6 +4994,11 @@ r-base-dev: | |||
fedora: [R-devel] | |||
gentoo: [dev-lang/R] | |||
ubuntu: [r-base-dev] | |||
range-v3: | |||
debian: [librange-v3-dev] |
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.
This package is only available for debian buster and later. We still support debian stretch for Melodic, so this key will have to be more specific. See
Line 229 in 1cf2a02
benchmark: |
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.
Marked as unavailable for jessie and stretch. The package is available in stretch-backports repository, but I guess that doesn't count, right?
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.
Correct, we can only depend on things in the main, security, universe, and multiverse repositories.
rosdep/base.yaml
Outdated
debian: [librange-v3-dev] | ||
fedora: [range-v3] | ||
gentoo: [dev-cpp/range-v3] | ||
ubuntu: [librange-v3-dev] |
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.
Same comment for ubuntu; this package is only available on eoan and later, but we still support xenial and bionic for Kinetic and Melodic, respectively. This key will need to be more specific.
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.
It's available for bionic as well.
Thanks for the review, @clalancette. I think I addressed your comments about the debian/ubuntu distribution specificity. Re. the fedora key: there's one there already, but I'm not sure that's correct. Should it be specified differnently? |
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.
Don't add exceptions for out-of-support distros. Once that is fixed, looks good to me.
rosdep/base.yaml
Outdated
range-v3: | ||
debian: | ||
'*': [librange-v3-dev] | ||
jessie: null |
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 don't need to add jessie here, as it is out-of-support.
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 added it because it's one of the recommended supported platforms for Kinetic and I guessed it would be nice to include. It's gone now.
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.
Yeah, we're a bit inconsistent there. We support these other Debian/Ubuntu versions when we first release the ROS distributions. Once they go out of support, we stop making changes to rosdep keys for them, but we don't remove them from the REP. Anyway, looks good to me now, thanks for iterating.
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.
Got it. Thanks for the explanation 👍
rosdep/base.yaml
Outdated
artful: null | ||
wily: null |
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.
Same for artful and wily; since they are out-of-support, we don't need to add exceptions for them.
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.
Same here. Added those because they were in the list of supported platforms for Kinetic (wily) and Melodic (artful). Also removed these.
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.
Thanks for iterating and getting that Fedora key in.
* Add rosdep rule for range-v3 library * Specify supported Debian/Ubuntu distributions for range-v3 * Remove out-of-support distribution exceptions for range-v3
Rosdep key for range-v3 library, which: is the basis of the range support in C++20.
I believe the ubuntu, debian and gentoo packages are correct. Package listings in the respective repositories can be found in:
I'm not so sure about fedora. I could not find any related result in fedora packages, but there's some result here. I don't know what that means. Any help here would be appreciated.