-
Notifications
You must be signed in to change notification settings - Fork 5
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
colcon-package-selection is old #41
Comments
I'll send a PR so that it will be equal to ros-tooling/setup-ros#375. |
Just FYI, I've tested to use With this, I think we can keep packages up-to-date easily. @emersonknapp @christophebedard How do you feel about this approach? |
I do think it's a good idea. I think the versions were pinned to try to guarantee stability, but at some point we should bump the versions. Given the potential for breaking existing workflows (especially since these docker images aren't versioned), I'm just wondering how we can mitigate it. One solution would be to add proper tests in this repo that use |
We had a short discussion about this in the 2021-08-27 tooling WG meeting. Just like I mentioned above, we definitely want to update the versions periodically, but we also don't want to break existing workflows. To do this, we can append a version number to the docker image name, like I'm not sure how we can setup the repo to keep building all of these images: if we use a branch for each version, I don't think we can run nightly/scheduled CI jobs to build the images on all of those branches. It looks like scheduled jobs only run on the default branch: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#schedule. So maybe we can simply keep everything on Tests become less important in our goal to avoid breaking existing workflows if we create "versioned" images, but they're still a good idea. We should put tests using This will definitely require a bit of work and I unfortunately don't have much time these days. However, we can start by setting up |
Yes, this seems sensible |
is this something you'd like to do @kenji-miyake? If not, I can probably do it quickly. |
@christophebedard Hmm, I'd like to work on that, but I can't imagine the task well. |
Also, I'd like to know this in a bit more detail to contribute. Could you list up some tests? What problems do you want to prevent? |
argh you're right! This doesn't leave us a lot of options if we want to keep similar names. I'm not sure why the name/tag naming isn't the same on Docker Hub and GitHub.
I agree that we should consider this. It would be a one-time "stability break" probably only for the people using an old version of If we really want to avoid stability breaks, we could also abandon the ..unless we swap the names by changing the Docker Hub images to @emersonknapp what do you think?
I don't think we should specifically try to prevent ros-tooling/action-ros-ci#615 because it shouldn't happen anymore with newer versions of We can simply take & adapt some of the tests from |
I agree that we should leave the existing names as-is. No breaking existing workflows. If we're going to change names, I have some ideas about updating the scheme:
This would give us e.g.
With this change, we should definitely add a README explaining how to use it, and noting the "legacy" names. |
@emersonknapp The naming rule generally looks good to me! 👍
|
That looks good!
|
I'm not sure - that's a good point. I wonder if we should also move |
Description
Since
colcon-package-selection
insetup-ros-docker
is old, some options like--packages-above-and-dependencies
are not supported.Expected Behavior
Users can use as many options as possible that the latest version has.
Actual Behavior
Users can't use
--packages-above-and-dependencies
.To Reproduce
As I've tested on CI, please see the following results.
osrf/ros:galactic-desktop
passed (because it's using apt-version of colcon) butsetup-ros-docker
failed.kenji-miyake/setup-ros-test-colcon-version#1
Both
osrf/ros:galactic-desktop
andsetup-ros-docker
passed.kenji-miyake/setup-ros-test-colcon-version#2
System (please complete the following information)
The text was updated successfully, but these errors were encountered: