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
Comment #1
sdboyer commentedDoesn't solve the underlying problem, but we didn't need this release node anymore anyway, so I just deleted it.
Comment #2
anarcat commentedWell, I still think this needs to be solved, because we can't release this project as it is now...
Comment #3
cela22 commentedit's very hard to say...
Comment #4
juliangb commentedSubscribe.
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.
Comment #5
Josh The Geek commentedHunch: 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?
Comment #6
anarcat commenteddrush_make 2.2, yes - d.o validation doesn't seem to use drush_make though.
Comment #7
janusman commentedDitto. 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 :
Comment #8
mermentau commentedI'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.
Comment #9
dnotes commentedThe 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.
Comment #10
anarcat commentedI believe your assumption is correct - I haven't been able to release an install profile on drupal.org since at least the git migration.
Comment #11
dnotes commentedThis 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.