Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bin/validate
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,7 @@ while IFS= read -r community_file; do
done < <(jq -r '.files[].source' "${community_health_config}")

profile_readme=${root}/community-health/profile/README.md
# shellcheck disable=SC2016 # Markdown code markers are intentionally literal.
for required_text in \
'# Atrinik' \
'Atrinik is an open-source cooperative fantasy role-playing world' \
Expand All @@ -970,6 +971,9 @@ for required_text in \
'They do not yet form a complete game release.' \
'Game content and' \
'media remain separately licensed' \
'[Tools](https://github.com/atrinik/tools)' \
'is MIT by default with a GPL-2.0-or-later `map-checker-qt/` exception; historical' \
'tools tags and releases remain under the terms that applied when published' \
'historical MIT provenance registry' \
'exact, independently separable' \
'copy it, migrate or port it, translate or adapt it, or' \
Expand Down
4 changes: 3 additions & 1 deletion community-health/profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ implementation is being developed with Go, Rust, and Protobuf foundations.
They do not yet form a complete game release. Game content and
media remain separately licensed under the terms in their source repositories.

Classic and [tools](https://github.com/atrinik/tools) remain GPL as distributed.
Classic remains GPL as distributed. [Tools](https://github.com/atrinik/tools)
is MIT by default with a GPL-2.0-or-later `map-checker-qt/` exception; historical
tools tags and releases remain under the terms that applied when published.
Under the
[historical MIT provenance registry](https://github.com/atrinik/atrinik/blob/main/docs/PROVENANCE.md),
an MIT destination may inspect exact, independently separable material as
Expand Down
12 changes: 12 additions & 0 deletions tests/validate-community-health.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ sed -i 's/GPL-licensed/GPL-compatible/' "${profile}"
assert_invalid 'an organization profile without the Classic license boundary'
reset_repository

sed -i 's/MIT by default/MIT-only/' "${profile}"
assert_invalid 'an organization profile without the tools mixed-license boundary'
reset_repository

# shellcheck disable=SC2016 # Markdown code markers are intentionally literal.
sed -i \
's/GPL-2.0-or-later `map-checker-qt\/` exception/GPL-2.0-or-later `wrong-checker\/` exception/' \
"${profile}"
printf '\nUnrelated replacement tracker: map-checker-qt/.\n' >>"${profile}"
assert_invalid 'an organization profile without the tools path-scoped exception'
reset_repository

jq 'del(.files[] | select(.target == "profile/README.md"))' \
"${temporary}/repository/config/community-health.json" \
>"${temporary}/community-health.json"
Expand Down