Skip to content

Commit f58d958

Browse files
sirrealgzioloaaronjorbin
authored
Scripts: Add BlueOak-1.0.0 license to GPL2 compatible (#66139)
- Add BlueOak-1.0.0 to GPLv2 compatible licenses recognized by wp-scripts check-licenses. - Remove redundant ignores from Gutenberg's check-licenses script. This license appears on some npm packages. It's intended to be highly permissive. The website states that it should be GPLv2 compatible: > Is the model license compatible with GPL? > > The Council doesn’t see any reason why software licensed under the > Blue Oak Model License 1.0.0 can’t be used, combined, and distributed > with software under GPLv2, LGPLv2.1, GPLv3, LGPLv3, or AGPLv3. https://blueoakcouncil.org/license-faq --- Co-authored-by: sirreal <jonsurrell@git.wordpress.org> Co-authored-by: gziolo <gziolo@git.wordpress.org> Co-authored-by: aaronjorbin <jorbin@git.wordpress.org>
1 parent 0a6cbb6 commit f58d958

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
"lint:pkg-json": "wp-scripts lint-pkg-json . 'packages/*/package.json'",
309309
"native": "npm run --prefix packages/react-native-editor",
310310
"other:changelog": "node ./bin/plugin/cli.js changelog",
311-
"other:check-licenses": "concurrently \"wp-scripts check-licenses --prod --gpl2 --ignore=@react-native-community/cli,@react-native-community/cli-platform-ios,@ampproject/remapping,human-signals,fb-watchman,bser,walker,chrome-launcher,lighthouse-logger,chromium-edge-launcher\" \"wp-scripts check-licenses --dev --ignore=jackspeak,path-scurry,package-json-from-dist\"",
311+
"other:check-licenses": "concurrently \"wp-scripts check-licenses --prod --gpl2 --ignore=@react-native-community/cli,@react-native-community/cli-platform-ios,@ampproject/remapping,human-signals,fb-watchman,walker,chrome-launcher,lighthouse-logger,chromium-edge-launcher\" \"wp-scripts check-licenses --dev\"",
312312
"preother:check-local-changes": "npm run docs:build",
313313
"other:check-local-changes": "node ./bin/check-local-changes.js",
314314
"other:cherry-pick": "node ./bin/cherry-pick.mjs",

‎packages/scripts/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Enhancements
6+
7+
- Add BlueOak-1.0.0 the GPLv2-comatible licenses recognized by check-licenses ([#66139](https://github.com/WordPress/gutenberg/pull/66139)).
8+
59
### Internal
610

711
- Refactor to extract license related logic to a reusable module ([#66179](https://github.com/WordPress/gutenberg/pull/66179)).

‎packages/scripts/utils/license.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ const gpl2CompatibleLicenses = [
5858
'0BSD',
5959
'Apache-2.0 WITH LLVM-exception',
6060
'Artistic-2.0',
61+
'BlueOak-1.0.0',
6162
'BSD-2-Clause',
6263
'BSD-3-Clause-W3C',
6364
'BSD-3-Clause',

0 commit comments

Comments
 (0)