bazelbuild / rules_pkg

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)
Apache License 2.0
217 stars 174 forks source link

Use consistent template variable names #386

Open nacl opened 3 years ago

nacl commented 3 years ago

rules_pkg uses multiple template variables throughout the codebase, including:

Pick one (not necessarily from these), and make all uses consistent where possible. It may not be in some locations (like in the pkg_rpm script.

_Originally posted by @aiuto in https://github.com/bazelbuild/rules_pkg/pull/380#discussion_r670118887_

aiuto commented 3 years ago

Considerations for evaluating a choice:

aiuto commented 2 years ago

My current vote is that python style will be the least surprising, because Starlark looks so much like Python, that carrying over idiomatic coding styles is more likely to be a win than matching another build tool style. Thus my vote is to unify around {var}.

aiuto commented 2 years ago

Resolved. We will use {var}