-
Notifications
You must be signed in to change notification settings - Fork 989
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
Inherit scm from superclass #5185
Conversation
conans/client/cmd/export.py
Outdated
|
||
if len(to_replace) == 0: | ||
# SCM exists, but not found in the conanfile, probably inherited from superclass | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we need to actually add the scm_data
to this conanfile.py
file. There is nothing to replace, but we need to add the dictionary to the class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a look at the comments, but it is looking good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, go with it!
Thanks for the quick reviews! |
Changelog: Bugfix: Using
scm
declared in a superclass failed exporting the recipe with the errorERROR: The conanfile.py defines more than one class level 'scm' attribute
.Docs: omit
Closes #5181