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

Username redundant #602

Open pgrohs opened 2 years ago

pgrohs commented 2 years ago

It is currently mandatory to specify the username of a package when constructing an ConanMultiPackager object, although it is already defined in the recipe to build. The same is true for the channel.

This could be easily changed without changing the current behavior when either the username/reference argument of ConanMultiPackager or the environment variables CONAN_CONANFILE/CONAN_REFERENCE are defined:

grafik

grafik

Could you please consider to integrate these changes? It would make our work much easier by reducing redundancy.

Thanks a lot in advance.

uilianries commented 2 years ago

Hi @pgrohs Thank you for your suggestion. Please, submit a pull request with your diff, then we can improve.