Skip to content
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

Fix requires typo in graph build-order #16308

Merged
merged 2 commits into from
May 20, 2024

Conversation

juansblanco
Copy link
Contributor

@juansblanco juansblanco commented May 20, 2024

Changelog: Fix: Fix require syntax in output in graph build-order.
Docs: omit

Changed the output of the build-args to be consistent with the name of the argument for both --requires and --tool_requires

Closes: #16286

@juansblanco juansblanco added this to the 2.4.0 milestone May 20, 2024
@@ -272,7 +272,7 @@ def add(self, node):
def _build_args(self):
if self.binary != BINARY_BUILD:
return None
cmd = f"--require={self.ref}" if self.context == "host" else f"--tool-require={self.ref}"
cmd = f"--requires={self.ref}" if self.context == "host" else f"--tool-requires={self.ref}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This two functions seem identical, maybe we could extract them away.

@czoido czoido merged commit 3f8ae23 into conan-io:develop2 May 20, 2024
2 checks passed
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.

[bug] Inconsistency in conan install require or requires
4 participants