x/text/internal/testtext: contains creative commons excerpts and violates that license.
#53,534 opened on Jun 24, 2022
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
What version of Go are you using (go version)?
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
all
What did you do?
Inspected source code https://cs.opensource.google/go/x/text/+/master:internal/testtext/text.go
What did you expect to see?
Source code compatible with the golang license
What did you see instead?
Source code that contained snippets of the Creative Commons license text in multiple languages.
// Vietnamese is a snippet from http://creativecommons.org/licenses/by-sa/3.0/vn/ Vietnamese = `Với các điều kiện sau: Ghi nhận công của tác giả. Nếu bạn sử dụng, chuyển đổi, hoặc xây dựng dự án từ nội dung được chia sẻ này, bạn phải áp dụng giấy phép này hoặc
That license text itself is made available under Creative Commons CC-BY-4.0 ( https://creativecommons.org/licenses/by/4.0/ ) which among other things requires attribution.
Given that this attribution is not present, this is a violation of the license. There does not seem any immediate harm, however this results in license compliance monitors flagging that file. And its also a bad precedent, I therefore suggest to change this texts with text in the public domain. I am willing to prepare a PR for this, if this help.