-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 file license header script #2472
Add file license header script #2472
Conversation
Signed-off-by: Chris Gervang <[email protected]>
LICENSE-HEADER
Outdated
Copyright contributors to the kepler.gl project | ||
SPDX-License-Identifier: MIT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that order matters due to an assumption made in uber-licence. So #2472 will need to be updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest copying the license-fixer.js file into kepler.gl/scripts and modifying that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forked it over, removed the parts causing issues, and made other necessary changes to get it to work (like ES modules and deps)
Signed-off-by: Chris Gervang <[email protected]>
Signed-off-by: Chris Gervang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better copy the script so we can modify it.
LICENSE-HEADER
Outdated
Copyright contributors to the kepler.gl project | ||
SPDX-License-Identifier: MIT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest copying the license-fixer.js file into kepler.gl/scripts and modifying that.
Signed-off-by: Chris Gervang <[email protected]>
Signed-off-by: Chris Gervang <[email protected]>
Signed-off-by: Chris Gervang <[email protected]>
Signed-off-by: Chris Gervang <[email protected]>
Signed-off-by: Chris Gervang <[email protected]>
Signed-off-by: Chris Gervang <[email protected]>
This is good to go. Once merged I can run |
Signed-off-by: Chris Gervang <[email protected]>
@chrisgervang ready to merge? |
Yes, but I need to do it within a few minutes of the header change PR to avoid messing up someone working on other PRs (it'll autogenerate 900+ changes on them). I'll block off time today to land these. |
* Use new file license header Signed-off-by: Chris Gervang <[email protected]> * Use header file in modules Signed-off-by: Chris Gervang <[email protected]> * fix path Signed-off-by: Chris Gervang <[email protected]> * copy over the license script Signed-off-by: Chris Gervang <[email protected]> * remove copyright trim Signed-off-by: Chris Gervang <[email protected]> * remove uber-licence dep Signed-off-by: Chris Gervang <[email protected]> * Find ts, tsx files. Ignore dist folder Signed-off-by: Chris Gervang <[email protected]> * modules Signed-off-by: Chris Gervang <[email protected]> * fix ES modules Signed-off-by: Chris Gervang <[email protected]> * more discoverable file header Signed-off-by: Chris Gervang <[email protected]> --------- Signed-off-by: Chris Gervang <[email protected]>
For #2467. Alternatively to #2470 , we can keep the script that adds license headers