-
Notifications
You must be signed in to change notification settings - Fork 74
Labels
community:infrastructureGeneral Score infrastructure topicsGeneral Score infrastructure topicsenhancementNew feature or requestNew feature or request
Description
Background
Ensuring compliance with licensing requirements for tools and binaries used in the repository is critical to maintaining legal and operational integrity. To address this, we propose introducing the Eclipse Dash License Tool, which will check the license types of tools and binaries. The tool will be integrated with Bazel for ease of use and added to our CI workflows for automated compliance checks.
Objectives
- Integrate the dash tool into the Bazel build system.
- Automate license compliance checks as part of the CI pipeline.
- Provide visibility into the licenses of all dependencies.
- Fail builds if non-compliant or unknown licenses are detected.
Acceptance Criteria
- The dash tool is successfully integrated into Bazel and can scan all dependencies pulled by the build system.
- Python;
- Rust;
- Go;
- Bazel;
- A GitHub Actions workflow is set up to run dash on every push and pull request.
- Non-compliant or unknown licenses cause the CI workflow to fail.
- Documentation is updated with instructions for running dash manually and interpreting its results.
Proposed Steps
- Add dash to the Bazel workspace:
- Include the dash tool as a dependency in the Bazel setup.
- Configure a Bazel rule to invoke dash and perform license checks.
- Set up CI workflow:
- Implement a GitHub Actions workflow that runs the dash tool during CI.
- Configure the workflow to fail for non-compliant licenses or errors.
- Update documentation:
- Provide instructions for running dash manually via Bazel.
- Add details on interpreting the results and resolving license issues.
Resources
- Eclipse Dash License Tool Documentation
- Bazel documentation on creating custom rules
- GitHub Actions Documentation
Impact
By integrating the dash tool into Bazel and the CI pipeline:
- We ensure automated and consistent license compliance checks across the project.
- Risks associated with introducing non-compliant licenses are minimized.
- Developers gain visibility into the licensing of dependencies, supporting informed decision-making.
- The overall quality, maintainability, and legal compliance of the repository are improved.
Sub-issues
Metadata
Metadata
Assignees
Labels
community:infrastructureGeneral Score infrastructure topicsGeneral Score infrastructure topicsenhancementNew feature or requestNew feature or request
Type
Projects
Status
Done
Status
No status
Status
Done