yearn / yearn-protocol

Yearn smart contracts
https://yearn.finance
GNU Affero General Public License v3.0
441 stars 212 forks source link

fix: SPDX license identifier and missing peer dependencies #61

Open sambacha opened 3 years ago

sambacha commented 3 years ago

SPDX

this pull request changes // SPDX-License-Identifier: MIT to reflect the newer license of /// SPDX-License-Identifier: SSPL-1.0

note - /// usage for solc warnings even tho

AGPL vs SSPL

See a diff here: AGPL_vs_SSPL

tl;dr SSPL addresses issues of SaaS usage, mainly distributing the software over a network and not disclosing interfaces, etc

Previous PR

47 and #60

closed previous PR, #47 to address styling changes

Notes

in the future, there should be a 'dummy' git account in which automated processes (such as CI/CD/etc) can be assigned to, e.g. git config user.email git@iearn.finance in order to assist in the review process / diff'ing / etc, esp. considering increasing amounts of outside contributors, and other automated services (ci pipelines, etc)

yEarn Bot

see https://github.com/yearnbot

example for usage in prettier: https://github.com/yearnBot/vcs/tree/main/bin

I did not use this in this PR as there is no point

Optional Header

Copyright 2020 - yearn protocol contributors  

This program is free software: you can redistribute it
and/or modify it under the terms of the Server Side Public
License, version 1, as published by MongoDB, Inc.
See the Server Side Public License for more details. You should
have received a copy of the Server Side Public License
along with this program.

<http://www.mongodb.com/licensing/server-side-public-license>.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
saltyfacu commented 3 years ago

Is this still relevant?