Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Conversation

@claudiopro
Copy link
Contributor

@claudiopro claudiopro commented Dec 29, 2018

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

Copy link
Contributor

@niveditc niveditc left a 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 :)

@claudiopro claudiopro force-pushed the fix-copyright-headers branch from 06380f4 to 48f2457 Compare December 30, 2018 17:14
@claudiopro
Copy link
Contributor Author

Sounds good, thanks @niveditc ! 😄

Copy link

@facebook-github-bot facebook-github-bot left a 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.

Copy link

@facebook-github-bot facebook-github-bot left a 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.

Copy link

@facebook-github-bot facebook-github-bot left a 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.

Copy link

@facebook-github-bot facebook-github-bot left a 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.

@claudiopro claudiopro deleted the fix-copyright-headers branch January 3, 2019 11:37
@claudiopro claudiopro mentioned this pull request Jan 3, 2019
jdecked pushed a commit to twitter-forks/draft-js that referenced this pull request Oct 9, 2019
…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
alicayan008 pushed a commit to alicayan008/draft-js that referenced this pull request Jul 4, 2023
…(#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
aforismesen added a commit to aforismesen/draft-js that referenced this pull request Jul 12, 2024
…(#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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants