Skip to content
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

Add copyright headers to locally authored files #7116

Merged
merged 6 commits into from
Sep 14, 2018
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Sep 12, 2018

This change to generated by a script which takes the copyright year from the date of the original
git commit for each file.

I've tried to only apply this to source authored by emscripten authors and exclude any third party
files.

@sbc100 sbc100 requested a review from kripken September 12, 2018 16:26
if any(filename.startswith(ex) for ex in exclude_filenames):
return
ext = os.path.splitext(filename)[1]
if ext not in ['.py', '.c', '.cpp']:
Copy link
Member

Choose a reason for hiding this comment

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

.h files too maybe? (can leave to a later PR though)

@sbc100 sbc100 merged commit 5187ea2 into incoming Sep 14, 2018
@sbc100 sbc100 deleted the add_licence branch September 14, 2018 18:08
sbc100 added a commit that referenced this pull request Sep 14, 2018
This is a followup to #7116 which added copyright info to our
source files.
sbc100 added a commit that referenced this pull request Sep 14, 2018
This is a followup to #7116 which added copyright info to our
source files.
sbc100 added a commit that referenced this pull request Sep 15, 2018
This is a followup to #7116 which added copyright info to our
source files.
sbc100 added a commit that referenced this pull request Nov 5, 2020
Its seems we painted with too broad a brush in #7116.

This change was generated programmatically using this type of thing:

for f in `git grep --name-only "//.*The Emscripten Authors" tests/third_party`; do tail -n +6 $f > tmp && /bin/mv tmp $f; done

Fixes: #12711
sbc100 added a commit that referenced this pull request Nov 5, 2020
Its seems we painted with too broad a brush in #7116.

This change was generated programmatically using this type of thing:

for f in `git grep --name-only "//.*The Emscripten Authors" tests/third_party`; do tail -n +6 $f > tmp && /bin/mv tmp $f; done

Fixes: #12711
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