License is inconsistent with visibility, other properties. Needs simplification/better opensource support. #1440
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: feature request
Milestone
For consistency, package-level
license()
should be replaced withdefault_license
in thepackage()
declaration (to mimic thedefault_visibility
anddefault_testonly
declarations).On top of this, I think the value of
license
should be a target, not a simple string so that you can more properly specify the license (including the text). That is, it should be possible to define something like:And then elsewhere:
If that were done, it would also be ideal to provide a github repo with such license declarations already predefined, so that one can easily refer to licenses by their name (like "//licenses/opensource:gpl_v3"), without having to figure out if they are "unencumbered", "restricted", "reciprocal", etc.
The text was updated successfully, but these errors were encountered: