Skip to content

Commit

Permalink
Merge branch 'main' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Jul 15, 2022
2 parents 3a81d2e + e57455d commit da1e6fb
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 26 deletions.
9 changes: 0 additions & 9 deletions .circleci/config.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/tidy.yml
@@ -0,0 +1,27 @@
name: lint

on:
pull_request:
push:
branches: [main]
workflow_dispatch:

jobs:
tidy:
runs-on: ubuntu-latest

steps:

- name: Install system dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get install -y tidy
# https://github.com/actions/checkout
- uses: actions/checkout@v2

- name: Tidy Legal Code
run: |
./tools/tidy_legalcode.sh
6 changes: 3 additions & 3 deletions CODE_OF_CONDUCT.md
Expand Up @@ -8,6 +8,6 @@ project and all other Creative Commons open source projects are governed by our

For a history of updates, see the [page history here][updates].

[code_of_conduct]:https://opensource.creativecommons.org/community/code-of-conduct/
[reporting_guide]:https://opensource.creativecommons.org/community/code-of-conduct/enforcement/
[updates]:https://github.com/creativecommons/creativecommons.github.io-source/commits/master/content/community/code-of-conduct/contents.lr
[code_of_conduct]: https://opensource.creativecommons.org/community/code-of-conduct/
[reporting_guide]: https://opensource.creativecommons.org/community/code-of-conduct/enforcement/
[updates]: https://github.com/creativecommons/creativecommons.github.io-source/commits/main/content/community/code-of-conduct/contents.lr
17 changes: 10 additions & 7 deletions CONTRIBUTING.md
Expand Up @@ -3,29 +3,32 @@
Thank you for your interest in contributing to CC Open Source! This document is
a set of guidelines to help you contribute to this project.


## Code of Conduct

By participating in this project, you are expected to uphold our [Code of
Conduct][code_of_conduct].

[code_of_conduct]:https://opensource.creativecommons.org/community/code-of-conduct/
[code_of_conduct]: https://opensource.creativecommons.org/community/code-of-conduct/


## Project Documentation

The `README` in the root of the repository should contain or link to
project documentation. If you cannot find the documentation you're
looking for, please file a GitHub issue with details of what
you'd like to see documented.
The `README` in the root of the repository should contain or link to project
documentation. If you cannot find the documentation you're looking for, please
file a GitHub issue with details of what you'd like to see documented.


## How to Contribute

Please follow the processes in our general [Contributing Code][contributing]
guidelines on the Creative Common Open Source website.

[contributing]:https://opensource.creativecommons.org/contributing-code/
[contributing]: https://opensource.creativecommons.org/contributing-code/


## Questions or Thoughts?

Talk to us on [one of our community forums][community].

[community]:https://opensource.creativecommons.org/community/
[community]: https://opensource.creativecommons.org/community/
2 changes: 1 addition & 1 deletion docroot/legalcode/by-nc-nd_4.0_ja.html
Expand Up @@ -186,7 +186,7 @@ <h3>クリエイティブ・コモンズ 表示-非営利-改変禁止 4.0 国
</ol>
</div>

<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条3(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
</ol>
<li id="s2b"><p><strong>その他の権利</strong></p>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion docroot/legalcode/by-nc-sa_4.0_ja.html
Expand Up @@ -193,7 +193,7 @@ <h3>クリエイティブ・コモンズ 表示 - 非営利 -継承 4.0 国際
</ol>
</div>

<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条3(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
</ol>
<li id="s2b"><p><strong>その他の権利</strong></p>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion docroot/legalcode/by-nc_4.0_ja.html
Expand Up @@ -189,7 +189,7 @@ <h3>クリエイティブ・コモンズ 表示-非営利 4.0 国際 パブリ
</ol>
</div>

<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条3(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
</ol>
<li id="s2b"><p><strong>その他の権利</strong></p>
<ol>
Expand Down
2 changes: 2 additions & 0 deletions docroot/legalcode/by-nd_4.0.txt
Expand Up @@ -265,10 +265,12 @@ apply to Your use of the Licensed Material:
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database, provided You do not Share
Adapted Material;

b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material; and

c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.

Expand Down
2 changes: 1 addition & 1 deletion docroot/legalcode/by-nd_4.0_ja.html
Expand Up @@ -185,7 +185,7 @@ <h3>クリエイティブ・コモンズ 表示-改変禁止 4.0 国際 パブ
</ol>
</div>

<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条3(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
</ol>
<li id="s2b"><p><strong>その他の権利</strong></p>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion docroot/legalcode/by-sa_4.0.txt
Expand Up @@ -303,8 +303,8 @@ apply to Your use of the Licensed Material:
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material,

including for purposes of Section 3(b); and

c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.

Expand Down
2 changes: 1 addition & 1 deletion docroot/legalcode/by-sa_4.0_ja.html
Expand Up @@ -192,7 +192,7 @@ <h3>クリエイティブ・コモンズ 表示-継承 4.0 国際 パブリッ
</ol>
</div>

<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条3(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
</ol>
<li id="s2b"><p><strong>その他の権利</strong></p>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion docroot/legalcode/by_4.0_ja.html
Expand Up @@ -187,7 +187,7 @@ <h3>クリエイティブ・コモンズ 表示 4.0 国際 パブリック・ラ
</ol>
</div>

<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条3(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
<li id="s2a6"><span style="text-decoration: underline;">支持表明がないこと</span> 許諾者または<a href="#s3a1Ai">第3条(a)(1)(A)(i)</a>に定められている許諾者以外のクレジット表示の対象として指定されている者が、あなたまたはライセンス対象物のあなたによる利用について、関連している、援助・支持している、あるいは正式な地位を付与している、と主張または示唆することを本パブリック・ライセンスは許諾しておらず、またはそのように解釈されてはなりません。</li>
</ol>
<li id="s2b"><p><strong>その他の権利</strong></p>
<ol>
Expand Down
12 changes: 12 additions & 0 deletions tools/tidy_legalcode.sh
@@ -0,0 +1,12 @@
#!/bin/bash
set -o nounset
set -o pipefail

tidy -errors -quiet -utf8 --show-filename yes --show-warnings no \
docroot/legalcode/*.html \
2>&1 | sed -e'/^Tidy: /d'
case ${?} in
2) exit 2;; # errors
1) exit 0;; # warning (ignored)
0) exit 0;; # success
esac

0 comments on commit da1e6fb

Please sign in to comment.