Open samuel-emrys opened 2 years ago
@uilianries can you provide any guidance here?
@SpaceIm @madebr I recall there was a good reason for this hook but I am not able to find the PR that started it, if you have a chance please let us know if you recall the motivation.
I'll make sure to improve the docs (there's no 61) https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#kb-h060-no-crlf
Because this method might be called on another machine than the build machine, and it shouldn't have any effect on its behavior.
Failing builds in #7919 (https://github.com/conan-io/conan-center-index/pull/7919#issuecomment-974190776) give the following error message due to usage of
tools.os_info.detect_windows_subsystem()
inconfig_options()
:KB-H061 doesn't seem to be documented in error_knowledge_base.md - is anybody able to provide an explanation of why we aren't allowed to/supposed to use
tools.os_info
inconfig_options()
? And if there is a good reason, the documentation should be updated to reflect this.