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
Currently, pkg_filegroup rules can only be aggregated by a pkg_tar rule. I would like to be able to aggregate pkg_filegroup rules with another pkg_filegroup rule -- i.e., I would to specify pkg_filegroup rules as srcs to another pkg_filegroup.
Use case: Due to Bazel incompatible target skipping, we provide explicit targets in our CI testing. I would prefer to test our deployment build with a pkg_filegroup target, but I instead have to test with a pkg_tar target, which adds expensive disk I/O. I would test with multiple pkg_filegroup targets, but this means maintaining the aggregated lists in two places.
With rules_pkg 0.5.1 I get this error if I try to aggregate pkg_filegroup rules:
<target name> does not have mandatory providers: 'PackageFilesInfo' or 'PackageDirsInfo' or 'PackageSymlinkInfo'
The text was updated successfully, but these errors were encountered:
Currently,
pkg_filegroup
rules can only be aggregated by apkg_tar
rule. I would like to be able to aggregatepkg_filegroup
rules with anotherpkg_filegroup
rule -- i.e., I would to specifypkg_filegroup
rules assrcs
to anotherpkg_filegroup
.Use case: Due to Bazel incompatible target skipping, we provide explicit targets in our CI testing. I would prefer to test our deployment build with a
pkg_filegroup
target, but I instead have to test with apkg_tar
target, which adds expensive disk I/O. I would test with multiplepkg_filegroup
targets, but this means maintaining the aggregated lists in two places.With
rules_pkg
0.5.1 I get this error if I try to aggregatepkg_filegroup
rules:The text was updated successfully, but these errors were encountered: