Problem/Motivation

The dropzonejs module declares the DropzoneJS library license URL as
https://github.com/enyo/dropzone/blob/master/LICENSE in
dropzonejs.libraries.yml. The upstream DropzoneJS project has moved from
enyo/dropzone to dropzone/dropzone and renamed its default branch
from master to main. As a result, the old license URL now returns a
Redirect

Steps to reproduce

  1. Install the dropzonejs module.
  2. Open dropzonejs.libraries.yml (or view the library license link).
  3. Follow the license URL https://github.com/enyo/dropzone/blob/master/LICENSE.
  4. Observe that GitHub returns to the new URL, lets just alter it with the new url instead.

Proposed resolution

Update the license URL in dropzonejs.libraries.yml to the new upstream location:

license:
  name: MIT
-    url: https://github.com/enyo/dropzone/blob/master/LICENSE
+    url: https://github.com/dropzone/dropzone/blob/main/LICENSE
  gpl-compatible: true

Remaining tasks

  • Review and commit the patch.

User interface changes

None (the displayed license link now resolves correctly instead of 404).

API changes

None.

Data model changes

None.

Issue fork dropzonejs-3619000

Command icon Show commands

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

remco hoeneveld created an issue. See original summary.

remco hoeneveld’s picture

Issue summary: View changes
remco hoeneveld’s picture

Issue summary: View changes

damienmckenna’s picture

Status: Active » Needs review
damienmckenna’s picture

Title: Dropzone changed master branch and made it main » Update links to Dropzone library
Category: Bug report » Task
Status: Needs review » Reviewed & tested by the community

Thank you for opening the issue and creating a MR; for anyone else reviewing this, the patch didn't cover enough details, so shouldn't be reviewed.

This isn't really a bug as something changed elsewhere, it's more of a task.

Everything looks good, so I think this should be committed as-is.