Replies: 0 comments 21 replies
-
According to README, which points to LICENSE.md, it will remain CC0 (code) resp. CC BY-SA 2.5 (prose). |
Beta Was this translation helpful? Give feedback.
-
@Ryuno-Ki According to LICENSE.md, only code added after August 20, 2010 falls under CC0, otherwise it is licensed under MIT License. Because this repo doesn't contain history older than 15 Sep 2020, the old way of determining license of a code sample doesn't work anymore. The question is, after the transition to Yari, is there a way to figure out which license applies to a specific code sample, CC0 or MIT? |
Beta Was this translation helpful? Give feedback.
-
I think, this is related to mdn/yari#706. |
Beta Was this translation helpful? Give feedback.
-
/cc @escattone |
Beta Was this translation helpful? Give feedback.
-
@Ryuno-Ki Not quite related, we are talking about created date of code sample, not modified date. Furthermore, this repo only contains MDN history after 15 Sep 2020. Unless Mozilla import the whole history database to this repo, git log won't work. |
Beta Was this translation helpful? Give feedback.
-
I'm aware, that the created / modified date won't show up in git. They can't. Right now, MDN is stored in a MySQL database. (Ctrl-F „Changes in a nutshell”). My understanding was, that the meta information is dumped into a JSON file, which then gets evaluated next to git metadata for the display of created / modified date. |
Beta Was this translation helpful? Give feedback.
-
I read the guide to determine license of a code sample again and found that I was wrong. To find out if a code sample was added before August 20, 2010, it would require more than just the metadata/created date, but the whole history of the corresponding article (we need to use For example, an article may be created before August 20, 2010, but some code sample it contains might be added after that date. In that case, those code sample added after the date will be licensed under CC0. If the old history won't be imported or accessible by the public after the transition, could Mozilla review and mark license of every code sample for us? |
Beta Was this translation helpful? Give feedback.
-
given the lack of clear history tracking before Yari, I think it would probably simpler to assume any code sample pre-Yari is available under MIT license, and only bring the CC0 license for post-Yari submissions. In practice, availability under MIT license is already very permissive, so doing a lot of uncertain history tracking to "only" get the bonus of CC0 doesn't seem worth the time IMO. |
Beta Was this translation helpful? Give feedback.
-
Mozilla can just run an instance of old MDN so users could access history before 15 Sep 2020. @dontcallmedom it would be a pain in the ass if we were required to include the whole MIT license text in a JavaScript file, just because we copied a few lines of code. The license test may even be longer than the code snippet we copied. |
Beta Was this translation helpful? Give feedback.
-
As far as I understand, the only difference between my suggestion and doing the historical research (or allowing others to do that research) is that the code samples submitted between Aug and December might be upgraded from MIT to CC0. Unless there was a particular streak of code submissions in that period, it still feels unlikely to yield much benefit compared to the required effort. (wrt copying a few lines of code - IANAL, but code samples just a few lines long are likely not copyrightable in the first place - copyright only applies to original work after all) |
Beta Was this translation helpful? Give feedback.
-
Sorry for the confusion here. Thank you for bringing this up @danny-laa and to everyone else for their comments/thoughts. It's something that @chrisdavidmills, myself, and others (most likely Mozilla legal) are discussing how to resolve, and we'll report back as soon as we can. |
Beta Was this translation helpful? Give feedback.
-
@escattone Any news? |
Beta Was this translation helpful? Give feedback.
-
@danny-laa Sorry for the delayed response! Thanks for the reminder. We had started this discssion, but in the rush of everything else going on, never finished it. We'll get it rolling again. |
Beta Was this translation helpful? Give feedback.
-
@escattone Is there any estimated date when will this issue be resolved? |
Beta Was this translation helpful? Give feedback.
-
@sideshowbarker I don't think this issue should be moved to the discussion section. This is an issue that can only be resolved by Mozilla, including legal staffs and other staffs who have access to the original MDN database. A random GitHub user can do nothing on it. |
Beta Was this translation helpful? Give feedback.
-
Ping @escattone @Ryuno-Ki |
Beta Was this translation helpful? Give feedback.
-
Bumping the topic. |
Beta Was this translation helpful? Give feedback.
-
According to MDN,
Is it possible to know the license of code, after MDN's transition to Yari?
This repo doesn't seem to contain history older than 15 Sep 2020
Beta Was this translation helpful? Give feedback.
All reactions