Skip to content

Use non-Markdown license file (LICENSE.txt) for Bazel toolchains #3949

@davido

Description

@davido

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions