? drupalorg_testing-project-config.patch
Index: drupalorg_testing.profile
===================================================================
RCS file: /cvs/drupal-contrib/contributions/profiles/drupalorg_testing/drupalorg_testing.profile,v
retrieving revision 1.36
diff -u -p -r1.36 drupalorg_testing.profile
--- drupalorg_testing.profile	24 Jan 2008 03:56:06 -0000	1.36
+++ drupalorg_testing.profile	25 Jan 2008 15:38:59 -0000
@@ -576,6 +576,17 @@ function _drupalorg_testing_create_conte
 function _drupalorg_testing_configure_project_settings() {
   variable_set('project_sort_method', 'category');
 
+  // Disable comments and file attachments on project_project and project_release nodes.
+  variable_set('comment_project_project', COMMENT_NODE_DISABLED);
+  variable_set('upload_project_project', 0);
+  variable_set('comment_project_release', COMMENT_NODE_DISABLED);
+  variable_set('upload_project_release', 0);
+
+  // Disable automatic promotion of project_project, project_issue, and project_release nodes.
+  variable_set('node_options_project_project', array('status'));
+  variable_set('node_options_project_issue', array('status'));
+  variable_set('node_options_project_release', array('status'));
+
   $types = array(
     t('Drupal Project') => array('name'),
     t('Installation profiles') => array('name', 'date'),
