Needs review
Project:
Drupal core
Version:
main
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2026 at 08:12 UTC
Updated:
9 Oct 2026 at 18:07 UTC
Jump to comment: Most recent
As discussed over in https://git.drupalcode.org/project/drupal_lwg/-/work_items/3578949, COPYRIGHT.txt must be manually kept up to date. This is time consuming and we often forget, so sometimes it is out of date anyway.
We have vendor-update.js which updates our JavaScript assets automatically. This script could be extended to copy the license of each package into the asset directory.
Add license management to vendor-update.js
Minimise or delete COPYRIGHT.txt
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
longwaveHad a go at this.
vendor-update.jsnow copies the license to the JS asset directory.COPYRIGHT.txt has been reduced to only mentioning jQuery Form and jQuery UI Position which we have copied into
core/misc.