-
Notifications
You must be signed in to change notification settings - Fork 113
Load local html content about third-party software licenses #221
Load local html content about third-party software licenses #221
Conversation
@@ -0,0 +1,1413 @@ | |||
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><style>body { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
COPYRIGHT_THIRD_PARTY_SOFTWARE_NOTICES.md
を元に生成しているため、現在のCOCOAが表示しているウェブ版の内容と異なる。
マージ前に差し替えが必要。
3c9928a
to
7abea54
Compare
rebased |
7abea54
to
7d5601f
Compare
3c7d29a
to
293d11c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ライセンス関係のファイル名が
LicenseAgreement*
になっているが、この画面に同意の意味合いはないのでこれはLicense*
にした方が良いのではないか(リファクタリングとして別途対応するか検討)。
私も同意です。
ただ今回の修正とは関係ないので、別 Issue & PR にしていただけると嬉しいです!
Covid19Radar/Covid19Radar.Android/Assets/COPYRIGHT_THIRD_PARTY_SOFTWARE_NOTICES.html
Outdated
Show resolved
Hide resolved
Covid19Radar/Covid19Radar.Android/Assets/COPYRIGHT_THIRD_PARTY_SOFTWARE_NOTICES.html
Outdated
Show resolved
Hide resolved
Covid19Radar/Covid19Radar.Android/Assets/COPYRIGHT_THIRD_PARTY_SOFTWARE_NOTICES.html
Outdated
Show resolved
Hide resolved
[修正任意] |
Rename LocalContentPathService class to LocalContentService. The generated file name `COPYRIGHT_THIRD_PARTY_SOFTWARE_NOTICES.html` is now simplified `license.html`. Remove a key `licenseFilename` in settings.json.
Covid19Radar/Covid19Radar.Android/Services/LocalContentService.cs
Outdated
Show resolved
Hide resolved
Covid19Radar/Covid19Radar.Android/Assets/COPYRIGHT_THIRD_PARTY_SOFTWARE_NOTICES.html
Outdated
Show resolved
Hide resolved
Co-authored-by: cocoa-dev <69558847+cocoa-dev@users.noreply.github.com>
Co-authored-by: cocoa-dev <69558847+cocoa-dev@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
ライセンス情報を最新に更新したらマージしていいと思います!
今のライセンスファイルは、最新の お昼頃にマージします。 |
…se_from_local_resource
@@ -0,0 +1,15 @@ | |||
/* This Source Code Form is subject to the terms of the Mozilla Public | |||
* License, v. 2.0. If a copy of the MPL was not distributed with this | |||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ライセンス通知ヨシッ
@@ -0,0 +1,13 @@ | |||
/* This Source Code Form is subject to the terms of the Mozilla Public | |||
* License, v. 2.0. If a copy of the MPL was not distributed with this | |||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ライセンス通知ヨシッ
@@ -0,0 +1,16 @@ | |||
/* This Source Code Form is subject to the terms of the Mozilla Public | |||
* License, v. 2.0. If a copy of the MPL was not distributed with this | |||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ライセンス通知ヨシッ
Issue 番号 / Issue ID
目的 / Purpose
バージョンによって使用しているソフトウェアやフォントが変わってきている。「このバージョンからはこのライブラリ」や「このライブラリはこのバージョンまで」のような記述が重なると読みにくくなり、過去に廃止したライブラリを再度使うなどのケースで更新ミスが起こる可能性がある。
本Pull Requestは、ライセンス情報をアプリに同梱してバージョンに紐付けることで、今後のライセンス情報の更新を容易にする。
破壊的変更をもたらしますか / Does this introduce a breaking change?
Pull Request の種類 / Pull Request type
検証方法 / How to test
コードの入手 / Get the code
コードの検証 / Test the code
CIの実行結果 https://github.com/keiji/cocoa/actions/runs/926973006
確認事項 / What to check
コメントにて一定の方針が決まっているため解決とする。
COPYRIGHT_THIRD_PARTY_SOFTWARE_NOTICES.html
は動作イメージを見るためのダミー。ファイルの生成は、MarkdownファイルからGitHub Flavorで行っている。COPYRIGHT_THIRD_PARTY_SOFTWARE_NOTICES.html
は、元になったMarkdownファイルと同じにしている。assets
の直下においても良いか。iOSのようにContent
ディレクトリに配置するか。Resources/Content
の下に置くので問題ないか。ファイルが一つしかないのでContent
を作らないパターンの方がわかりやすい可能性がある。LicenseAgreement*
になっているが、この画面に同意の意味合いはないのでこれはLicense*
にした方が良いのではないか(リファクタリングとして別途対応するか検討)。その他 / Other information
ライセンス表記については別途Pull Request #184 がある。