You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally brought up in #36, each packaging rule currently has its own scheme for laying out package contents, each with its own advantages and disadvantages.
Practically speaking, these are all just variations on ensuring that bazel targets are consistently mapped into the output package. There should be a unified interface for this.
This is primarily the subject of the files in pkg/experimental, which represent a first pass at implementing this feature. We believe we have identified the various shortcomings of this scheme, and an new, more streamlined, one is currently in progress.
This is tracking various pull requests other issues related to this mapping system, namely:
nacl
changed the title
Provide basic target mapping system for packaging rules
Provide basic target mapping system for packaging rules (pkg_filegroup)
Mar 3, 2021
Originally brought up in #36, each packaging rule currently has its own scheme for laying out package contents, each with its own advantages and disadvantages.
Practically speaking, these are all just variations on ensuring that bazel targets are consistently mapped into the output package. There should be a unified interface for this.
This is primarily the subject of the files in
pkg/experimental
, which represent a first pass at implementing this feature. We believe we have identified the various shortcomings of this scheme, and an new, more streamlined, one is currently in progress.This is tracking various pull requests other issues related to this mapping system, namely:
PackageFilesInfo
, etc.) Provide providers for new packaging rule interfaces #246pkg_files
) Create rules for emitting PackageFilesInfo, PackageDirsInfo #273pkg_mkdirs
) Create rules for emitting PackageFilesInfo, PackageDirsInfo #273pkg_mklink
) Provide pkg_mklink, pkg_filegroup #293pkg_filegroup
) Provide pkg_mklink, pkg_filegroup #293This will cover most cases. Other issues that should to be addressed at some point include (we are encountering issues with this internally):
strip_prefix
on TreeArtifacts (this is a problem we're encountering internally) Packagingstrip_prefix
does not function on or within TreeArtifacts (directories) #269Other, perhaps useful things that aren't as urgent:
Default attribute derivation from inputs Try to derive default file mode from input types #302The text was updated successfully, but these errors were encountered: