Skip to content

feat: export resolved apt package inventory - #268

Merged
thesayyn merged 1 commit into
bazel-contrib:mainfrom
zbarsky-openai:zbarsky/apt-resolved-inventory
Sep 14, 2026
Merged

thesayyn merged 1 commit into
bazel-contrib:mainfrom
zbarsky-openai:zbarsky/apt-resolved-inventory

Conversation

@zbarsky-openai

Copy link
Copy Markdown
Contributor

Export the resolved dependency-set lock as @repo//:lock.json so package
policy and image-inventory checks can consume the selected versions,
hashes, architectures, and dependency graph.

The repository rule already receives this data. Write and export it
instead of exporting packages.bzl, which the rule does not generate.
Consumers can inspect the inventory without parsing Bazel's internal
MODULE.bazel.lock repository specifications.

Expose the resolved dependency-set lock as :lock.json for package-policy
and image-inventory checks. This publishes data already passed to the
repository rule rather than requiring consumers to parse Bazel's module
lock internals. Replace the stale export of nonexistent packages.bzl.
@thesayyn
thesayyn merged commit f026437 into bazel-contrib:main Sep 14, 2026
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.

2 participants