bazelbuild / bazelbuild/rules_pkg

Package JSON manifest should support generic attributes

Open
#385 3 comments 0 reactions 1 assignee Claimed by @nacl View on GitHub
P3
Dominant language
Starlark
Stars
253
Forks
221
Avg merge
10h 33m
Merged PRs (30d)
1

Description

I like the idea of the JSON manifest format -- it allows us to create backends for a generic packaging frontends.

I would like to adopt this for `pkg_rpm` at some point, but in order to do this, the manifest would need to support a generic "attributes" format to support file tags (like `%config`). This will also be needed for supporting packages in Windows.

So, instead of separate `mode`, `user`, and `group` fields, perhaps we should have an `attributes` object that can contain arbitrary information, mirroring `pkg_attributes` in the `pkg_filegroup` framework?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.