Skip to content

self.export_source_folder (based on layout.py) - #11055

Merged
memsharded merged 5 commits into
conan-io:developfrom
lasote:feature/exports_sources_folder
Apr 20, 2022
Merged

memsharded merged 5 commits into
conan-io:developfrom
lasote:feature/exports_sources_folder

Conversation

@lasote

@lasote lasote commented Apr 20, 2022

Copy link
Copy Markdown
Contributor

Changelog: Fix: Renamed self.base_source_folder to self.export_source_folder. That variable was introduced to reference the folder where the export_sources are. Currently, they are copied to the source folder but might be changed in the future to avoid copying them, so self.export_source_folder will always point to the folder containing the exports_sources.
Docs: conan-io/docs#2514

Similar than #11053
Close #10643

Warn: The update_conandata check is not possible anymore with this implementation.

Comment thread conans/test/integration/conanfile/conan_data_test.py

@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.

I think your approach is cleaner than mine, because it is a full implementation (solving my open TODOs) following layout. I will close my PR.

Comment thread conan/tools/files/conandata.py
Comment thread conans/model/layout.py
@lasote
lasote marked this pull request as ready for review April 20, 2022 15:36

@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.

Clean and clear, looks ready to go!

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.

[feature] [2.0] exports_sources management

2 participants