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

Feature/init description license #7404

Merged

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Jul 22, 2020

Changelog: Feature: Propose init() method to unconditionally initialize class attributes like license or description.
Docs: conan-io/docs#1787

Seems init() is a good place to unconditionally load license, description and other stuff from datafiles other than conandata.yml. For conditional values, configure() will be recommended.

Close #7268

czoido
czoido approved these changes Jul 23, 2020
@memsharded memsharded merged commit 4c1f358 into conan-io:develop Jul 23, 2020
2 checks passed
@memsharded memsharded deleted the feature/init_description_license branch Jul 23, 2020
@danimtb
Copy link
Member

@danimtb danimtb commented Jul 23, 2020

@memsharded I think this changes deserve a clarification in the docs https://docs.conan.io/en/latest/reference/conanfile/methods.html as the stated usage of this method is just for python requires currently

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