Closed (fixed)
Project:
Sitewide Alerts
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2024 at 18:03 UTC
Updated:
15 Apr 2024 at 19:19 UTC
Jump to comment: Most recent
The link_attributes dependency is for an old version, and can't be installed when 2.0 is already installed.
I think it's unnecessary to put the module dependencies in composer.json. Packagist takes care of defining dependencies from the info file (I think that's how it works).
It should be safe to remove the dependencies from composer that are in the info file, unless there is a need to restrict the version for compatibility.
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
mortona2k commentedI left the dependencies in composer.json, and added || ^2.0 for link_attributes. If there are version dependencies, this won't mess them up unless changes are needed for 2.0.
drupal/admin_audit_trail is both required and suggested. Looks like it's optional, and required by the submodule. The submodule has the dependency in the info file, so I think we should just remove it from required.
Looking for comment on the pinned version compatibility.
Comment #4
mikeoharaWill have a look, thanks!
Comment #5
mikeoharaChange merged into 2.x branch.
Comment #6
mikeohara