Skip to content

chore: Use rust-license-tool for license file #741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 14, 2025
Merged

Conversation

lym953
Copy link
Contributor

@lym953 lym953 commented Jul 14, 2025

Motivation

The license check often fails, which requires extra engineering time to fix.

This PR

Switch to using Datadog's rust-license-tool to manage the license file. https://github.com/DataDog/rust-license-tool
This replaces bottlecap/LICENSE-3rdparty.yml with bottlecap/LICENSE-3rdparty.csv.

Testing

Success case

Run this workflow on yiming.luo/csv-license branch, which was successful
https://github.com/DataDog/datadog-lambda-extension/actions/runs/16274305134

Failure case

Delete a line in the license file then run the workflow, which failed as expected
https://github.com/DataDog/datadog-lambda-extension/actions/runs/16274444263

lym953 added a commit that referenced this pull request Jul 14, 2025
# This PR
Allows the workflow `rs_ci.yml` to be triggered manually.

# Motivation
Right now `rs_ci.yml` can only use the workflow from the main branch,
making it hard to test
#741.
@lym953 lym953 force-pushed the yiming.luo/csv-license branch from 0f9f00e to c23b651 Compare July 14, 2025 17:58
@lym953 lym953 marked this pull request as ready for review July 14, 2025 18:12
@lym953 lym953 requested a review from a team as a code owner July 14, 2025 18:12
@lym953 lym953 merged commit 7b619d4 into main Jul 14, 2025
54 checks passed
@lym953 lym953 deleted the yiming.luo/csv-license branch July 14, 2025 18:23
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.

2 participants