Skip to content

Commit

Permalink
Move from BSD to MIT license for consistency
Browse files Browse the repository at this point in the history
This moves the Expo client project as well as several of our other projects from the BSD license to the MIT license. The licenses are fairly comparable and are compatible. This (a) consistently licenses our latest code using the same license and (b) uses the same license as React and React Native. There should be no material impact to developers using Expo aside from one fewer license type they need to think about; generally standard BSD and MIT are well-accepted.

fbshipit-source-id: 020b49e
  • Loading branch information
ide authored and expbot committed Aug 28, 2018
1 parent ae126e6 commit 03408c7
Show file tree
Hide file tree
Showing 37 changed files with 60 additions and 83 deletions.
2 changes: 1 addition & 1 deletion ExpoKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Pod::Spec.new do |s|
s.summary = 'ExpoKit'
s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.'
s.homepage = 'http://docs.expo.io'
s.license = 'BSD'
s.license = 'MIT'
s.author = "650 Industries, Inc."
s.requires_arc = true
s.platform = :ios, "9.0"
Expand Down
43 changes: 17 additions & 26 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
BSD License
The MIT License (MIT)

For Exponent software
Copyright (c) 2015-present 650 Industries, Inc. (aka Expo)

Copyright (c) 2015-present, 650 Industries, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the names 650 Industries, Exponent, nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ For JS integration tests, test the `ExponentIntegrationTests` target (not includ
Please check with us before putting work into a Pull Request! It is often harder to maintain code than it is to write it. The best place to talk to us is on Slack at https://slack.expo.io.

## License
The Expo source code is made available under the [BSD 3-clause license](LICENSE). Some of the dependencies are licensed differently, with the MIT license, for example.
The Expo source code is made available under the [MIT license](LICENSE). Some of the dependencies are licensed differently, with the BSD license, for example.
2 changes: 1 addition & 1 deletion apps/test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "cd Runner && yarn && cd .. && node Runner/index.js ."
},
"author": "",
"license": "BSD-2-Clause",
"license": "MIT",
"powertools": {
"group": "client"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/test-suite/runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "BSD-2-Clause",
"license": "MIT",
"dependencies": {
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-register": "^6.24.1",
Expand Down
6 changes: 2 additions & 4 deletions modules/TestSuite/ios/TestSuite/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <UIKit/UIKit.h>
Expand Down
6 changes: 2 additions & 4 deletions modules/TestSuite/ios/TestSuite/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import "AppDelegate.h"
Expand Down
6 changes: 2 additions & 4 deletions modules/TestSuite/ios/TestSuite/main.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <UIKit/UIKit.h>
Expand Down
6 changes: 2 additions & 4 deletions modules/camersja/ios/Camersja/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <UIKit/UIKit.h>
Expand Down
6 changes: 2 additions & 4 deletions modules/camersja/ios/Camersja/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import "AppDelegate.h"
Expand Down
6 changes: 2 additions & 4 deletions modules/camersja/ios/Camersja/main.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <UIKit/UIKit.h>
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-analytics-segment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react-native": "^0.55.4"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-asset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"expo-file-system": "^1.0.1",
"react-native": "^0.55.4"
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-camera-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-camera/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react": "^16.4.0",
"react-native": "^0.55.4"
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-constants-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1",
"expo-constants-interface": "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-contacts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"keywords": ["react-native", "expo"],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react-native": "^0.54.0"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"expo-react-native-adapter": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-face-detector-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-face-detector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1",
"expo-face-detector-interface": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-file-system-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-file-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1",
"expo-file-system-interface": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-gl-cpp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-gl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"prop-types": "^15.6.1",
"react": "^16.4.0",
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-image-loader-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react-native": "^0.55.4"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-media-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react-native": "^0.55.4"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-module-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react-native": "^0.55.4"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-permissions-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-permissions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1",
"expo-permissions-interface": "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-print/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react-native": "^0.55.4"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-react-native-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react": "^16.3.1",
"react-native": "^0.55.4"
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-sensors-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-sensors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"dependencies": {
"expo-core": "^1.0.1",
"expo-sensors-interface": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion modules/expo-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"homepage": "https://docs.expo.io/",
"author": "650 Industries, Inc.",
"license": "BSD",
"license": "MIT",
"peerDependencies": {
"react-native": "^0.55.4"
},
Expand Down
6 changes: 2 additions & 4 deletions react-native-lab/transformer.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* Note: This is a fork of the fb-specific transform.js
*/
Expand Down
2 changes: 1 addition & 1 deletion template-files/ios/ExpoKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Pod::Spec.new do |s|
s.summary = 'ExpoKit'
s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.'
s.homepage = 'http://docs.expo.io'
s.license = 'BSD'
s.license = 'MIT'
s.author = "650 Industries, Inc."
s.requires_arc = true
s.platform = :ios, "9.0"
Expand Down

0 comments on commit 03408c7

Please sign in to comment.