tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Clarify the reusability of the tutorial code

Open hyanwong opened this issue 1 year ago • 3 comments
trafficstars

I was copying and pasting some of the tutorial code into a new repo, and realised that we should say somewhere the licence that applies to any code examples? My suggestion is that code snippets in the tutorials should be licensed as liberally as possible, and not even require attribution.

hyanwong avatar Dec 18 '23 09:12 hyanwong

I think code snippets like this as implicitly assume to be "do whatever you want", we probably don't need to worry about assigning a formal license.

The overall repo license is CC-BY, so I think it's fine.

jeromekelleher avatar Dec 18 '23 10:12 jeromekelleher

Yeah, I agree about not having a formal licence. We could say in the index page that code snippets in this repo are "do whatever you want"? I just need a phrasing

hyanwong avatar Jan 13 '24 18:01 hyanwong

I think we can just sentence saying "All code in these tutorials is free to use for whatever purpose (CC-BY)" or something.

I think that's the de-facto anyway, I doubt anyone is not using the code because they are worried about copyright infringement.

jeromekelleher avatar Jan 15 '24 09:01 jeromekelleher

Given that there is a LICENCE file in the repo and a code of conduct, I think this issue can be closed.

gregorgorjanc avatar Sep 20 '24 06:09 gregorgorjanc