Skip to content

validate_build over settings - #11580

Merged
czoido merged 8 commits into
conan-io:developfrom
lasote:feature/validate_build_over_settings
Jul 12, 2022
Merged

czoido merged 8 commits into
conan-io:developfrom
lasote:feature/validate_build_over_settings

Conversation

@lasote

@lasote lasote commented Jul 6, 2022

Copy link
Copy Markdown
Contributor

Changelog: Feature: Introduced a validate_build() method in the recipes to validate if the package can be built according to self.settings and self.options instead of self.info.settings and self.info.options that it is used to validate the binary.
Docs: conan-io/docs#2667

@lasote
lasote requested review from czoido and memsharded July 6, 2022 12:04
@lasote lasote added this to the 1.51 milestone Jul 6, 2022

@memsharded memsharded left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too many tests are broken, but I fail to see how these changes can cause that breakage

Comment thread conans/client/graph/graph_binaries.py Outdated
Comment thread conans/client/graph/graph_binaries.py Outdated
Comment thread conans/client/graph/graph_builder.py Outdated
Comment thread conans/client/graph/graph_builder.py Outdated
Comment thread conans/client/graph/graph_manager.py Outdated
@lasote
lasote marked this pull request as ready for review July 12, 2022 11:12
@lasote lasote changed the title POC: validate_build over settings validate_build over settings Jul 12, 2022

@memsharded memsharded left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Don't forget to mark it as experimental in the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants