From 0be736bf8f271554a8cd5b445be7eab1b96b6f4a Mon Sep 17 00:00:00 2001 From: kteraguchi Date: Fri, 26 Jan 2018 22:09:32 +0900 Subject: [PATCH] Change license value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Packagistで以下エラーが発生したため Importing branch master (dev-master) Skipped branch master, Invalid package information: License "NetCommons License" is not a valid SPDX license identifier, see https://spdx.org/licenses/ if you use an open license. If the software is closed-source, you may use "proprietary" as license. --- composer.json | 51 ++++++++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/composer.json b/composer.json index e371ebf..af5b976 100644 --- a/composer.json +++ b/composer.json @@ -4,41 +4,46 @@ "homepage": "http://www.netcommons.org/", "extra": { "installer-paths": { - "app/Plugin/{$name}": ["type:cakephp-plugin"] + "app/Plugin/{$name}": [ + "type:cakephp-plugin" + ] } }, "require": { - "cakedc/migrations": "~2.2", - "netcommons/blocks": "@dev", - "netcommons/categories": "@dev", - "netcommons/calendars": "@dev", - "netcommons/content-comments": "@dev", - "netcommons/groups": "@dev", - "netcommons/mails": "@dev", - "netcommons/net-commons": "@dev", - "netcommons/plugin-manager": "@dev", - "netcommons/topics": "@dev", - "netcommons/users": "@dev", - "netcommons/workflow": "@dev", - "netcommons/wysiwyg": "@dev" + "cakedc/migrations": "~2.2", + "netcommons/blocks": "@dev", + "netcommons/categories": "@dev", + "netcommons/calendars": "@dev", + "netcommons/content-comments": "@dev", + "netcommons/groups": "@dev", + "netcommons/mails": "@dev", + "netcommons/net-commons": "@dev", + "netcommons/plugin-manager": "@dev", + "netcommons/topics": "@dev", + "netcommons/users": "@dev", + "netcommons/workflow": "@dev", + "netcommons/wysiwyg": "@dev" }, - "license": "NetCommons License", + "license": "LicenseRef-NetCommons", + "license-ref-net-commons": "https://raw.githubusercontent.com/NetCommons3/NetCommons3/master/license.txt", "authors": [ { - "name": "Yuto Kitatsuji(WithOne)", - "email": "nc@withone.co.jp", - "homepage": "http://www.withone.co.jp", - "role": "Developer" + "name": "Yuto Kitatsuji(WithOne)", + "email": "nc@withone.co.jp", + "homepage": "http://www.withone.co.jp", + "role": "Developer" }, { "name": "NetCommons Community", "homepage": "http://www.netcommons.org" } ], - "type": "cakephp-plugin", - "keywords": ["cakephp", "tasks"], + "type": "cakephp-plugin", + "keywords": [ + "cakephp", + "tasks" + ], "config": { "vendor-dir": "vendors" } -} - +} \ No newline at end of file