Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See http://drupal.org/project/install_profile_api. That module could use your help (and could use a better name). It is quite popular. Consider deprecating this module.
Comments
Comment #1
q0rban CreditAttribution: q0rban commentedHi Moshe!
Thanks, I'm familiar with install_profile_api, but I don't see how these are duplicates. Every update_api function returns an array in the format expected by hook_update_N() calls. Do you foresee that being something that install_profile_api would do as well? I have no problem deprecating this module if that's the case! :D
Thanks!
Comment #2
q0rban CreditAttribution: q0rban commentedSetting this to won't fix.. :/
Comment #3
nedjoI see you've opened a couple of issues on install_profile_api but not one related to this issue.
Maybe try opening an issue, helping out in the issue queue and/or offering to co-maintain install_profile_api?
Comment #4
q0rban CreditAttribution: q0rban commented@nedjo, how's this? ;)
So, are there install profile API maintainers interested in having update functions like these in install_profile_api?
Comment #5
mrfelton CreditAttribution: mrfelton commentedI think the projects should merge. Both provide some good functions. I think install_profile_api provides a better mechanism for others to extend and add support for new modules. I thin update_api has some good functions - like the features stuff. I don't see the need for two projects, they both do the same thing, which is to provide helper functions to install profiles/hook_update_N implementations.
Comment #6
q0rban CreditAttribution: q0rban commented> I think install_profile_api provides a better mechanism for others to extend and add support for new modules.
Yes, update_api is very basic in its implementation, as I've just been adding functions to the main include as I've needed them, so it would definitely benefit from merging with install_profile_api to split the functions out into different files. Some of the functions are just messy too, as they were copied and pasted directly from permissions_api. They worked, but I didn't take the time to really clean up those functions.
Comment #7
James Andres CreditAttribution: James Andres commentedI agree, merging the two is the best approach. Here's a few thoughts, just opinions:
Comment #8
apadernoI am closing this issue, as Drupal 6 is now not supported.