-
Notifications
You must be signed in to change notification settings - Fork 28
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
[bug] License Zipper is skipping packages #65
Comments
Hi @fschoenm thanks for your report. You're not missing anything, it's true that right now the deployer is not processing the packages that have been skipped. The good news is that this is something that can be addressed in the client to get working, we'll just need a few moments to figure out the best way to approach it, so thanks for your patience :) |
Thanks for the answer @RubenRBS. Is this something you're going to tackle in the near future, or is it not worth the wait? I want to decide if we can rely on Conan to handle OSS obligations in our internal projects. |
Yes! We're proposing a new conf that will disable package skipping, so that every dependency in the graph is fetched. We'll ping you once it's ready for use, but it shouldn't take too long. Thinking ahead, at some point the proper solution might be to have licenses be more of an integral part of the Conan client itself, modeling it in a more native way, but that's some ways off :) |
This is coming in 2.0.10 soon hopefully 🤞 |
Available in 2.0.10 now, let us know if you find any issues with it :) |
There seem to be situations where the license zipper (and maybe other deployers) cannot collect files from all dependencies. This seems to happen if Conan decides that it can skip certain dependencies (e.g. header-only libs that have already been compiled into a static lib).
However, of course the license of skipped packages might still mandate me to bring it along, which is entirely unrelated to which packages have to be available for the build process.
Is there even a way to handle this situation correctly (or maybe I'm operating it wrong)? Otherwise Conan might be inadequate to correctly handle license obligations.
Steps to reproduce
I tried as example with the fast-dds package that depends on asio:
conan config install
.conan install
again with the license deployer:As you can see, the asio license is missing.
The text was updated successfully, but these errors were encountered: