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 rosdep rule for range-v3 library #23967

Merged
merged 3 commits into from
Mar 9, 2020
Merged

Conversation

miguelprada
Copy link
Contributor

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.

@miguelprada miguelprada requested a review from a team as a code owner March 5, 2020 10:39
@clalancette clalancette added the rosdep Issue/PR is for a rosdep key label Mar 6, 2020
Copy link
Contributor

@clalancette clalancette left a 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]
Copy link
Contributor

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

benchmark:
for an example on how to do this.

Copy link
Contributor Author

@miguelprada miguelprada Mar 9, 2020

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?

Copy link
Contributor

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]
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@miguelprada
Copy link
Contributor Author

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?

Copy link
Contributor

@clalancette clalancette left a 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
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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
Comment on lines 5006 to 5007
artful: null
wily: null
Copy link
Contributor

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.

Copy link
Contributor Author

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.

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.

Thanks for iterating and getting that Fedora key in.

@nuclearsandwich nuclearsandwich merged commit e58083e into ros:master Mar 9, 2020
at-wat pushed a commit to alpine-ros/rosdistro that referenced this pull request Mar 12, 2020
* Add rosdep rule for range-v3 library

* Specify supported Debian/Ubuntu distributions for range-v3

* Remove out-of-support distribution exceptions for range-v3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rosdep Issue/PR is for a rosdep key
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants