bazel-contrib / rules_oci

Bazel rules for building OCI containers
Apache License 2.0
305 stars 159 forks source link

Add a plus sign to the output_groups option #707

Closed lexspoon closed 1 month ago

lexspoon commented 1 month ago

For people upgrading from earlier versions of rules_oci, it works out better to use +tarball than tarball. With the docs as currently written, without the plus sign, it will break for anyone using an earlier version of rules_oci. Adding the plus makes it work with either older or newer versions of rules_oci, which is convenient for people who are upgrading incrementally.

It's probably a good habit, anyway, to use the plus. When you want an extra output group to a build, you usually don't want to cancel all the output groups you don't know about. You just want to add the one new one that you do care about.