Skip to content

OSS: First checks via Eclipse Dash #126

Closed
3 of 3 issues completed
Closed

Description

@nradakovic

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

  1. Integrate the dash tool into the Bazel build system.
  2. Automate license compliance checks as part of the CI pipeline.
  3. Provide visibility into the licenses of all dependencies.
  4. 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

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.

Activity

  1. ltekieli commented on Dec 18, 2024

    @ltekieli
    Member

    Possible overlap #82

  2. nradakovic commented on Jan 14, 2025

    @nradakovic
    MemberAuthor

    To support other language (like Bazel/Starlark or Rust) we need to get access right to ClearlyDefinded service. ClearlyDefined and parent organization, the Open Source Initiative, are on a mission to help Open Source projects thrive by being, well, clearly defined. Lack of clarity around licenses and security vulnerabilities reduces engagement -- that means fewer users, fewer contributors and a smaller community.
    The ticket needs to be refined.

  3. self-assigned this
    on Jan 16, 2025
  4. moved this from Todo to In Progress in INF - Infrastructure Communityon Jan 21, 2025
  5. 12 remaining items

  6. added a commit that references this issue on Feb 18, 2025
  7. added this to the milestone on Jun 3, 2025
  8. added theissue type on Jun 5, 2025
  9. modified the milestones: , on Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions