Drupal.org

drupalorg_drush needs to allow 'type' project attributes

Project:Drupal.org drush
Component:Code
Category:bug report
Priority:normal
Assigned:dww
Status:closed (fixed)
Issue tags:drupal.org distribution blockers

Issue Summary

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

#1

Status:active» postponed

Bah, 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.

#2

Status:postponed» fixed

The allow-dev-snapshots branch is now merged into master, so I just committed and pushed a trivial fix for this.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here