Skip to content

Persistent storage for module extension evaluation. #24777

@aignas

Description

@aignas

Description of the feature request:

This has been discussed in this Slack thread
And it is outlined in this proposal document

Which category does this issue belong to?

This is about bzlmod extension evaluation.

What underlying problem are you trying to solve with this feature?

I would like to store URL, sha256 values that I can fetch from the PyPI index. That is something that is a by product of the extension evaluation and I would like to reuse that in future evaluations.


Just to be clear, my intention would be to use this in rules_python when we download these facts available through PyPI server:

  1. e.g. Distribution a for version b has artifacts downloadable at X with hash Y.
  2. Artifacts downloadable at X have further METADATA files associated with other hashes.

I would like to mark the extension as reproducible so that only the facts are persisted in the MODULE.bazel.lock file. For my usecase arch/os dependent facts are not needed.

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.type: feature request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions