Skip to content

Conversation

@mamcx
Copy link
Contributor

@mamcx mamcx commented Feb 27, 2025

Description of Changes

Adding LICENSE files everywhere is missing. Closes the private ticket #1386

Expected complexity level and risk

0

Testing

Run

find . -type f -name "README.md" | while read -r cargo; do
  dir=$(dirname "$cargo")
  if [ -f "$dir/LICENSE" ] || [ -f "$dir/LICENSE.txt" ]; then
  else
    echo "$cargo is missing LICENSE"
  fi
done

find . -type f -name "README" | while read -r cargo; do
  dir=$(dirname "$cargo")
  if [ -f "$dir/LICENSE" ] || [ -f "$dir/LICENSE.txt" ]; then
  else
    echo "$cargo is missing LICENSE"
  fi
done

find . -type f -name "Cargo.toml" | while read -r cargo; do
  if grep -q "license-file" "$cargo"; then
    :
  else
    echo "$cargo is missing license-file"
  fi
done
``` to find them, plus manual inspection.

@mamcx mamcx added documentation Improvements or additions to documentation release-any To be landed in any release window labels Feb 27, 2025
@mamcx mamcx self-assigned this Feb 27, 2025
@mamcx mamcx requested a review from gefjon as a code owner February 27, 2025 15:44
Copy link
Contributor

@gefjon gefjon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as code owner, not as someone with any legal or procedural knowledge.

@mamcx mamcx added this pull request to the merge queue Feb 28, 2025
Merged via the queue into master with commit 04fd294 Feb 28, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants