Skip to content

caching generated sources - #20230

Draft
memsharded wants to merge 1 commit into
conan-io:develop2from
memsharded:feature/caching_generated_sources
Draft

caching generated sources#20230
memsharded wants to merge 1 commit into
conan-io:develop2from
memsharded:feature/caching_generated_sources

Conversation

@memsharded

@memsharded memsharded commented Jul 29, 2026

Copy link
Copy Markdown
Member

Changelog: Feature: New functionality to leverage the backup-sources mechanisms for caching intermediate artifacts, like heavy generated sources.
Docs: https://github.com/conan-io/docs/pull/XXXX

Private or "conan" metadata files in #20114 will not work for this use case, because they are always retrieved.
For same reason #20131 won't work

This could be a proposal for #20118:

  • Leverages the "backup sources" infrastructure
  • Introduces a new identifier to download() method, so it can be used instead of the sha256 (necessary to be able to predict a file of cached generated files)
  • Introduces a new save_backup_source() tool that allows recipes to put things in the download cache while generating them, making them ready for upload and reuse from there.

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.

1 participant