-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Normalize copyright headers to BSD + patents grant and drop the year #1964
Normalize copyright headers to BSD + patents grant and drop the year #1964
Conversation
niveditc
left a comment
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.
Looks good! Thanks for taking a stab at this again 👍
The issue last time was with out internal linter not recognizing copyright headers without year (see D9754843) - not sure if that got fixed, let's check it out on import :)
06380f4 to
48f2457
Compare
|
Sounds good, thanks @niveditc ! 😄 |
facebook-github-bot
left a comment
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.
@claudiopro has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
facebook-github-bot
left a comment
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.
@claudiopro has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
facebook-github-bot
left a comment
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.
@claudiopro has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
facebook-github-bot
left a comment
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.
@claudiopro has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
…acebookarchive#1964) Summary: **Summary** This PR follows up work started by niveditc on facebookarchive#1860 and suspended because of limitations with tooling. Let's give it another try. - Remove all copyright years - Correct copyright headers under `website/` referencing the MIT license - Inline `All rights reserved.` on the same line of the copyright - Fixes copyright headers of examples incorrectly using headers for source files The PR also normalizes copyright headers to BSD with patents grant, as some files were later added with the newest MIT license applied to React and other OSS projects. We should discuss the switch to MIT for Draft.js as well. **Test Plan** Manual inspection of files + `yarn lint` Pull Request resolved: facebookarchive#1964 Differential Revision: D13562427 fbshipit-source-id: 6a15d29ff56a6340ee2a0f13f278b207f1761d28
…(#1964) Summary: **Summary** This PR follows up work started by niveditc on #1860 and suspended because of limitations with tooling. Let's give it another try. - Remove all copyright years - Correct copyright headers under `website/` referencing the MIT license - Inline `All rights reserved.` on the same line of the copyright - Fixes copyright headers of examples incorrectly using headers for source files The PR also normalizes copyright headers to BSD with patents grant, as some files were later added with the newest MIT license applied to React and other OSS projects. We should discuss the switch to MIT for Draft.js as well. **Test Plan** Manual inspection of files + `yarn lint` Pull Request resolved: facebookarchive/draft-js#1964 Differential Revision: D13562427 fbshipit-source-id: 6a15d29ff56a6340ee2a0f13f278b207f1761d28
…(#1964) Summary: **Summary** This PR follows up work started by niveditc on #1860 and suspended because of limitations with tooling. Let's give it another try. - Remove all copyright years - Correct copyright headers under `website/` referencing the MIT license - Inline `All rights reserved.` on the same line of the copyright - Fixes copyright headers of examples incorrectly using headers for source files The PR also normalizes copyright headers to BSD with patents grant, as some files were later added with the newest MIT license applied to React and other OSS projects. We should discuss the switch to MIT for Draft.js as well. **Test Plan** Manual inspection of files + `yarn lint` Pull Request resolved: facebookarchive/draft-js#1964 Differential Revision: D13562427 fbshipit-source-id: 6a15d29ff56a6340ee2a0f13f278b207f1761d28
Summary
This PR follows up work started by @niveditc on #1860 and suspended because of limitations with tooling. Let's give it another try.
website/referencing the MIT licenseAll rights reserved.on the same line of the copyrightThe PR also normalizes copyright headers to BSD with patents grant, as some files were later added with the newest MIT license applied to React and other OSS projects. We should discuss the switch to MIT for Draft.js as well.
Test Plan
Manual inspection of files +
yarn lint