Skip to content

Conversation

asw101
Copy link
Member

@asw101 asw101 commented Aug 5, 2025

This PR adds the standard copyright header to all source files per the script I've committed to scripts/copyright.sh:

# This script automates the process of adding a standard Microsoft copyright header
# to source files in the repository.
#
# It applies the correct comment style for different languages (.rs, .js, .go, .py),
# targets all Rust files (.rs) in the project, and targets JavaScript, Python,
# and Go files within the examples/ directory.
#
# The script is idempotent, meaning it won't add a header if one already exists,
# and it intelligently skips auto-generated Go files that contain a "DO NOT EDIT"
# notice from wit-bindgen-go.

Signed-off-by: Aaron Wislang <aaron.wislang@microsoft.com>
@asw101 asw101 force-pushed the copyright-1 branch 2 times, most recently from 38d3525 to 5f3fe3e Compare August 5, 2025 15:23
@asw101 asw101 changed the title chore: Add copyright headers chore: Add copyright headers and scripts/copyright.sh Aug 5, 2025
Signed-off-by: Aaron Wislang <aaron.wislang@microsoft.com>
@duffney duffney self-requested a review August 5, 2025 20:29
@Mossaka
Copy link
Collaborator

Mossaka commented Aug 5, 2025

Follow up this script should be running in the CI.

@Mossaka Mossaka merged commit 36f1382 into microsoft:main Aug 5, 2025
5 checks passed
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.

3 participants