Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While testing some distros, I found that drush make --drupal-org
is needlessly preventing drupal-org.make files from defining a 'type' attribute on projects. For example, having this in drupal.org.make:
projects[omega][type] = "theme"
Results in this:
The project-level attribute 'type' on project 'omega' is not allowed. [error]
There's no reason to prevent this. Trivial fix. Stay tuned.
Comments
Comment #1
dwwBah, trivial fix but it's going to conflict with merging allow-dev-snapshots branch and #1371306: Add validation to ensure that if a .make file includes a git hash, it also defines a branch. I'll circle back around and clean this up once #1371298: Rewrite .info files inside drush make when checking out from git to include version and project info is done and allow-dev-snapshots is merged. Stay tuned.
Comment #2
dwwThe allow-dev-snapshots branch is now merged into master, so I just committed and pushed a trivial fix for this.