I am trying to follow this format for our install profile (while I wait for #751242: Install profiles cannot create releases with a non drupal-org makefile to be fixed): http://drupal.org/node/642116#format

I have converted our existing install profile (http://drupalcode.org/project/hostmaster.git/blob/HEAD:/hostmaster.make) using the tools provided, and the resulting code doesn't pass validation:

The drupal-org.make file for project Hostmaster (Aegir) failed verification for Git tag 6.x-1.0-rc3.

http://drupal.org/node/642116 -- to learn more about correcting these errors.

Project information for drupal retrieved. [ok]
Unable to determine project type for drupal. [error]
Project information for admin_menu retrieved. [ok]
Project information for openidadmin retrieved. [ok]
Project information for install_profile_api retrieved. [ok]
Project information for jquery_ui retrieved. [ok]
Project information for modalframe retrieved. [ok]
Errors were found. [error]
An error occurred at function : drush_drush_make_d_o_verify_makefile [error]

Once these errors are fixed, commit the changes to your drupal-org.make, move the release tag for your project (check the Git manual to learn how to move tags if necessary), and submit the release node again.

This is the resulting makefile, which looks perfectly fine to me:

; this makefile exists for the sole purpose of working around:
; http://drupal.org/node/751242
;
; It was converted from the regular makefile on drupal.org
;
; Logged conversion messages follow. The final converted .make file follows these messages.
; [ok]:      Setting version for project 'admin_menu' to '1.6'
; [ok]:      Setting version for project 'openidadmin' to '1.2'
; [ok]:      Setting version for project 'install_profile_api' to '2.1'
; [ok]:      Setting version for project 'jquery_ui' to '1.3'
; [ok]:      Setting version for project 'modalframe' to '1.6'
; [warning]:     The 'api' make file attribute is not allowed, removing.
; [warning]:     The 'libraries' make file attribute is not allowed, removing.
core = 6.20
projects[admin_menu] = 1.6
projects[openidadmin] = 1.2
projects[install_profile_api] = 2.1
projects[jquery_ui] = 1.3
projects[modalframe] = 1.6

What am I missing here?

Comments

sdboyer’s picture

Status: Active » Fixed

Doesn't solve the underlying problem, but we didn't need this release node anymore anyway, so I just deleted it.

anarcat’s picture

Status: Fixed » Needs work

Well, I still think this needs to be solved, because we can't release this project as it is now...

cela22’s picture

it's very hard to say...

juliangb’s picture

Subscribe.

Same error - unable to determine project type for Drupal. This occurs on existing make files that were accepted as of Dec 2010. I assume something has changed in the packager.

Josh The Geek’s picture

Hunch: d.o changed the drupal project's type term from Drupal projects to Drupal core. Anyone know if drush_make has been updated to know about this?

anarcat’s picture

drush_make 2.2, yes - d.o validation doesn't seem to use drush_make though.

janusman’s picture

Ditto. Even verifying drupal-org.make files from other install profiles (like Display Suite's drupal-org.make file) also break with the same errors.

This is the output from pasting the above file on http://drupal.org/node/1069814/verify-make-file :

Verification messagesProject information for drupal retrieved. [ok]
Unable to determine project type for drupal. [error]
Project information for ds retrieved. [ok]
Project information for nd retrieved. [ok]
Project information for nd_contrib retrieved. [ok]
Project information for cd retrieved. [ok]
Project information for ud retrieved. [ok]
Project information for vd retrieved. [ok]
Project information for nodesinblock retrieved. [ok]
Project information for custom_formatters retrieved. [ok]
Project information for tabs retrieved. [ok]
Project information for token retrieved. [ok]
Project information for cck retrieved. [ok]
Project information for filefield retrieved. [ok]
Project information for imagefield retrieved. [ok]
Project information for views retrieved. [ok]
Project information for cck_fieldgroup_tabs retrieved. [ok]
Project information for panels retrieved. [ok]
Project information for ctools retrieved. [ok]
Project information for apachesolr retrieved. [ok]
Project information for votingapi retrieved. [ok]
Project information for fivestar retrieved. [ok]
Project information for gmap retrieved. [ok]
Project information for location retrieved. [ok]
Project information for ubercart retrieved. [ok]
Project information for admin_menu retrieved. [ok]
Project information for nodeformcols retrieved. [ok]
Errors were found. [error]
An error occurred at function : drush_drush_make_d_o_verify_makefile [error]
mermentau’s picture

I'm trying for the first release on a D7 install profile and it's blocked on drupla.org at the validation. I tried the fix reported here http://drupal.org/node/950018#comment-4163144 and that didn't work either.

change line: projects[] = drupal
with line: projects[drupal][type] = core
dnotes’s picture

Category: support » bug
Priority: Normal » Critical

The first release of my 6.x install profile failed with the same error. Am I correct that it's impossible to create a release for any install profile owing to this problem? If so, i'd say this seems like a critical bug, instead of a normal support request. Feel free to bump it back down if there's a workaround, but I can't find one.

anarcat’s picture

I believe your assumption is correct - I haven't been able to release an install profile on drupal.org since at least the git migration.

dnotes’s picture

Status: Needs work » Closed (duplicate)

This is almost surely a duplicate of #951978: "Unable to determine project type for drupal" when creating release, and all the discussion is happening over there.