Skip to content

Fix MPL version in RabbitMQ Java client license rule - #5387

Open
riturajarvind149 wants to merge 1 commit into
aboutcode-org:developfrom
riturajarvind149:fix-rabbitmq-mpl-version-5229
Open

riturajarvind149 wants to merge 1 commit into
aboutcode-org:developfrom
riturajarvind149:fix-rabbitmq-mpl-version-5229

Conversation

@riturajarvind149

Copy link
Copy Markdown

Summary

  • Correct the triple-license rule to identify Mozilla Public License 2.0 instead of 1.1, while preserving the GPL-2.0 and Apache-2.0 alternatives.
  • Add regression test data for the RabbitMQ Java Client license detection.
  • Update CHANGELOG.rst and AUTHORS.rst.

Tests

  • License rule validation tests passed (2 tests).
  • RabbitMQ Java Client regression test passed (1 test).
  • git diff --check passed.

Checklist

  • Reviewed the contribution guidelines.
  • PR title clearly describes the change.
  • Targeted regression tests pass.
  • Changes are on a dedicated feature branch with no merge conflicts.
  • Updated CHANGELOG.rst.

Fixes #5229.

Correct the triple-license rule to declare MPL-2.0, matching the RabbitMQ Java Client LICENSE notice. Add regression coverage for the detected expression. Fixes aboutcode-org#5229

Signed-off-by: Ritu Raj Arvind <ritu.p25@medhaviskillsuniversity.edu.in>
@knowprasad

Copy link
Copy Markdown

Pulled this down and checked the rule indexing locally with \pytest tests/licensedcode/test_models.py. The rule rename to \mpl-2.0_or_gpl-2.0_or_apache-2.0_1.RULE\ matches the RabbitMQ 5.x+ licensing cleanly, and the datadriven YAML test passes on my end.

@riturajarvind149

riturajarvind149 commented Oct 25, 2026 •

Copy link
Copy Markdown
Author

Thanks for checking this, I compared the CI logs with the earlier builds and found the same validation failure around the existing FSL rule there too. Since those files are not part of this PR, I have kept the changes focused on the RabbitMQ license fix

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MPL-2.0 detected as MPL-1.1 (when in combination with GPL-2.0-only and Apache-2.0)

2 participants