Skip to content

Commit

Permalink
3rdパーティーライセンスをリポジトリに含める (#1752)
Browse files Browse the repository at this point in the history
* ライセンス文を追加

* cspell および markdownlint 対応

* cspellの配置を修正

* textlintとyamllintの除外設定

* markdownlintとcspellの除外設定修正

* yamllintの除外設定を修正

* yamllint の除外設定を修正

* ワークフローのpathsにyamlの除外設定ファイルを追加
  • Loading branch information
rnakagawa16 authored Dec 25, 2024
1 parent aea8265 commit 478469a
Show file tree
Hide file tree
Showing 10 changed files with 459 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-documents-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# cspell:ignore endgroup fjogeleit markdownlint softprops textlintignore textlintrc webapps
# cspell:ignore endgroup fjogeleit markdownlint softprops textlintignore textlintrc webapps yamlignore
name: ドキュメントのビルド (CI用)

on:
Expand All @@ -20,6 +20,7 @@ on:
- ".textlintignore"
- ".textlintrc"
- ".yaml-lint.yml"
- ".yamlignore"
- "package-lock.json"
- "package.json"
- "requirements.txt"
Expand Down
6 changes: 6 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ globs:
- "**/*.md"
- "!**/.github/ISSUE_TEMPLATE/**/*.md"
- "!**/.github/pull_request_template.md"

# md ファイル以外の markdownlint の除外対象を以下に記載する
ignores:
- "third-party-licenses/**"
- "LICENSE"
- "LICENSE-CODE"
4 changes: 3 additions & 1 deletion .textlintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
samples/**/spotbugs*.txt

# Github の Issues や Pull requests のテンプレートファイルをテスト対象から除外

.github/pull_request_template.md
.github/ISSUE_TEMPLATE/*.md

# third-party-licenses フォルダーはコピーしたファイルを配置するため、テスト対象から除外
third-party-licenses/**
2 changes: 1 addition & 1 deletion .yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ yaml-files:
- '*.yml'
- '.yamllint'

ignore-from-file: .gitignore
ignore-from-file: [.gitignore, .yamlignore]

rules:
braces: enable
Expand Down
1 change: 1 addition & 0 deletions .yamlignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/third-party-licenses/
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ BIPROGY 株式会社およびすべてのコントリビューターは、本リ
また本リポジトリのソースコードに、 [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) のライセンスを付与します。
詳細は [LICENSE-CODE.md](/LICENSE-CODE) を参照してください。

このプロジェクトでは、様々なオープンソースライセンスの下でライセンスされている 3rd パーティーのライブラリを使用しています。
詳細は [third-party-licenses](/third-party-licenses/) ディレクトリを参照してください。

このプロジェクトのライセンスは、 BIPROGY 株式会社の商標を使用する権利を付与するものではありません。
詳細は [AlesInfiny Maia OSS Edition | 商標](https://maia.alesinfiny.org/about-maia/trademarks/) を参照してください。

Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"package-lock.json",
"package.json",
"requirements.txt",
"third-party-licenses",
"**/.eslintrc.cjs",
"**/.prettierrc.json",
"**/build-artifacts/**",
Expand Down
3 changes: 0 additions & 3 deletions maia.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
],
"settings": {
"tableformatter.common.centerAlignedHeader": false,
"markdownlint.ignore": [
"LICENSE"
],
"markdownlint.customRules": [
"./custom-lint-rules/requires-title-and-description.js"
]
Expand Down
421 changes: 421 additions & 0 deletions third-party-licenses/gradle/LICENSE

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions third-party-licenses/msw/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018–present Artem Zakharchenko

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.

0 comments on commit 478469a

Please sign in to comment.