Skip to content

Add support for --repo_contents_cache #3039

Closed
Closed

Description

@brentleyjones

🚀 feature request

Description

Repository rules should use the new ctx.repo_metadata function if available (8.3.0+, checkable by hasattr). This can speed up cold startups, like ephemeral CI with cache volumes.

References:

Activity

  1. added theissue type on Jul 1, 2025
  2. added
    type: pippip/pypi integration
    type: toolchainRelated to the toolchains provided by rules_python
    on Jul 1, 2025
  3. aignas commented on Jul 1, 2025

    @aignas
    Collaborator

    If anybody is eager to get a start on this, feel free to do this. I think ideally this can be approached separately for the python toolchains and the PyPI packages. Right now I am busy stabilizing experimental-index-url but I am happy to review incoming PRs on this.

  4. aignas commented on Apr 21, 2026

    @aignas
    Collaborator

    Done for python toolchain repos and whl_library repo if pipstar is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: pippip/pypi integrationtype: toolchainRelated to the toolchains provided by rules_python

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions