Skip to content

fix with caching of aggregated components - #14060

Merged
czoido merged 1 commit into
conan-io:release/2.0from
memsharded:fix/caching_aggregated_components
Jun 12, 2023
Merged

czoido merged 1 commit into
conan-io:release/2.0from
memsharded:fix/caching_aggregated_components

Conversation

@memsharded

Copy link
Copy Markdown
Member

Changelog: Fix: Avoid caching issues when some intermediate package in the graph calls aggregated_components() over some dependency and using --deployer, generators still pointed to the Conan cache and not deployed copy.
Docs: Omit

Close #14022


def aggregated_components(self):
"""Aggregates all the components as global values, returning a new CppInfo"""
if self._aggregated is None:

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.

Asking myself if there are more instances of caching in the code that can also be an issue

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I had a quick look, there is caching in some other places related to the computation of the graph, but nothing evident at first sight that would affect the generators

@czoido
czoido merged commit 648dda2 into conan-io:release/2.0 Jun 12, 2023
@memsharded
memsharded deleted the fix/caching_aggregated_components branch June 12, 2023 08:10
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] full_deploy generates paths to res relative to the cache instead of the deploy folder

3 participants