I'm downloading the omega theme in my make file:
projects[omega][version] = 3.1

Drush Make is placing the theme in my modules folder:
sites/all/modules/omega

Debug output states that the release history is being downloaded from http://updates.drupal.org/release-history/omega/7.x

<term>
  <name>Projects</name>
  <value>Theme</value>
</term>

Possibly due to a recent change with the update XML source from d.o.? I vaguely remember something similar happening in the past. I just noticed this behavior today. The same make file and drush version were not behaving this way last Friday.

Possibly related tickets?
#1404424: Drush Make doesn't recognize theme engine projects
#951030: pm-download: Installation profiles and Theme engines are treated like modules

Comments

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

For starters, please try with a dev snapshot or 5.4

kotnik’s picture

Priority: Major » Critical
Status: Postponed (maintainer needs more info) » Active

Just tried with master branch and 5.4, it does download theme as a module:

 $ drush dl fusion
Project fusion (7.x-2.0-beta2) downloaded to /srv/http/XXX/sites/all/modules/fusion.
Project fusion contains 3 modules: fusion_core, fusion_starter_lite, fusion_starter.
moshe weitzman’s picture

Component: Make » PM (dl, en, up ...)
Assigned: Unassigned » jonhattan
kotnik’s picture

Issue is that the term name in update XML went from plural to singular:

http://updates.drupal.org/release-history/omega/7.x

And Drush expects plural in updatexml.inc line 545 (@master).

And this is not just Omega, it's the same for all the themes (I tried).

damien tournoud’s picture

Status: Active » Fixed

It was broken by an unfortunate change in #1408566: Add "SEO" category to "Modules categories" list for SEO-related modules, since then reverted. The update feed is rebuilding, and everything should be back to normal in a bit.

kotnik’s picture

StatusFileSize
new1.66 KB

Got it.

But if we want to avoid this in the future (plural vs. singular term names for projects), then please review patch attached.

jonhattan’s picture

Version: 7.x-5.2 »
Status: Fixed » Active

I'd like to see a better fix for this. See also #1595050: Installation profiles are not recognized and considered to be modules.

OTOH @dww states in #1571122: Release history feed no longer includes <variant> data for distributions that a better approach to generate the XML is #1003764: Add an alter hook invoked while generating release-history XML files. I figure out this means we will have fixed values in XML decoupled from d.o.

damien tournoud’s picture

Decoupling the XML feed from the human-readable names on drupal.org is very necessary, but I don't see that happening before we migrate to Drupal 7.

jonhattan’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

paullomax’s picture

Version: » 7.x-5.9
Issue summary: View changes
Status: Closed (fixed) » Active

This bug is back - likely to be due to the D7 upgrade of drupal.org?

dhayalan_ms’s picture

Yes the bug is back , all the themes are getting downloaded to module folder

helmo’s picture

Status: Active » Closed (won't fix)

This issue was marked closed (won't fix) because Drush has moved to Github.

If this feature is still desired, you may copy it to our Github project. For best results, create a Pull Request that has been updated for the master branch. Post a link here to the PR, and please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.