Index: xcvs-config.php =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/cvslog/xcvs/xcvs-config.php,v retrieving revision 1.1.2.3 diff -u -r1.1.2.3 xcvs-config.php --- xcvs-config.php 18 Sep 2006 23:27:54 -0000 1.1.2.3 +++ xcvs-config.php 19 Sep 2006 08:21:44 -0000 @@ -11,17 +11,17 @@ // ------------------------------------------------------------ // Drupal database URL -$xcvs['db_url'] = 'mysql://USERNAME:PASSWORD@HOSTNAME/DBNAME'; +$xcvs['db_url'] = 'mysql://drupal:xxx@drupaldb.osuosl.org/drupal'; // File location where to store temporary files. $xcvs["temp"] = "/tmp"; // Directory where cvs commit log emails should be sent. If not // specified, no email is sent. -$xcvs["logs_mailto"] = ''; +$xcvs["logs_mailto"] = "drupal-cvs@drupal.org"; // From header to use for commit log emails. -$xcvs["logs_from"] = ''; +$xcvs["logs_from"] = "drupal-cvs@drupal.org"; // Drupal repository id that this installation of scripts is going to // interact with. If you only have one repository, leave this as '1'. @@ -29,7 +29,7 @@ // can find the appropriate value at the "admin/cvs/repositories" page // on your site. Click on the "edit" link, and notice the final number // in the resulting URL. -$xcvs["cvs_repo_id"] = 1; +$xcvs["cvs_repo_id"] = 2; // ------------------------------------------------------------ @@ -43,8 +43,7 @@ // %new => the new revision number of this file // If not set, no such link is included in commit email messages. // EXAMPLE: On cvs.drupal.org, we run viewcvs: -//$xcvs["logs_cvsurls"] = "http://cvs.drupal.org/diff.php?path=%file&old=%old&new=%new&root=contrib"; -$xcvs["logs_cvsurls"] = ''; +$xcvs["logs_cvsurls"] = "http://cvs.drupal.org/diff.php?path=%file&old=%old&new=%new&root=contrib"; // Should these scripts update the Drupal database with commit logs // and information to provide cvslog.module integration? @@ -76,7 +75,7 @@ // These users are always allowed full access, even if we can't // connect to the DB. This optional list should contain the CVS // usernames (not the Drupal username if they're different). -$xcvs['cvs_allow_users'] = array(); +$xcvs['cvs_allow_users'] = array('dries', 'unconed', 'killes', 'drumm'); // List of regular expressions describing files where commits are // always allowed, regardless of other access control. If empty, @@ -87,8 +86,7 @@ // commit .po or .pot files, which are used to store translations. // Similarly, anyone is allowed to commit changes to the documentation, // and sandbox directories. -//$xcvs['commit_allow_files'] = array("@.*\.(po|pot)@", "@^contributions/(docs|sandbox|tricks)@"); -$xcvs['commit_allow_files'] = array(); +$xcvs['commit_allow_files'] = array("@.*\.(po|pot)@", "@^contributions/(docs|sandbox|tricks)@"); // ------------------------------------------------------------ @@ -97,18 +95,19 @@ // List of regular expressions for tag names that should be allowed. // If this is empty, all tags are allowed. -$xcvs['valid_tags'] = array(); +// For now, we allow people to add regular tags for these things, +// as if they were branches. This should soon go away... +$xcvs['valid_tags'] = array('@^DRUPAL-3-0$@', '@^DRUPAL-4-[0-7]$@', '@^DRUPAL-5-0$@'); // List of regular expressions for branches that should be allowed // If this is empty, all branches are allowed. -$xcvs['valid_branches'] = array(); +$xcvs['valid_branches'] = array('@^DRUPAL-3-0$@', '@^DRUPAL-4-[0-7]$@', '@^DRUPAL-5-0$@'); // List of regular expressions for directories where tags should be // allowed. If empty, all directories can be tagged. // EXAMPLE: On drupal.org, only allow tags in the modules, themes, // theme-engines, docs and translations directories. -// $xcvs['tag_directory'] = array("@[^/]+?/(modules|themes|theme-engines|docs|translations)(/.+)?@"); -$xcvs['tag_directory'] = array(); +$xcvs['tag_directory'] = array("@[^/]+?/(modules|themes|theme-engines|docs|translations)(/.+)?@"); // Boolean to specify if tags should be disabled while historical // information is imported into the database. Only set this to TRUE @@ -130,15 +129,15 @@ EOF; $xcvs["project_not_found_error"] = <<