-
Notifications
You must be signed in to change notification settings - Fork 27
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
ament_index/resource_index/packages files not packaged into debs #33
Comments
The
The Debian does contain the file which can be checked with
|
Worded badly, sorry.
|
Please change the ticket title then.
In order to detect that a package is installed it needs to install that marker file. Similar to installing the packages manifest in ROS 1 - which needed to be crawled for and then parsed - just much faster at usage time. So if you need your package to be identified as a ROS package, e.g. by |
The other point I mentioned in the original description was that those markers do get installed in the development workspace (how?) without the aforementioned code to install them in |
In ROS 2 there is no devel space. In a local build |
The Debian package is not built using |
Aye, the tools are all doing one thing or another with some supporting logic. It is possible to get it all to work (which I have now). Nonetheless, it's the integration of these things which creates an awkward experience with surprises.
Only once I'd put in what felt like hacks, I discovered this very nicely articulated doc to appreciate the hacks were part of a reasonably justified layer in the onion beyond The intent of this ticket is not to report a bug, but to ask, can something simple be done to make the entry into ros2-python packages a little less of
|
What if a package really doesn't want to add itself to the index? Therefore I don't think this is an option.
That would be possible. Currently it is intentionally providing this support to make it easier to users (which might never go towards a release of their packages). Not sure if breaking this use case is a good idea.
It is pretty difficult if not impossible to provide a helper like that in the
👍 💯 (as many other things not documented well enough at the moment). Any contribution towards more documentation would be greatly appreciated. |
If part of a working package is that marker, then I feel (rather strongly) that the build tool shouldn't be installing that marker. If someone tries to use my sources (regardless of whether it's the build farm or someone with an in-house build tool of their own) ... it's a broken package. I create enough bugs of my own, don't need help from my build tool to unwittingly create more :) |
I'm ok with explicitly having
|
You can't use |
What's the limitation? I've used this trick in the past - if I ensure it's in my |
You need to process the content of the |
Ah. I tried setting the Is/will there be a practical reason for the existence of populated |
Not if you have a |
We just discussed this idea and will go ahead and remove this helper from |
Assuming the referenced PR addresses your issue I will go ahead and close this ticket. |
Since this is a breaking change, I think this should have been part of a major release and not a minor one. I spent my entire work day chasing this down... not cool |
Yep. Broke all sorts of CI around here and we had a flag day or two. Come on folks. |
Hitting this issue too... |
This is very likely the wrong place for this ticket but I'm not rightly sure where it should be reported.
Problem:
Local workspace builds correctly install files into
ament_index/resource_index/packages
so that tools fromros2cli
can discover packages correctly. However the same packages when built as debs do not install that file and subsequently require it to be forced viasetup.py
in the following manner (discovered on inspection ofros2cli/setup.py
itself):Expected:
setup.py
(perhaps it should be explicit for both workspace and deb installs?)A little surprised that ament index requires other packages to be aware of it.
The text was updated successfully, but these errors were encountered: