exercism / problem-specifications

Shared metadata for exercism exercises.
MIT License
326 stars 541 forks source link

Copying external texts: Is it allowed, and under what circumstances? #1870

Closed petertseng closed 2 years ago

petertseng commented 2 years ago

I received a PR to update documentation of a track I maintain, and one proposal was to add a sentence that I see is straight from the Wikipedia page of the language in question, unedited. I am not sure if we are allowed to use that. I see that Wikipedia states:

Text is available under the Creative Commons Attribution-ShareAlike License

So, it's possible we'd be allowed (if we attribute it), but I just want to be sure. Who can speak authoritatively on this subject?

It may also be useful to get an answer for not just Wikipedia but instead general rules that can help us understand what kinds of external texts could be used (something like "if it's under X license, yes, if it's under Y license, no")

I am asking here rather than in, say, a team discussion in our GitHub organisation, because I think it may be useful to have the answer in a public place so I can link to it if necessary.

iHiD commented 2 years ago

Thanks for bringing this up.

For textual content, things are generally licenced under Creative Commons now-a-days. And we can use those at will (with attribution, etc).

For textual content under other licences, it's going to depend on the licence, but the general rule for other things is that we can take and reuse parts as long as we include the licence in the GH repo (e.g. MIT you can use the content as long as you include the MIT licence)

It's also worth noting that I am happy for us to use things with non-commercial licences, e.g. https://creativecommons.org/licenses/by-nc-sa/3.0/. There's some unresolved debate about whether a not-for-profit counts as commercial or not, but I don't think it does, so that's Exercism's policy on that.


It might be helpful for people to make a more exhaustive list of licences etc, but my general experience of this subject is that people tend to disagree on even the most seemingly simple things, and we all become armchair lawyers, so I may flee the discussion at this stage 🙂

SaschaMann commented 2 years ago

It's also worth noting that I am happy for us to use things with non-commercial licences, e.g. https://creativecommons.org/licenses/by-nc-sa/3.0/.

A CC Share-Alike license is NOT compatible with Exercism's current set of licenses (mainly MIT). I've pointed out before that a few of the Project Euler-based exercises in prob-specs violate this. See Compatible Licenses

iHiD commented 2 years ago

I was referencing the NC bit of it, not the rest. The SA bit is compatible with AGPL3 for example (so any of the tooling). As we've discussed elsewhere, we'll soon be allowing individual exercises to have their own their licences, and changing to sublicence the existing track repos to by under CC, so in general I'm thinking with that in mind.

petertseng commented 2 years ago

The question is answered. Thank you.

Making it easier for me is the fact that the contributor has not decided to go forward with the Wikipedia-sourced text contribution, but it will be good to have this to refer to later on if it comes up again.