? drupalorg_testing-6.x-273586-1.patch
Index: drupalorg_testing.profile
===================================================================
RCS file: /cvs/drupal-contrib/contributions/profiles/drupalorg_testing/drupalorg_testing.profile,v
retrieving revision 1.42
diff -u -p -r1.42 drupalorg_testing.profile
--- drupalorg_testing.profile	16 May 2008 12:21:01 -0000	1.42
+++ drupalorg_testing.profile	22 Jun 2008 20:44:34 -0000
@@ -67,12 +67,12 @@ define('D_O_ROLE_SWITCH', 7);
 
 function drupalorg_testing_profile_modules() {
   return array(
-    // core, required
-    'block', 'filter', 'node', 'system', 'user', 'watchdog',
-    // core, optional as per http://drupal.org/node/27367
-    'aggregator', 'book', 'comment', 'contact', 'drupal', 'forum', 'help',
-    'legacy', 'path', 'profile', 'menu', 'search', 'statistics',
-    'taxonomy', 'tracker', 'upload',
+    // Core, optional as per http://drupal.org/node/27367.
+    // Generally, these are in alphabetical order, except where dependencies
+    // dictate otherwise (e.g. comment -> taxonomy -> forum).
+    'aggregator', 'book', 'comment', 'taxonomy', 'forum', 'contact', 'dblog',
+    'help', 'path', 'profile', 'menu', 'search', 'statistics', 'tracker',
+    'upload',
     // contrib modules
     'codefilter', 'cvs', 'devel', 'project', 'project_issue', 'project_release',
     'comment_upload',
@@ -153,6 +153,7 @@ function _drupalorg_testing_configure_co
   variable_set('comment_preview', 0);
   variable_set('comment_form_location', 1);
 }
+
 function _drupalorg_testing_configure_devel_module() {
   variable_set('dev_query', 1);
   variable_set('devel_query_display', 1);
@@ -496,7 +497,13 @@ function _drupalorg_testing_create_proje
     t('Translations') => t('Drupal uses English by default, but may be translated to many other languages. To install these translations, unzip them and import the .po file through Drupal\'s administration interface for localization. You will need to turn on the locale module if it\'s not already enabled. You can check the completeness of translations on the translations <a href="/translation-status">status page</a>.'),
   );
   foreach ($terms as $name => $description) {
-    drupal_execute('taxonomy_form_term', array('name' => $name, 'description' => $description), $vid);
+    $term = array();
+    $term['values'] = array(
+      'name' => $name,
+      'description' => $description,
+      'vid' => $vid,
+    );
+    drupal_execute('taxonomy_form_term', $term);
   }
 
   // Add module categories.
@@ -531,7 +538,13 @@ function _drupalorg_testing_create_proje
     t('Views'),
   );
   foreach ($terms as $name) {
-    drupal_execute('taxonomy_form_term', array('name' => $name, 'parent' => $parent), $vid);
+    $term = array();
+    $term['values'] = array(
+      'name' => $name,
+      'parent' => $parent,
+      'vid' => $vid,
+    );
+    drupal_execute('taxonomy_form_term', $term);
   }
 
   // Add release versions.
@@ -544,7 +557,12 @@ function _drupalorg_testing_create_proje
   // For releases to be properly ordered in the download tables, the oldest taxonomy
   // terms must have the heaviest weights.
   foreach ($terms as $name) {
-    drupal_execute('taxonomy_form_term', array('name' => $name, 'weight' => $weight), $vid);
+    $term = array();
+    $term['values'] = array(
+      'name' => $name,
+      'weight' => $weight,
+      'vid' => $vid,
+    );
     $weight--;
   }
 
@@ -562,7 +580,12 @@ function _drupalorg_testing_create_proje
     t('New features'),
   );
   foreach ($terms as $name) {
-    drupal_execute('taxonomy_form_term', array('name' => $name), $vid);
+    $term = array();
+    $term['values'] = array(
+      'name' => $name,
+      'vid' => $vid,
+    );
+    drupal_execute('taxonomy_form_term', $term);
   }
 }
 
