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

chore: update for compliance with current Outbound Licensing Policy #1382

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Feb 24, 2020

This change is analogous to the one I made in:

It updates the license header format to match the latest policy:

https://grow.liferay.com/excellence/Liferay+Outbound+Licensing+Policy

Did this by updating copyright.js and running yarn lint:fix. I used a Vim macro to strip out the original headers. I then edited the template to use a dynamic <%= YEAR %> instead of hard-coded 2014, so that any subsequently created files will use the year of creation.

Adds a copy of the license to LICENSES/LGPL-3.0-or-later.txt as required by the policy too.

This change is analogous to the one I made in:

- liferay/eslint-config-liferay#151
- liferay/liferay-npm-tools#394
- liferay/liferay-js-themes-toolkit#441
- liferay/clay#2947

It updates the license header format to match the latest policy:

https://grow.liferay.com/excellence/Liferay+Outbound+Licensing+Policy

Did this by updating `copyright.js` and running `yarn lint:fix`. I used
a Vim macro to strip out the original headers. I then edited the
template to use a dynamic `<%= YEAR %>` instead of hard-coded 2014, so
that any subsequently created files will use the year of creation.

Adds a copy of the license to `LICENSES/LGPL-3.0-or-later.txt` as
required by the policy too.
@wincent wincent added the chore label Feb 24, 2020
@@ -1 +1,2 @@
/copyright.js
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need to ignore the template itself so that it doesn't complain about finding YEAR when it is looking for a number like 2020, 2021 etc.

@wincent
Copy link
Contributor Author

wincent commented Feb 24, 2020

Just comment changes, so merging.

@wincent wincent merged commit 12a8ff1 into master Feb 24, 2020
@wincent wincent deleted the wincent/licensing branch February 24, 2020 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant