rules_license
rules_license copied to clipboard
Add tool to expand the JSON with the actual license text. This allows copying a self-containing JSON with all relevant information to some other machine or tool without access to...
This is in support of [Renaming applicable_licenses to packge_metadata](https://docs.google.com/document/d/1uyJjkKbE8kV8EinakaR9q-Un25zCukhoH_dRBkWHSKQ/edit#heading=h.e7g0nivgqwgh). Please read that plan first for context. Licenses are still special because they need to go down to the license_kind, but...
Some packages include an SBOM produced by publisher. We should be able to represent that in package_info
## Expected Behavior As the [design doc](https://docs.google.com/document/d/1uwBuhAoBNrw8tmFs-NxlssI6VRolidGYdYqagLqHWt8) says, > `additional_info`: a map of strings to strings. This is a catch-all bucket for users to add custom metadata about this license...
Currently, the `add_licenses.py` tool must be run with: ``` LC_ALL="en_US.UTF-8" admin/refresh_spdx/add_licenses.py ``` Instead, declare a `py_binary` target in `admin/refresh_spdx/BUILD` so the `add_licenses.py` tool can be run with: ``` bazel run...
Currently, running `add_licenses.py` requires an extra step to be run before it is executed: ``` wget https://github.com/spdx/license-list-data/raw/master/json/licenses.json ``` Also, `add_licenses.py` expects the `licenses.json` file to be in the correct place...
I'll send a follow-up PR to simply use 'git archive' to create it, along with GitHub Actions based release automation following Google security best-practice. Fixes #129
Today, developers must take care to include sources in the `filegroup(name = "standard_package")` targets which are sprinkled around the repository. In the best case, omitting one will be caught by...
When rules_jvm_external creates BUILD files, it should add `package_info()` targets.
Let's update this repo to match https://github.com/bazel-contrib/rules-template The release automation is completely performed in a standard, shared GitHub Actions reusable workflow. As rule maintainers, this reduces the possibility we can...