conan-io / conan-package-tools

Conan Package Tools. Helps with massive package creation and CI integration (Travis CI, Appveyor...)
MIT License
165 stars 70 forks source link

CONAN_UPLOAD_DEPENDENCIES does not upload dependencies, which were not built #594

Open Parcley opened 2 years ago

Parcley commented 2 years ago

When settings CONAN_UPLOAD_DEPENDENCIES to "all", I expect that all dependencies of my conan package will be uploaded. In reality only the built packages are uploaded.

I was expecting this setting to be similar to conan's --build=missing or --build=all settings. In the case of conan, missing means that all missing packages are built and all will rebuild every package (even it is already exists). I was assuming that CONAN_UPLOAD_DEPENDENCIES behaves the same way: all will upload all dependencies (those that were built and those that were not built). Instead, CONAN_UPLOAD_DEPENDENCIES behaves like conan's --build=missing option and will only upload dependencies that were built just now.

This is an issue for me in these cases:

I wonder if it possible to add another setting for CONAN_UPLOAD_DEPENDENCIES, which will upload ALL dependencies (not just dependencies, which were built during the conan install phase)

Environment Details