Starting with aspect_rule_js 3.0.0, Markdown files are stripped by default in the Bazel toolchain.
Gerrit Code Review relies on this toolchain for collecting license files. As a result, packages that only ship a LICENSE.md file are missing from the aggregated license output.
In Gerrit’s dependency tree, this currently affects only this package. All other dependencies already provide license files in non-Markdown formats (e.g. LICENSE, LICENSE.txt), which are correctly picked up.
Would it be possible to also ship the license as LICENSE.txt (or a non-Markdown equivalent), so it is included in Bazel-based license collection?
For context:
- Bazel toolchain: aspect_rule_js 3.0.0 (Markdown stripping behavior)
- Related change
- Related issue
Starting with
aspect_rule_js3.0.0, Markdown files are stripped by default in the Bazel toolchain.Gerrit Code Review relies on this toolchain for collecting license files. As a result, packages that only ship a
LICENSE.mdfile are missing from the aggregated license output.In Gerrit’s dependency tree, this currently affects only this package. All other dependencies already provide license files in non-Markdown formats (e.g.
LICENSE,LICENSE.txt), which are correctly picked up.Would it be possible to also ship the license as
LICENSE.txt(or a non-Markdown equivalent), so it is included in Bazel-based license collection?For context: