Skip to content

Mark the apko module extension as reproducible to reduce bzlmod lockfile size and churn #137

@Silic0nS0ldier

Description

@Silic0nS0ldier

The apko module extension translates apko.lock.json into repositories (much like rules_js does with pnpm-lock.yaml) which is a reproducible operation. The MODULE.bazel.lock lockfile can be trimmed by returning module_ctx.extension_metadata(...) with reproducible = True.

At time of writing, this would drop an internal lockfile from 11.4k down to 6.7k (4.7k reduction).

Prior art: aspect-build/rules_js#1541

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions