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

eth-json-rpc-provider migration - B4: Add exceptions in constraints.pro for ISC license. #1767

Merged
merged 9 commits into from
Oct 5, 2023

Conversation

MajorLift
Copy link
Contributor

@MajorLift MajorLift commented Oct 3, 2023

Explanation

This PR implements the following incremental step in the process for migrating eth-json-rpc-provider into the core monorepo:


Phase B: Staging in migrated-packages/

4. Add exception for non-MIT license.

  • If migration target uses a non-MIT license, add exception entries in the root constraints.pro file.
  • Make sure the new rule doesn't break any of the existing package.json files by running yarn constraints.

See #1551 (comment) for an outline of the entire process.

References

Changelog

N/A

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

…ion targets with non-MIT licenses.

- This commit adds `eth-json-rpc-provider` as an exception that uses the ISC license.
- Further exceptions that use the ISC license can be added by appending to both rules in the form of:
`,\n[CONDITION].\n`
- Adding exception clauses for a third non-MIT/ISC license is not recommended, as it will require complex changes.
@MajorLift MajorLift requested a review from a team as a code owner October 3, 2023 20:33
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Makes sense!

@MajorLift MajorLift merged commit 98e395a into main Oct 5, 2023
107 checks passed
@MajorLift MajorLift deleted the 231003-migrate-eth-json-rpc-provider-b4 branch October 5, 2023 20:40
MajorLift added a commit that referenced this pull request Oct 12, 2023
…s.pro` for ISC license. (#1767)

## Explanation

This PR implements the following incremental step in the process for
migrating `eth-json-rpc-provider` into the core monorepo:

***

### Phase B: Staging in `migrated-packages/`
#### 4. Add exception for non-MIT license.
- [x] If migration target uses a non-MIT license, add exception entries
in the root `constraints.pro` file.
- [x] Make sure the new rule doesn't break any of the existing
package.json files by running `yarn constraints`.

***

See #1551 (comment)
for an outline of the entire process.

## References

- Contributes to #1685
- Contributes to #1551

## Changelog

N/A

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
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.

2 participants