Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/text/internal/testtext: contains creative commons excerpts and violates that license. #53534

Open
kgbvax opened this issue Jun 24, 2022 · 1 comment
Labels
help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@kgbvax
Copy link

kgbvax commented Jun 24, 2022

What version of Go are you using (go version)?

go1.18.3

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.

@cagedmantis cagedmantis changed the title golang.org/x/text/internal/testtext contains creative commons excerpts and violates that license. x/text/internal/testtext: contains creative commons excerpts and violates that license. Jun 24, 2022
@gopherbot gopherbot added this to the Unreleased milestone Jun 24, 2022
@cagedmantis cagedmantis added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jun 24, 2022
@cagedmantis
Copy link
Contributor

/cc @mpvl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants