diff --git a/README.md b/README.md index f9949d2..36f9de8 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ projects[drupal][type] = "core" ; Download the OpenStack Groups install profile and recursively build all its dependencies. projects[osgroups][type] = "profile" projects[osgroups][download][type] = "git" -projects[osgroups][download][url] = "https://github.com/openstack-infra/groups.git" +projects[osgroups][download][url] = "https://github.com/marton-kiss/openstack-groups.git" projects[osgroups][download][branch] = "master" ``` diff --git a/build-groups.make b/build-groups.make new file mode 100644 index 0000000..142d223 --- /dev/null +++ b/build-groups.make @@ -0,0 +1,11 @@ +api = 2 +core = 7.x + +; Include the definition of how to build Drupal core directly, including patches. +includes[] = "drupal-org-core.make" + +; Download the Groups install profile and recursively build all its dependencies. +projects[groups][type] = "profile" +projects[groups][download][type] = "git" +projects[groups][download][url] = "https://github.com/openstack-infra/groups.git" +projects[groups][download][branch] = "master" diff --git a/build-osgroups.make b/build-osgroups.make deleted file mode 100644 index fbb1082..0000000 --- a/build-osgroups.make +++ /dev/null @@ -1,11 +0,0 @@ -api = 2 -core = 7.x - -; Include the definition of how to build Drupal core directly, including patches. -includes[] = "drupal-org-core.make" - -; Download the OpenStack Groups install profile and recursively build all its dependencies. -projects[osgroups][type] = "profile" -projects[osgroups][download][type] = "git" -projects[osgroups][download][url] = "https://github.com/openstack-infra/groups.git" -projects[osgroups][download][branch] = "master" diff --git a/commons.make b/commons.make new file mode 100644 index 0000000..66adaaa --- /dev/null +++ b/commons.make @@ -0,0 +1,146 @@ + +api = 2 +core = 7.x + +; Commons modules. + + +projects[commons_activity_streams][type] = "module" +projects[commons_activity_streams][subdir] = "commons" +projects[commons_activity_streams][download][url] = "http://git.drupal.org/project/commons_activity_streams.git" +projects[commons_activity_streams][download][branch] = "7.x-3.x" + +projects[commons_featured][type] = "module" +projects[commons_featured][subdir] = "commons" +projects[commons_featured][download][url] = "http://git.drupal.org/project/commons_featured.git" +projects[commons_featured][download][branch] = "7.x-3.x" + +projects[commons_notices][type] = "module" +projects[commons_notices][subdir] = "commons" +projects[commons_notices][download][url] = "http://git.drupal.org/project/commons_notices.git" +projects[commons_notices][download][branch] = "7.x-3.x" + +projects[commons_profile_social][type] = "module" +projects[commons_profile_social][subdir] = "commons" +projects[commons_profile_social][download][url] = "http://git.drupal.org/project/commons_profile_social.git" +projects[commons_profile_social][download][branch] = "7.x-3.x" + +projects[commons_user_profile_pages][type] = "module" +projects[commons_user_profile_pages][subdir] = "commons" +projects[commons_user_profile_pages][download][url] = "http://git.drupal.org/project/commons_user_profile_pages.git" +projects[commons_user_profile_pages][download][branch] = "7.x-3.x" + +projects[commons_body][type] = "module" +projects[commons_body][subdir] = "commons" +projects[commons_body][download][url] = "http://git.drupal.org/project/commons_body.git" +projects[commons_body][download][branch] = "7.x-3.x" + +projects[commons_follow][type] = "module" +projects[commons_follow][subdir] = "commons" +projects[commons_follow][download][url] = "http://git.drupal.org/project/commons_follow.git" +projects[commons_follow][download][branch] = "7.x-3.x" + +projects[commons_notify][type] = "module" +projects[commons_notify][subdir] = "commons" +projects[commons_notify][download][url] = "http://git.drupal.org/project/commons_notify.git" +projects[commons_notify][download][branch] = "7.x-3.x" + +projects[commons_utility_links][type] = "module" +projects[commons_utility_links][subdir] = "commons" +projects[commons_utility_links][download][url] = "http://git.drupal.org/project/commons_utility_links.git" +projects[commons_utility_links][download][branch] = "7.x-3.x" + +projects[commons_bw][type] = "module" +projects[commons_bw][subdir] = "commons" +projects[commons_bw][download][url] = "http://git.drupal.org/project/commons_bw.git" +projects[commons_bw][download][branch] = "7.x-3.x" + +projects[commons_groups][type] = "module" +projects[commons_groups][subdir] = "commons" +projects[commons_groups][download][url] = "http://git.drupal.org/project/commons_groups.git" +projects[commons_groups][download][branch] = "7.x-3.x" + +projects[commons_pages][type] = "module" +projects[commons_pages][subdir] = "commons" +projects[commons_pages][download][url] = "http://git.drupal.org/project/commons_pages.git" +projects[commons_pages][download][branch] = "7.x-3.x" + +projects[commons_radioactivity][type] = "module" +projects[commons_radioactivity][subdir] = "commons" +projects[commons_radioactivity][download][url] = "http://git.drupal.org/project/commons_radioactivity.git" +projects[commons_radioactivity][download][branch] = "7.x-3.x" + +projects[commons_content_moderation][type] = "module" +projects[commons_content_moderation][subdir] = "commons" +projects[commons_content_moderation][download][url] = "http://git.drupal.org/project/commons_content_moderation.git" +projects[commons_content_moderation][download][branch] = "7.x-3.x" + +projects[commons_like][type] = "module" +projects[commons_like][subdir] = "commons" +projects[commons_like][download][url] = "http://git.drupal.org/project/commons_like.git" +projects[commons_like][download][branch] = "7.x-3.x" + +projects[commons_search][type] = "module" +projects[commons_search][subdir] = "commons" +projects[commons_search][download][url] = "http://git.drupal.org/project/commons_search.git" +projects[commons_search][download][branch] = "7.x-3.x" + +projects[commons_wysiwyg][type] = "module" +projects[commons_wysiwyg][subdir] = "commons" +projects[commons_wysiwyg][download][url] = "http://git.drupal.org/project/commons_wysiwyg.git" +projects[commons_wysiwyg][download][branch] = "7.x-3.x" + +projects[commons_documents][type] = "module" +projects[commons_documents][subdir] = "commons" +projects[commons_documents][download][url] = "http://git.drupal.org/project/commons_documents.git" +projects[commons_documents][download][branch] = "7.x-3.x" + +projects[commons_location][type] = "module" +projects[commons_location][subdir] = "commons" +projects[commons_location][download][url] = "http://git.drupal.org/project/commons_location.git" +projects[commons_location][download][branch] = "7.x-3.x" + +projects[commons_posts][type] = "module" +projects[commons_posts][subdir] = "commons" +projects[commons_posts][download][url] = "http://git.drupal.org/project/commons_posts.git" +projects[commons_posts][download][branch] = "7.x-3.x" + +projects[commons_site_homepage][type] = "module" +projects[commons_site_homepage][subdir] = "commons" +projects[commons_site_homepage][download][url] = "http://git.drupal.org/project/commons_site_homepage.git" +projects[commons_site_homepage][download][branch] = "7.x-3.x" + +projects[commons_events][type] = "module" +projects[commons_events][subdir] = "commons" +projects[commons_events][download][url] = "http://git.drupal.org/project/commons_events.git" +projects[commons_events][download][branch] = "7.x-3.x" + +projects[commons_misc][type] = "module" +projects[commons_misc][subdir] = "commons" +projects[commons_misc][download][url] = "http://git.drupal.org/project/commons_misc.git" +projects[commons_misc][download][branch] = "7.x-3.x" + +projects[commons_profile_base][type] = "module" +projects[commons_profile_base][subdir] = "commons" +projects[commons_profile_base][download][url] = "http://git.drupal.org/project/commons_profile_base.git" +projects[commons_profile_base][download][branch] = "7.x-3.x" + +projects[commons_topics][type] = "module" +projects[commons_topics][subdir] = "commons" +projects[commons_topics][download][url] = "http://git.drupal.org/project/commons_topics.git" +projects[commons_topics][download][branch] = "7.x-3.x" + +projects[commons_social_sharing][type] = "module" +projects[commons_social_sharing][subdir] = "commons" +projects[commons_social_sharing][download][url] = "http://git.drupal.org/project/commons_social_sharing.git" +projects[commons_social_sharing][download][branch] = "7.x-3.x" + +projects[commons_trusted_contacts][type] = "module" +projects[commons_trusted_contacts][subdir] = "commons" +projects[commons_trusted_contacts][download][url] = "http://git.drupal.org/project/commons_trusted_contacts.git" +projects[commons_trusted_contacts][download][branch] = "7.x-3.x" + +projects[commons_origins][type] = "theme" +projects[commons_origins][subdir] = "commons" +projects[commons_origins][download][url] = "http://git.drupal.org/project/commons_origins.git" +projects[commons_origins][download][branch] = "7.x-3.x" diff --git a/drupal-org-core.make b/drupal-org-core.make index d61ba39..570df35 100644 --- a/drupal-org-core.make +++ b/drupal-org-core.make @@ -3,23 +3,26 @@ core = 7.x ; Download Drupal core and apply core patches if needed. projects[drupal][type] = "core" -projects[drupal][version] = "7.17" +projects[drupal][version] = "7.23" ; Hide the profiles under /profiles, so Commons is the only one. This allows ; the installation to start at the Language selection screen, bypassing a ; baffling and silly choice, especially for non-native speakers. ; http://drupal.org/node/1780598#comment-6480088 -;projects[drupal][patch][] = http://drupal.org/files/spark-install-1780598-5.patch +projects[drupal][patch][] = http://drupal.org/files/spark-install-1780598-5.patch ; This requires a core bug fix to not show the profile selection page when only ; one profile is visible. ; http://drupal.org/node/1074108#comment-6463662 -;projects[drupal][patch][] = http://drupal.org/files/1074108-skip-profile-16-7.x-do-not-test.patch +projects[drupal][patch][] = http://drupal.org/files/1074108-skip-profile-16-7.x-do-not-test.patch +; This patch allows install profile to list requirements on the install page +; http://drupal.org/node/1971072 +projects[drupal][patch][] = http://drupal.org/files/install_profile_requirements_on_install.patch + +; This patch allows install profiles to set a minimum memory limit. +; http://drupal.org/node/1772316#comment-6457618 +projects[drupal][patch][] = http://drupal.org/files/drupal-7.x-allow_profile_change_sys_req-1772316-21.patch ; Allow to specify SCRIPT HTML element attributes through drupal_add_js() ; http://drupal.org/node/1664602#comment-6221066 -projects[drupal][patch][] = http://drupal.org/files/1664602-1.patch - -; Make install profiles inheritable -; http://drupal.org/node/1356276 -projects[drupal][patch][] = http://drupal.org/files/1356276-base-profile-d7-39-do-not-test.patch +projects[drupal][patch][] = http://drupal.org/files/1664602-1.patch \ No newline at end of file diff --git a/drupal-org.make b/drupal-org.make index a24cfbd..9db3e0d 100644 --- a/drupal-org.make +++ b/drupal-org.make @@ -1,11 +1,468 @@ -; Drupal Core -core = 7.x api = 2 +core = 7.x -# inherit Drupal Commons profile +includes[] = "commons.make" -projects[commons][type] = profile -projects[commons][download][type] = git -projects[commons][download][url] = http://git.drupal.org/project/commons.git -projects[commons][download][branch] = "7.x-3.x" +; Contributed modules. +projects[addressfield][type] = "module" +projects[addressfield][subdir] = "contrib" +projects[addressfield][version] = "1.0-beta4" + +projects[addressfield_tokens][type] = "module" +projects[addressfield_tokens][subdir] = "contrib" +projects[addressfield_tokens][version] = "1.3" + +projects[advancedqueue][type] = "module" +projects[advancedqueue][subdir] = "contrib" +projects[advancedqueue][version] = "1.0-alpha2" + +projects[apachesolr][type] = "module" +projects[apachesolr][subdir] = "contrib" +projects[apachesolr][version] = "1.4" + +projects[apachesolr_og][type] = "module" +projects[apachesolr_og][subdir] = "contrib" +projects[apachesolr_og][download][type] = "git" +projects[apachesolr_og][download][url] = "http://git.drupal.org/project/apachesolr_og.git" +projects[apachesolr_og][download][branch] = "7.x-1.x" +projects[apachesolr_og][download]revision] = "49820b4a4fcff7c1c4efe449da033fb6d8711ac5" + +projects[apachesolr_proximity][type] = "module" +projects[apachesolr_proximity][subdir] = "contrib" +projects[apachesolr_proximity][version] = "1.0-rc1" + +projects[apachesolr_user][type] = "module" +projects[apachesolr_user][subdir] = "contrib" +projects[apachesolr_user][download][type] = "git" +projects[apachesolr_user][download][url] = "http://git.drupal.org/project/apachesolr_user.git" +projects[apachesolr_user][download][branch] = "7.x-1.x" +projects[apachesolr_user][download]revision] = "a86c5aebfceaf4a3fc53544762a36ca1b70809d5" + +; Check the user object before trying to display a result +; https://drupal.org/node/2077281#comment-7807937 +projects[apachesolr_user][patch][] = "http://drupal.org/files/2077281-apache-solr-user-check-3.patch" + +projects[breakpoints][type] = "module" +projects[breakpoints][subdir] = "contrib" +projects[breakpoints][version] = "1.1" + +projects[connector][type] = "module" +projects[connector][subdir] = "contrib" +projects[connector][version] = "1.0-beta2" + +projects[ckeditor][type] = "module" +projects[ckeditor][subdir] = "contrib" +projects[ckeditor][version] = "1.13" + +projects[ctools][type] = "module" +projects[ctools][subdir] = "contrib" +projects[ctools][download][type] = "git" +projects[ctools][download][url] = "http://git.drupal.org/project/ctools.git" +projects[ctools][download][branch] = "7.x-1.x" +projects[ctools][download][revision] = "e81da7a57f63ca95d2c713afcec65a5659aada9e" + +; Introduce UUIDs onto panes & displays. +; http://drupal.org/node/1277908#comment-7216356 +projects[ctools][patch][] = "http://drupal.org/files/ctools-uuids_for_exported_objects-1277908-118.patch" + +projects[custom_search][type] = "module" +projects[custom_search][subdir] = "contrib" +projects[custom_search][download][type] = "git" +projects[custom_search][download][url] = "http://git.drupal.org/project/custom_search.git" +projects[custom_search][download][branch] = "7.x-1.x" +projects[custom_search][download][revision] = "20144e64494c83a448067d587e59df5d7e4780bb" + +; Avoid akward sanitization of user-entered search strings. +; https://drupal.org/node/2012210 +projects[custom_search][patch][] = "http://drupal.org/files/commons_search_js_encode.patch" + + +projects[date][type] = "module" +projects[date][subdir] = "contrib" +projects[date][version] = "2.6" + +projects[date_facets][type] = "module" +projects[date_facets][subdir] = "contrib" +projects[date_facets][version] = "1.0-beta2" + +; Keeping this to the latest version, since it should only be used for development. +projects[devel][version] = "1.x-dev" +projects[devel][type] = "module" +projects[devel][subdir] = "contrib" + +projects[diff][type] = "module" +projects[diff][subdir] = "contrib" +projects[diff][version] = "3.2" + +projects[email_registration][type] = "module" +projects[email_registration][subdir] = "contrib" +projects[email_registration][version] = "1.1" + +projects[entity][type] = "module" +projects[entity][subdir] = "contrib" +projects[entity][version] = "1.2" + +; Force LANGUAGE_NONE entities to still display within rendered entities. +; http://drupal.org/node/1782134 +projects[entity][patch][] = "http://drupal.org/files/entity-translatable_fields_not_overriding_und_with_empty_values.patch" + +projects[entitycache][type] = "module" +projects[entitycache][subdir] = "contrib" +projects[entitycache][download][type] = "git" +projects[entitycache][download][url] = "http://git.drupal.org/project/entitycache.git" +projects[entitycache][download][branch] = "7.x-1.x" +projects[entitycache][download][revision] = "7e390b5" + +; Fix core translation support. +; http://drupal.org/node/1349566#comment-7781063 +projects[entitycache][patch][] = "http://drupal.org/files/add-translation-information-on-each-request-1349566-12.patch" + +projects[entityreference][type] = "module" +projects[entityreference][subdir] = "contrib" +projects[entityreference][download][type] = "git" +projects[entityreference][download][url] = "http://git.drupal.org/project/entityreference.git" +projects[entityreference][download][branch] = "7.x-1.x" +projects[entityreference][download][revision] = "1c176daef3e7483389cbebeb34784b3af6521f7f" + +; Profile has no recommended release +projects[edit_profile][type] = "module" +projects[edit_profile][subdir] = "contrib" +projects[edit_profile][version] = "1.0-beta2" + +projects[entityreference_prepopulate][type] = "module" +projects[entityreference_prepopulate][subdir] = "contrib" +projects[entityreference_prepopulate][version] = "1.3" + +projects[features][type] = "module" +projects[features][subdir] = "contrib" +projects[features][version] = "2.0-rc3" + +; Issue #1921982: Add 'customized' to the fields we check when comparing a menu_link feature +; http://drupal.org/node/1921982 +projects[features][patch][] = "http://drupal.org/files/menu_links_customized-927576-8.patch" + +projects[flag][type] = "module" +projects[flag][subdir] = "contrib" +projects[flag][version] = "2.1" + +; Issue #1965760: Manually set taxonomy term flag types because its different. +; http://drupal.org/node/1965760 +projects[flag][patch][] = "http://drupal.org/files/1965760-flag-taxonomy-types.patch" + +projects[flag_abuse][type] = "module" +projects[flag_abuse][subdir] = "contrib" +projects[flag_abuse][version] = "2.0-alpha1" + +projects[redirect][type] = "module" +projects[redirect][subdir] = "contrib" +projects[redirect][version] = "1.0-rc1" + +projects[http_client][type] = "module" +projects[http_client][subdir] = "contrib" +projects[http_client][version] = "2.4" + +projects[admin_icons][type] = "module" +projects[admin_icons][subdir] = "contrib" +projects[admin_icons][download][type] = "git" +projects[admin_icons][download][url] = "http://git.drupal.org/project/admin_icons.git" +projects[admin_icons][download][branch] = "7.x-1.x" +projects[admin_icons][download][revision] = "60d9f28801533fecc92216a60d444d89d80e7611" + +projects[libraries][type] = "module" +projects[libraries][subdir] = "contrib" +projects[libraries][version] = "2.1" + +projects[link][type] = "module" +projects[link][subdir] = "contrib" +projects[link][version] = "1.1" + +projects[menu_attributes][type] = "module" +projects[menu_attributes][subdir] = "contrib" +projects[menu_attributes][version] = "1.0-rc2" + +projects[message][type] = "module" +projects[message][subdir] = "contrib" +projects[message][version] = "1.9" + +; Make message access alterable. +; http://drupal.org/node/1920560#comment-7080942 +projects[message][patch][] = "http://drupal.org/files/1920560-message-access-alterable.patch" + +projects[message_notify][type] = "module" +projects[message_notify][subdir] = "contrib" +projects[message_notify][download][type] = "git" +projects[message_notify][download][url] = "http://git.drupal.org/project/message_notify.git" +projects[message_notify][download][branch] = "7.x-2.x" +projects[message_notify][download][revision] = "e546b0a6e3d2dfd48f4fd3a4d45806c066c9a9bc" + +projects[message_subscribe][type] = "module" +projects[message_subscribe][subdir] = "contrib" +projects[message_subscribe][download][type] = "git" +projects[message_subscribe][download][url] = "http://git.drupal.org/project/message_subscribe.git" +projects[message_subscribe][download][branch] = "7.x-1.x" + +projects[memcache][type] = "module" +projects[memcache][subdir] = "contrib" +projects[memcache][version] = "1.0" + +projects[metatag][type] = "module" +projects[metatag][subdir] = "contrib" +projects[metatag][version] = "1.0-beta7" + +; Support for rel=author link in head. +; http://drupal.org/node/1865228#comment-6839604 +projects[metatag][patch][] = "http://drupal.org/files/metatag-n1865228-3.patch" + +projects[module_filter][type] = "module" +projects[module_filter][subdir] = "contrib" +projects[module_filter][version] = "1.8" + +projects[mollom][type] = "module" +projects[mollom][subdir] = "contrib" +projects[mollom][version] = "2.7" + +projects[navbar][type] = "module" +projects[navbar][subdir] = "contrib" +projects[navbar][download][type] = "git" +projects[navbar][download][url] = "http://git.drupal.org/project/navbar.git" +projects[navbar][download][branch] = "7.x-1.x" +projects[navbar][download][revision] = "dd542e1a74d9c9b3a9b5bd699aad9a4b65e5c5b7" + +projects[oauth][type] = "module" +projects[oauth][subdir] = "contrib" +projects[oauth][version] = "3.1" + +projects[oauthconnector][type] = "module" +projects[oauthconnector][subdir] = "contrib" +projects[oauthconnector][download][type] = "git" +projects[oauthconnector][download][url] = "http://git.drupal.org/project/oauthconnector.git" +projects[oauthconnector][download][branch] = "7.x-1.x" +projects[oauthconnector][download][revision] = "0ce7ac9614710c0f68d0a58cb4ae4667f8bd6fa7" + +projects[og][type] = "module" +projects[og][subdir] = "contrib" +projects[og][version] = "2.3" + +; Auto-assign role to group manager broken on groups with overridden roles. +; https://drupal.org/node/2005800#comment-7684873 +projects[og][patch][] = "http://drupal.org/files/og-default-role-member-2005800-21.patch" + +; og_ui should give users the theme, not admin ui when creating groups +; http://drupal.org/node/1800208 +projects[og][patch][] = "http://drupal.org/files/og_ui-group_node_add_theme-1800208-5.patch" + +; _og_access_verify_access_field_existence() assumes node group type, throws an exception rebuilding node access. +projects[og][patch][] = "http://drupal.org/files/og-access-rebuild-exception-group-type.patch" + +projects[panelizer][type] = "module" +projects[panelizer][subdir] = "contrib" +projects[panelizer][version] = "3.1" + +projects[panels][type] = "module" +projects[panels][subdir] = "contrib" +projects[panels][version] = "3.3" + +; Fatal error: Call to undefined function panels_get_layouts() +; http://drupal.org/node/1828684#comment-6694732 +projects[panels][patch][] = "http://drupal.org/files/1828684-layout-fix-6.patch" + +; PHP 5.3.9 Strict Warning on Panels Empty Value +; http://drupal.org/node/1632898#comment-6412840 +projects[panels][patch][] = "http://drupal.org/files/panels-n1632898-15.patch" + +; Add internationalization support. +; http://drupal.org/node/1179034#comment-7216342 +projects[panels][patch][] = "http://drupal.org/files/panels-1179034-41_____panels-uuids-127790-100__-80.patch" + +projects[paranoia][type] = "module" +projects[paranoia][subdir] = "contrib" +projects[paranoia][version] = "1.2" + +projects[pathauto][type] = "module" +projects[pathauto][subdir] = "contrib" +projects[pathauto][version] = "1.2" + +projects[placeholder][type] = "module" +projects[placeholder][subdir] = "contrib" +projects[placeholder][version] = "1.0" + +projects[pm_existing_pages][type] = "module" +projects[pm_existing_pages][subdir] = "contrib" +projects[pm_existing_pages][version] = "1.4" + +projects[privatemsg][type] = "module" +projects[privatemsg][subdir] = "contrib" +projects[privatemsg][version] = "1.4" + +; Add preliminary Views integration +; http://drupal.org/node/1573000 +projects[privatemsg][patch][] = "http://drupal.org/files/privatemsg-1573000-64.patch" + +; Enable privatemsg_realname when realname is enabled +; https://drupal.org/node/2070719 +projects[privatemsg][patch][] = "http://drupal.org/files/2077223-privatemsg-realname-enabled-1.patch" + +projects[quicktabs][type] = "module" +projects[quicktabs][subdir] = "contrib" +projects[quicktabs][download][type] = "git" +projects[quicktabs][download][url] = "http://git.drupal.org/project/quicktabs.git" +projects[quicktabs][download][branch] = "7.x-3.x" +projects[quicktabs][download][revision] = "89f7fd0b7313782d0f7504996daa36bde798ec79" + +projects[radioactivity][type] = "module" +projects[radioactivity][subdir] = "contrib" +projects[radioactivity][download][type] = "git" +projects[radioactivity][download][url] = "http://git.drupal.org/project/radioactivity.git" +projects[radioactivity][download][branch] = "7.x-2.x" +projects[radioactivity][download][revision] = "aee21dbed4f54d0e626e3c19ecc550bf1ec656f6" + +; Radioactivity not compatible with Memcache module +; http://drupal.org/node/1860216 +projects[radioactivity][patch][] = "http://drupal.org/files/radioactivity-memcache.patch" + +projects[r4032login][type] = "module" +projects[r4032login][subdir] = "contrib" +projects[r4032login][version] = "1.6" + +projects[rate][type] = "module" +projects[rate][subdir] = "contrib" +projects[rate][version] = "1.6" + +; Add widget to node/comment $links +; http://drupal.org/node/947516#comment-6979780 +projects[rate][patch][] = "http://drupal.org/files/947516-rate-node-links-15.patch" + +projects[realname][type] = "module" +projects[realname][subdir] = "contrib" +projects[realname][version] = "1.1" + +projects[registration][subdir] = "contrib" +projects[registration][type] = "module" +projects[registration][version] = "1.2" + +projects[rules][type] = "module" +projects[rules][subdir] = "contrib" +projects[rules][version] = "2.3" + +projects[search_facetapi][type] = "module" +projects[search_facetapi][subdir] = "contrib" +projects[search_facetapi][version] = "1.0-beta2" + +projects[sharethis][type] = "module" +projects[sharethis][subdir] = "contrib" +projects[sharethis][version] = "2.5" + +projects[facetapi][type] = "module" +projects[facetapi][subdir] = "contrib" +projects[facetapi][version] = "1.3" + +projects[rich_snippets][type] = "module" +projects[rich_snippets][subdir] = "contrib" +projects[rich_snippets][version] = "1.0-beta3" + +; Remove snippets from non-node type searches: +; http://drupal.org/node/1923904#comment-7094488 +projects[rich_snippets][patch][] = "http://drupal.org/files/1923904-search-nodes-only.patch" + +projects[schemaorg][type] = "module" +projects[schemaorg][subdir] = "contrib" +projects[schemaorg][version] = "1.0-beta3" + +projects[strongarm][type] = "module" +projects[strongarm][subdir] = "contrib" +projects[strongarm][download][type] = "git" +projects[strongarm][download][url] = "http://git.drupal.org/project/strongarm.git" +projects[strongarm][download][branch] = "7.x-2.x" +projects[strongarm][download][revision] = "5a2326ba67e59923ecce63d9bb5e0ed6548abdf8" + +projects[timeago][type] = "module" +projects[timeago][subdir] = "contrib" +projects[timeago][version] = "2.x-dev" +projects[timeago][download][type] = "git" +projects[timeago][download][url] = "http://git.drupal.org/project/timeago.git" +projects[timeago][download][branch] = "7.x-2.x" +projects[timeago][download][revision] = "768ea66" + +; Provide a dedicated date type: +; http://drupal.org/node/1427226#comment-6638836 +projects[timeago][patch][] = "http://drupal.org/files/1427226-timeago-date-type.patch" + +projects[title][type] = "module" +projects[title][subdir] = "contrib" +projects[title][version] = "1.0-alpha7" + +projects[token][type] = "module" +projects[token][subdir] = "contrib" +projects[token][version] = "1.5" + +projects[views][type] = "module" +projects[views][subdir] = "contrib" +projects[views][version] = "3.7" + +projects[views_field_view][type] = "module" +projects[views_field_view][subdir] = "contrib" +projects[views_field_view][version] = "1.1" + +projects[views_load_more][type] = "module" +projects[views_load_more][subdir] = "contrib" +projects[views_load_more][version] = "1.1" + +projects[views_bulk_operations][type] = "module" +projects[views_bulk_operations][subdir] = "contrib" +projects[views_bulk_operations][version] = "3.1" + +projects[views_litepager][type] = "module" +projects[views_litepager][subdir] = "contrib" +projects[views_litepager][version] = "3.0" + +; We have the version of voting api at the top so it doesn't get included in our dev make patch. +projects[votingapi][version] = "2.11" +projects[votingapi][type] = "module" +projects[votingapi][subdir] = "contrib" + +; Registry Rebuild +; We can probably remove this later, but for now keep it included +; See https://drupal.org/node/1983606#comment-7788313 for more information. +projects[registry_rebuild][version] = "1.10" +projects[registry_rebuild][type] = "module" +projects[registry_rebuild][subdir] = "contrib" + +; Contributed themes. + +projects[adaptivetheme][type] = "theme" +projects[adaptivetheme][subdir] = "contrib" +projects[adaptivetheme][download][type] = "git" +projects[adaptivetheme][download][url] = "http://git.drupal.org/project/adaptivetheme.git" +projects[adaptivetheme][download][branch] = "7.x-3.x" +projects[adaptivetheme][download][revision] = "b4b38c3c01d066e733c2942020c51962cd64231c" + +; Remove link around comment creation date. +; http://drupal.org/node/1427226#comment-6638836 +projects[adaptivetheme][patch][] = "http://drupal.org/files/remove-comment-creation-link-2018081-1.patch" + +projects[sky][type] = "theme" +projects[sky][subdir] = "contrib" +projects[sky][version] = "3.0-rc1" + +; Libraries. +; NOTE: These need to be listed in http://drupal.org/packaging-whitelist. +libraries[underscore][download][type] = "get" +libraries[underscore][type] = "libraries" +libraries[underscore][download][url] = "https://github.com/jashkenas/underscore/archive/1.4.4.zip" + +libraries[backbone][download][type] = "get" +libraries[backbone][type] = "libraries" +libraries[backbone][download][url] = "https://github.com/jashkenas/backbone/archive/1.0.0.tar.gz" + +libraries[ckeditor][download][type] = "get" +libraries[ckeditor][download][url] = "http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.0/ckeditor_4.0_standard.tar.gz" +libraries[ckeditor][type] = "libraries" + +libraries[placeholder][download][type] = "get" +libraries[placeholder][type] = "libraries" +libraries[placeholder][download][url] = "https://github.com/mathiasbynens/jquery-placeholder/archive/v2.0.7.tar.gz" + +libraries[timeago][download][type] = "get" +libraries[timeago][type] = "libraries" +libraries[timeago][download][url] = "https://raw.github.com/rmm5t/jquery-timeago/v1.3.0/jquery.timeago.js" diff --git a/groups.info b/groups.info new file mode 100644 index 0000000..b43df8d --- /dev/null +++ b/groups.info @@ -0,0 +1,101 @@ +name = OpenStack User Groups +project = groups +distribution_name = "OpenStack User Groups" +description = Ready-to-use solution for managing OpenStack communities. +core = 7.x +php_memory_limit = 192M + +; Core modules. +dependencies[] = block +dependencies[] = comment +dependencies[] = dblog +dependencies[] = field +dependencies[] = field_ui +dependencies[] = file +dependencies[] = image +dependencies[] = list +dependencies[] = menu +dependencies[] = number +dependencies[] = options +dependencies[] = path +dependencies[] = search +dependencies[] = shortcut +dependencies[] = taxonomy + +; Contributed modules. +dependencies[] = addressfield +dependencies[] = addressfield_tokens +dependencies[] = breakpoints +dependencies[] = ctools +dependencies[] = custom_search +dependencies[] = diff +dependencies[] = email_registration +dependencies[] = entity +dependencies[] = entityreference +dependencies[] = entitycache +dependencies[] = edit_profile +dependencies[] = features +dependencies[] = flag +dependencies[] = http_client +dependencies[] = menu_attributes +dependencies[] = message +dependencies[] = message_notify +dependencies[] = message_subscribe +dependencies[] = metatag +dependencies[] = module_filter +dependencies[] = navbar +dependencies[] = og +dependencies[] = panels +dependencies[] = paranoia +dependencies[] = pathauto +dependencies[] = placeholder +dependencies[] = privatemsg +dependencies[] = privatemsg_realname +dependencies[] = quicktabs +dependencies[] = r4032login +dependencies[] = libraries +dependencies[] = radioactivity +dependencies[] = realname +dependencies[] = redirect +dependencies[] = rules +dependencies[] = sharethis +dependencies[] = strongarm +dependencies[] = token +dependencies[] = views +dependencies[] = views_bulk_operations +dependencies[] = views_ui +dependencies[] = votingapi +dependencies[] = advancedqueue +dependencies[] = ckeditor +dependencies[] = commons_activity_streams +dependencies[] = commons_bw +dependencies[] = commons_events +dependencies[] = commons_events_pages +dependencies[] = commons_featured +dependencies[] = commons_follow +dependencies[] = commons_follow_group +dependencies[] = commons_follow_node +dependencies[] = commons_follow_term +dependencies[] = commons_follow_user +dependencies[] = commons_follow_ui +dependencies[] = commons_like +dependencies[] = commons_search +dependencies[] = commons_search_core +dependencies[] = commons_groups +dependencies[] = commons_groups_pages +dependencies[] = commons_groups_directory +dependencies[] = commons_notify +dependencies[] = commons_posts +dependencies[] = commons_pages +dependencies[] = commons_content_moderation +dependencies[] = commons_profile_base +dependencies[] = commons_profile_social +dependencies[] = commons_utility_links +dependencies[] = commons_user_profile_pages +dependencies[] = commons_site_homepage +dependencies[] = commons_activity_page +dependencies[] = commons_misc +dependencies[] = commons_location +dependencies[] = commons_wysiwyg +dependencies[] = commons_social_sharing +dependencies[] = commons_trusted_contacts diff --git a/groups.install b/groups.install new file mode 100644 index 0000000..f0a1311 --- /dev/null +++ b/groups.install @@ -0,0 +1,112 @@ + $t('PHP Max Execution Time'), + 'value' => ini_get('max_execution_time'), + ); + $max_execution_time = (int)ini_get('max_execution_time'); + // Don't set the error when max_execution_time is 0 (Infinite). + if ($max_execution_time && $max_execution_time < DRUPAL_MINIMUM_MAX_EXECUTION_TIME) { + $requirements['php_max_execution_time']['description'] = $t('Your PHP execution time is too low, please set it greater than or equal to %time seconds.', array('%time' => DRUPAL_MINIMUM_MAX_EXECUTION_TIME)); + $requirements['php_max_execution_time']['severity'] = REQUIREMENT_ERROR; + } + } + return $requirements; +} + +/** + * Implements hook_install(). + * + * Perform actions to set up the site for this profile. + * + * @see system_install() + */ +function groups_install() { + // Enable the Origins theme and set it as the default. + theme_enable(array('adaptivetheme', 'commons_origins', 'adaptivetheme_admin')); + + // The Bartik theme is automatically enabled during installation. Disable it. + db_update('system') + ->fields(array('status' => 0)) + ->condition('type', 'theme') + ->condition('name', 'bartik') + ->execute(); + + // Set the default and administration themes. + variable_set('theme_default', 'commons_origins'); + // Set a default administrative theme: + variable_set('admin_theme', 'adaptivetheme_admin'); + variable_set('node_admin_theme', FALSE); + + // Do not use the administration theme when editing or creating content. + variable_set('node_admin_theme', '0'); + + // Set a default user avatar. + /*commons_set_default_avatar();*/ + + // Place site blocks in the menu_bar and header regions. + $menu_block = array( + 'module' => 'system', + 'delta' => 'main-menu', + 'theme' => 'commons_origins', + 'visibility' => 0, + 'region' => 'menu_bar', + 'status' => 1, + 'pages' => '', + 'title' => '', + ); + drupal_write_record('block', $menu_block); + + $search_block = array( + 'module' => 'search', + 'delta' => 'form', + 'theme' => 'commons_origins', + 'visibility' => 0, + 'region' => 'header', + 'status' => 1, + 'pages' => '', + 'weight' => 2, + 'title' => '', + ); + drupal_write_record('block', $search_block); + + // Create a default role for site administrators, with all available permissions assigned. + $admin_role = new stdClass(); + $admin_role->name = 'administrator'; + $admin_role->weight = 2; + user_role_save($admin_role); + // Set this as the administrator role. + variable_set('user_admin_role', $admin_role->rid); + + // Assign user 1 the "administrator" role. + db_insert('users_roles') + ->fields(array('uid' => 1, 'rid' => $admin_role->rid)) + ->execute(); + + // AdaptiveTheme requires that the system theme settings form + // be submitted in order for its themes' settings to be properly set + // and the resulting css files generated. + // For more background, see http://drupal.org/node/1776730. + module_load_include('inc', 'system', 'system.admin'); + foreach (array('adaptivetheme', 'commons_origins') as $theme_name) { + $form_state = form_state_defaults(); + $form_state['build_info']['args'][0] = $theme_name; + $form_state['values'] = array(); + drupal_form_submit('system_theme_settings', $form_state); + } +} diff --git a/groups.profile b/groups.profile new file mode 100644 index 0000000..85abf8e --- /dev/null +++ b/groups.profile @@ -0,0 +1,134 @@ += '128M') { + ini_set('memory_limit', '196M'); + } + + return array( + 'groups_revert_features' => array( + 'display' => FALSE, + ), + ); +} + +/** + * Override of install_finished() without the useless text. + */ +function groups_install_finished(&$install_state) { + // BEGIN copy/paste from install_finished(). + // Remove the bookmarks flag + $flag = flag_get_flag('bookmarks'); + if($flag) { + $flag->delete(); + $flag->disable(); + _flag_clear_cache(); + } + + // Flush all caches to ensure that any full bootstraps during the installer + // do not leave stale cached data, and that any content types or other items + // registered by the installation profile are registered correctly. + drupal_flush_all_caches(); + + // Remember the profile which was used. + variable_set('install_profile', drupal_get_profile()); + + // Installation profiles are always loaded last + db_update('system') + ->fields(array('weight' => 1000)) + ->condition('type', 'module') + ->condition('name', drupal_get_profile()) + ->execute(); + + // Cache a fully-built schema. + drupal_get_schema(NULL, TRUE); + + // Run cron to populate update status tables (if available) so that users + // will be warned if they've installed an out of date Drupal version. + // Will also trigger indexing of profile-supplied content or feeds. + drupal_cron_run(); + // END copy/paste from install_finished(). + + if (isset($messages['error'])) { + $output = '

' . (isset($messages['error']) ? st('Review the messages above before visiting your new site.', array('@url' => url(''))) : st('Visit your new site.', array('@url' => url('')))) . '

'; + return $output; + } + else { + // Since any module can add a drupal_set_message, this can bug the user + // when we redirect him to the front page. For a better user experience, + // remove all the message that are only "notifications" message. + groups_clear_messages(); + // If we don't install drupal using Drush, redirect the user to the front + // page. + if (!drupal_is_cli()) { + drupal_goto(''); + } + } +} + +/* + * Revert Features after the installation. + */ +function groups_revert_features() { + // Revert Features components to ensure that they are in their default states. + $revert = array( + 'commons_groups' => array('field_instance'), + 'commons_trusted_contacts' => array('field_instance'), + 'commons_wikis' => array('og_features_permission'), + 'commons_wysiwyg' => array('user_permission', 'ckeditor_profile'), + ); + features_revert($revert); +} + +/** + * Clear all 'notification' type messages that may have been set. + */ +function groups_clear_messages() { + drupal_get_messages('status', TRUE); + drupal_get_messages('completed', TRUE); + // Migrate adds its messages under the wrong type, see #1659150. + drupal_get_messages('ok', TRUE); +} + + diff --git a/osgroups.info b/osgroups.info deleted file mode 100644 index 56871f8..0000000 --- a/osgroups.info +++ /dev/null @@ -1,7 +0,0 @@ -base = commons - -name = OpenStack User groups site -project = osgroups -distribution_name = "OpenStack User groups" -description = Ready-to-use solution for managing OpenStack communities. -core = 7.x diff --git a/osgroups.install b/osgroups.install deleted file mode 100644 index 8d37190..0000000 --- a/osgroups.install +++ /dev/null @@ -1,4 +0,0 @@ -