-
Notifications
You must be signed in to change notification settings - Fork 18
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
--upstream option broken for custom upstream tags #33
Comments
Yeah, that particular setting never really made sense to me, because ideally it is exactly the same as the release repository's tag. In practice there can be patches which are applied in the release repository and you might want "upstream"'s version of the release without the patches, but I have a hard time imagining a case where that's useful. It's problematic to capture this information without getting it from the release repository. You could have an "upstream_url" and "upstream_tag" in the "release" section of the distribution file on ros/rosdistro, but that would only tell you about the latest release, i.e. the tag structure could change from one release to the next. So you really need an "upstream_url"/"upstream_tag" pair for each release. I'm not sure it's worth trying to fix this particular option, and maybe we should just have it tell you (in stderr or in documentation) that it is a best guess sort of thing. The released version and the |
This problem gets even worse if if someone uses the |
+1: I faced the same issue recently, trying to fetch the code of ROS Bouncy I ended up with non existing tags for third party repositories that are released with a commit hash as a release tag. Not a blocker for my use case, mostly commenting here so that we know it is currently a problem user will face in mainline ROS 2 if they use the |
Example:
The final one is broken— the actual tag is https://github.com/ros-geographic-info/geographic_info/releases/tag/geographic_info-0.4.0, but rosinstall_generator has no way of knowing this without additional data from the GBP repo.
The text was updated successfully, but these errors were encountered: