Using build files to create Drupal installations with some contrib projects added. For some reason, I can use:

drush dl acquia_slate

without an issue. When placing the theme into a .make/.build file however (drush make.module) the build fails on acquia_slate

Project information for acquia_slate retrieved.                                                                                            [ok]
Unable to determine project type for acquia_slate.                                                                                         [error]

I've tried cheating by providing the project type

projects[acquia_slate][type] = "theme"
projects[acquia_slate][subdir] = ""

No luck :/

Comments

jeremycaldwell’s picture

Not sure about this one.. maybe try also including "fusion" since the Fusion theme is required to run the Acquia Slate theme. I doubt it would affect the make file though since it wouldn't know about the need for a base theme in this case but worth a try. Perhaps someone else has some idea?

leenx’s picture

Version: 6.x-3.x-dev » 6.x-3.0-beta1

For completeness, I have included a complete make file for build.

test.make ... Run with drush make test.make test --verbose

api = 2

core = 6.x
projects[] = drupal

projects[zen][subdir] = ""
projects[fusion][subdir] = ""
; Having a problem with this module now (2010-11-27a)
projects[acquia_slate][subdir] = ""

projects[acquia_marina][subdir] = ""
projects[acquia_prosper][subdir] = ""

projects[skinr][subdir] = "contrib"

I have also tried older and dev version using ...

projects[acquia_slate][subdir] = ""
projects[acquia_slate][version] = 6.x-2.0

and

projects[acquia_slate][subdir] = ""
projects[acquia_slate][version] = 6.x-3.x-dev

But get the following error ...

Project information for acquia_slate retrieved.                      [ok]
Unable to determine project type for acquia_slate.                   [error]

Work around that seem to work fine yesterday ...

api = 2

core = 6.x
projects[] = drupal

projects[zen][subdir] = ""
projects[fusion][subdir] = ""
; Having a problem with this module now (2010-11-27a)
;projects[acquia_slate][subdir] = ""
; Work around for acquia_salte
libraries[acquia_slate][download][type] = "get"
libraries[acquia_slate][download][url] = "http://ftp.drupal.org/files/projects/acquia_slate-6.x-3.0-beta1.tar.gz"
libraries[acquia_slate][directory_name] = "acquia_slate"
libraries[acquia_slate][destination] = "themes"

projects[acquia_marina][subdir] = ""
projects[acquia_prosper][subdir] = ""

projects[skinr][subdir] = "contrib"

The standard make file worked fine around 2010-11-12. Plus fusion, acquia_marina and acquia_prosper themes all work fine. Hope this is not too much info.

uberellis’s picture

This workaround works for me, thanks leenx :) It's certainly good enough as a temporary measure

stephthegeek’s picture

Status: Active » Postponed (maintainer needs more info)

Does anyone know if this is still an issue for Acquia Slate?

leenx’s picture

Status: Postponed (maintainer needs more info) » Fixed

Did a build today and it works correctly, but we have updated to drush 4.4 and make 2.2, can't tell you if the theme was updated or if the update drush/make fixed the problem.

Hope this helps.
Mailed
LeeT

Status: Fixed » Closed (fixed)

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

danepowell’s picture

Title: drush dl works, drush make fails » Project type not set
Version: 6.x-3.0-beta1 » 6.x-3.x-dev
Priority: Normal » Major
Status: Closed (fixed) » Active

The problem is that the Acquia Slate project is not officially classified as a "Theme". You (maintainer) need to go to the project page, click "edit", and set the project type as "Themes". I have no idea how that could have become unset- it should have failed validation- but you really need to fix it ASAP.

A temporary workaround for makefiles is to add the following line:
projects[acquia_slate][type] = "theme"

stephthegeek’s picture

Status: Active » Fixed

Wow that is so weird, no idea how that happened. Fixed!

danepowell’s picture

Thanks!

TwoMice’s picture

Status: Fixed » Active

Actually, at this moment it's again not set, I think.

drush dl acquia_slate

downloads it as a module.

Also, d.o site search doesn't list it under "themes" (doesn't actually list it anywhere except "All").

stephthegeek’s picture

Status: Active » Fixed

Re-fixed, and reported an issue :\ #1155670: Project type keeps getting UNset

Status: Fixed » Closed (fixed)

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

danepowell’s picture

Status: Closed (fixed) » Active

This bug seems to be back yet again...

danepowell’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

danepowell’s picture

Status: Closed (fixed) » Active

It's baaaaack. :/

mac_weber’s picture

Project: Acquia Slate » Drush
Version: 6.x-3.x-dev »
Component: Miscellaneous » Make

This problem is on Drush.
I'm having the same problem with a custom module based on a local folder.
I changed from project to library as suggested on #3 then I got it working.

jonhattan’s picture

Category: bug » support
Status: Active » Fixed
Issue tags: -drush, -drush make, -.make

Drush make guess a project type based on the info in the update service. If a update service is not used to download a project you need to specify its type manually.

Status: Fixed » Closed (fixed)

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