Problem/Motivation
COPYRIGHT.txt is out of date: "All Drupal code is Copyright 2001 - 2020 by the original authors."
It also references a number of JavaScript libraries that have been removed from core.
Steps to reproduce
Proposed resolution
Update the copyright date.
Remove the JavaScript libraries that are no longer shipped with core.
Check to see if we need to include any other copyright notices.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | interdiff.9.5.19-21.txt | 283 bytes | spokje |
| #21 | 3266006-9.5-21.patch | 2.37 KB | spokje |
| #18 | 3266006-d10-18.patch | 2.12 KB | spokje |
| #18 | interdiff.10.x.14-18.txt | 344 bytes | spokje |
Comments
Comment #2
longwaveComment #3
victoria-marina commentedI'll work on this.
Comment #4
victoria-marina commentedHere is a patch. Kindly review it.
Comment #5
longwaveThank you, this looks good to me. The JS packages you removed are no longer shipped with core, although we do ship a number of other JS packages including CKEditor. Perhaps we should just drop the individual JS copyright notices, as we aren't keeping them up to date anyway?
RTBC because the patch is an improvement on what's there, let's see what core committers think.
Comment #7
xjmTest failure is a known random, so restoring status.
It might be a question for the Legal Working Group, but we might need to retain copyright info for JS assets where the copyright info is not included in the vendor build asset.
There are additional JS dependencies that will be removed from D10 core, so this issue should at least have a followup right before the 10.0.x beta deadline.
That said, I don't think the deps removed in the current patch exist in D9 either. Let's check the list against
core/assets/vendorin D9, and either provide a 9.3.x version of the patch or confirm that the current patch is the 9.3.x patch? Docs fixes are backportable.Comment #8
longwaveThis is also gone from Drupal 9, replaced by js-cookie, so this can be removed.
We also have the following in core/assets/vendor that are not in the list:
Everything seems to be MIT licensed or MIT/GPL dual licensed, but I am not sure what the requirements are for attributing copyright. Most files have a comment at the top noting the authors and license, but there is no LICENSE.txt or similar shipped in most of the vendor directories.
Comment #9
sourabhjainWorked on the 1st suggestion which is provide by longwave.
Comment #10
xjmJoyride will be removed in Drupal 10, so seems unnecessary to add that one at least. :)
I am on board with committing a patch to remove everything that's already missing in both D9 and D10, and then filing a follow up to discuss what to do with the references generally.
I'm sure we had an issue something like this around Drupal 9's release as well, so we could go look for that. We should also look for any information that has already been given by the legal working group about copyrights for these, and see if this information is needed at all.
Comment #12
spokjeLet's get this started (again) with all the libraries that are currently in
core/assets/vendor.Added copyright info where I could find it.
Comment #13
spokjeComment #14
quietone commentedI tried to fill in the gaps on this. Thanks to @Spokje for the support.
Comment #15
quietone commentedAdding tag because the copyright information should be up to date.
Comment #16
spokjeNice sleuthing there @quietone.
2 remarks, but do with them what you want, since I'm certainly not a copyright lawyer.
(Remarks are for both the 9.5 and 10.x version BTW)
+ Underscore = Copyright (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & EditorsUnsure if we want to add an end year, even if it's in the original copyright notice of the source itself.
There are other libraries in COPYRIGHT.txt that have an end year in their source, but these were never added to this file.
+ Once - Copyright (c) 2012-2022 Isaac Z. Schlueter and ContributorsI think we're not using that once, but rather a Drupal maintained one?
Maybe ask the front-end experts?
Comment #17
longwaveAgree with @Spokje: let's be consistent on the end years, and Once is a Drupal-owned library (therefore not sure if we need to explicitly include it here, given the copyright message at the very top?)
Comment #18
spokjeSo the above will land us here, which is in the attached patches.
The only (c) MIA is for jQuery joyride in 9.5.x
Comment #19
spokjeComment #20
longwaveLooks like jQuery Joyride should be:
https://github.com/zurb/joyride/blob/v2.1/jquery.joyride-2.1.js#L4
Comment #21
spokjeComment #22
longwaveThis all looks correct to me now.
For committers: #21 is for 9.5.x and #18 is for 10.x.
Comment #23
catchFeels like we might be able to drop some of this due to #2258313: Add license information to aggregated assets but for now let's update it. Committed/pushed the respective patches to 10.1/10.0/9.5, thanks!