From b6cdc24fddd7cadf0d7277c149eac5f67c016812 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 14 Jan 2006 21:37:29 +0000 Subject: [PATCH] r702: Adding new default data --- docs/datatools_store.php | 2 +- install/default_data.php | 94 ++++++++++++++++++++++++++++++---------- 2 files changed, 73 insertions(+), 23 deletions(-) diff --git a/docs/datatools_store.php b/docs/datatools_store.php index 782572b..c064915 100644 --- a/docs/datatools_store.php +++ b/docs/datatools_store.php @@ -3,6 +3,6 @@ // stores exported data data // SVN $Id$ -$DATASTORE = "a:5:{s:10:\"usergroups\";a:6:{i:0;a:6:{s:11:\"usergroupid\";s:1:\"1\";s:5:\"title\";s:26:\"Unregistered/Not Logged In\";s:12:\"displaytitle\";s:5:\"Guest\";s:7:\"opentag\";s:0:\"\";s:8:\"closetag\";s:0:\"\";s:11:\"permissions\";s:2:\"83\";}i:1;a:6:{s:11:\"usergroupid\";s:1:\"2\";s:5:\"title\";s:16:\"Registered Users\";s:12:\"displaytitle\";s:10:\"Registered\";s:7:\"opentag\";s:0:\"\";s:8:\"closetag\";s:0:\"\";s:11:\"permissions\";s:3:\"255\";}i:2;a:6:{s:11:\"usergroupid\";s:1:\"3\";s:5:\"title\";s:27:\"Awaiting Email Confirmation\";s:12:\"displaytitle\";s:18:\"Pending Activation\";s:7:\"opentag\";s:0:\"\";s:8:\"closetag\";s:0:\"\";s:11:\"permissions\";s:1:\"3\";}i:3;a:6:{s:11:\"usergroupid\";s:1:\"4\";s:5:\"title\";s:16:\"Pending Approval\";s:12:\"displaytitle\";s:15:\"Account Pending\";s:7:\"opentag\";s:0:\"\";s:8:\"closetag\";s:0:\"\";s:11:\"permissions\";s:1:\"3\";}i:4;a:6:{s:11:\"usergroupid\";s:1:\"5\";s:5:\"title\";s:10:\"Developers\";s:12:\"displaytitle\";s:9:\"Developer\";s:7:\"opentag\";s:8:\"\";s:8:\"closetag\";s:9:\"\";s:11:\"permissions\";s:8:\"15736831\";}i:5;a:6:{s:11:\"usergroupid\";s:1:\"6\";s:5:\"title\";s:14:\"Administrators\";s:12:\"displaytitle\";s:13:\"Administrator\";s:7:\"opentag\";s:12:\"\";s:8:\"closetag\";s:14:\"\";s:11:\"permissions\";s:8:\"16777215\";}}s:8:\"statuses\";a:5:{i:0;a:4:{s:8:\"statusid\";s:1:\"1\";s:6:\"status\";s:11:\"Unconfirmed\";s:12:\"displayorder\";s:1:\"1\";s:5:\"color\";s:7:\"#D96640\";}i:1;a:4:{s:8:\"statusid\";s:1:\"2\";s:6:\"status\";s:8:\"Verified\";s:12:\"displayorder\";s:1:\"2\";s:5:\"color\";s:7:\"#FFFF40\";}i:2;a:4:{s:8:\"statusid\";s:1:\"3\";s:6:\"status\";s:8:\"Assigned\";s:12:\"displayorder\";s:1:\"3\";s:5:\"color\";s:7:\"#B266D9\";}i:3;a:4:{s:8:\"statusid\";s:1:\"4\";s:6:\"status\";s:6:\"Closed\";s:12:\"displayorder\";s:1:\"4\";s:5:\"color\";s:7:\"#8CD940\";}i:4;a:4:{s:8:\"statusid\";s:1:\"5\";s:6:\"status\";s:8:\"Reopened\";s:12:\"displayorder\";s:1:\"5\";s:5:\"color\";s:7:\"#40D9FF\";}}s:8:\"severity\";a:6:{i:0;a:3:{s:10:\"severityid\";s:1:\"1\";s:8:\"severity\";s:7:\"Trivial\";s:12:\"displayorder\";s:1:\"1\";}i:1;a:3:{s:10:\"severityid\";s:1:\"2\";s:8:\"severity\";s:5:\"Minor\";s:12:\"displayorder\";s:1:\"2\";}i:2;a:3:{s:10:\"severityid\";s:1:\"3\";s:8:\"severity\";s:8:\"Moderate\";s:12:\"displayorder\";s:1:\"3\";}i:3;a:3:{s:10:\"severityid\";s:1:\"4\";s:8:\"severity\";s:5:\"Major\";s:12:\"displayorder\";s:1:\"4\";}i:4;a:3:{s:10:\"severityid\";s:1:\"5\";s:8:\"severity\";s:8:\"Critical\";s:12:\"displayorder\";s:1:\"5\";}i:5;a:3:{s:10:\"severityid\";s:1:\"6\";s:8:\"severity\";s:11:\"Enhancement\";s:12:\"displayorder\";s:1:\"6\";}}s:10:\"priorities\";a:5:{i:0;a:3:{s:10:\"priorityid\";s:1:\"1\";s:8:\"priority\";s:6:\"Normal\";s:12:\"displayorder\";s:1:\"1\";}i:1;a:3:{s:10:\"priorityid\";s:1:\"2\";s:8:\"priority\";s:3:\"Low\";s:12:\"displayorder\";s:1:\"2\";}i:2;a:3:{s:10:\"priorityid\";s:1:\"3\";s:8:\"priority\";s:4:\"High\";s:12:\"displayorder\";s:1:\"3\";}i:3;a:3:{s:10:\"priorityid\";s:1:\"4\";s:8:\"priority\";s:11:\"Address Now\";s:12:\"displayorder\";s:1:\"4\";}i:4;a:3:{s:10:\"priorityid\";s:1:\"5\";s:8:\"priority\";s:8:\"Deferred\";s:12:\"displayorder\";s:1:\"5\";}}s:11:\"resolutions\";a:6:{i:0;a:3:{s:12:\"resolutionid\";s:1:\"1\";s:10:\"resolution\";s:4:\"Open\";s:12:\"displayorder\";s:1:\"1\";}i:1;a:3:{s:12:\"resolutionid\";s:1:\"2\";s:10:\"resolution\";s:5:\"Fixed\";s:12:\"displayorder\";s:1:\"2\";}i:2;a:3:{s:12:\"resolutionid\";s:1:\"3\";s:10:\"resolution\";s:5:\"Bogus\";s:12:\"displayorder\";s:1:\"3\";}i:3;a:3:{s:12:\"resolutionid\";s:1:\"4\";s:10:\"resolution\";s:9:\"Duplicate\";s:12:\"displayorder\";s:1:\"4\";}i:4;a:3:{s:12:\"resolutionid\";s:1:\"5\";s:10:\"resolution\";s:9:\"Won\'t Fix\";s:12:\"displayorder\";s:1:\"5\";}i:5;a:3:{s:12:\"resolutionid\";s:1:\"6\";s:10:\"resolution\";s:12:\"Works for Me\";s:12:\"displayorder\";s:1:\"6\";}}}"; +$DATASTORE = "a:6:{s:10:\"usergroups\";a:6:{i:0;a:4:{s:11:\"usergroupid\";s:1:\"1\";s:5:\"title\";s:26:\"Unregistered/Not Logged In\";s:12:\"displaytitle\";s:5:\"Guest\";s:11:\"permissions\";s:2:\"83\";}i:1;a:4:{s:11:\"usergroupid\";s:1:\"2\";s:5:\"title\";s:16:\"Registered Users\";s:12:\"displaytitle\";s:10:\"Registered\";s:11:\"permissions\";s:3:\"255\";}i:2;a:4:{s:11:\"usergroupid\";s:1:\"3\";s:5:\"title\";s:27:\"Awaiting Email Confirmation\";s:12:\"displaytitle\";s:18:\"Pending Activation\";s:11:\"permissions\";s:1:\"3\";}i:3;a:4:{s:11:\"usergroupid\";s:1:\"4\";s:5:\"title\";s:16:\"Pending Approval\";s:12:\"displaytitle\";s:15:\"Account Pending\";s:11:\"permissions\";s:1:\"3\";}i:4;a:4:{s:11:\"usergroupid\";s:1:\"5\";s:5:\"title\";s:10:\"Developers\";s:12:\"displaytitle\";s:9:\"Developer\";s:11:\"permissions\";s:8:\"15736831\";}i:5;a:4:{s:11:\"usergroupid\";s:1:\"6\";s:5:\"title\";s:14:\"Administrators\";s:12:\"displaytitle\";s:13:\"Administrator\";s:11:\"permissions\";s:8:\"16777215\";}}s:8:\"statuses\";a:5:{i:0;a:4:{s:8:\"statusid\";s:1:\"1\";s:6:\"status\";s:11:\"Unconfirmed\";s:12:\"displayorder\";s:1:\"1\";s:5:\"color\";s:7:\"#D96640\";}i:1;a:4:{s:8:\"statusid\";s:1:\"2\";s:6:\"status\";s:8:\"Verified\";s:12:\"displayorder\";s:1:\"2\";s:5:\"color\";s:7:\"#FFFF40\";}i:2;a:4:{s:8:\"statusid\";s:1:\"3\";s:6:\"status\";s:8:\"Assigned\";s:12:\"displayorder\";s:1:\"3\";s:5:\"color\";s:7:\"#B266D9\";}i:3;a:4:{s:8:\"statusid\";s:1:\"4\";s:6:\"status\";s:6:\"Closed\";s:12:\"displayorder\";s:1:\"4\";s:5:\"color\";s:7:\"#8CD940\";}i:4;a:4:{s:8:\"statusid\";s:1:\"5\";s:6:\"status\";s:8:\"Reopened\";s:12:\"displayorder\";s:1:\"5\";s:5:\"color\";s:7:\"#40D9FF\";}}s:8:\"severity\";a:6:{i:0;a:3:{s:10:\"severityid\";s:1:\"1\";s:8:\"severity\";s:11:\"Enhancement\";s:12:\"displayorder\";s:1:\"1\";}i:1;a:3:{s:10:\"severityid\";s:1:\"2\";s:8:\"severity\";s:7:\"Trivial\";s:12:\"displayorder\";s:1:\"2\";}i:2;a:3:{s:10:\"severityid\";s:1:\"3\";s:8:\"severity\";s:5:\"Minor\";s:12:\"displayorder\";s:1:\"3\";}i:3;a:3:{s:10:\"severityid\";s:1:\"4\";s:8:\"severity\";s:8:\"Moderate\";s:12:\"displayorder\";s:1:\"4\";}i:4;a:3:{s:10:\"severityid\";s:1:\"5\";s:8:\"severity\";s:5:\"Major\";s:12:\"displayorder\";s:1:\"5\";}i:5;a:3:{s:10:\"severityid\";s:1:\"6\";s:8:\"severity\";s:8:\"Critical\";s:12:\"displayorder\";s:1:\"6\";}}s:10:\"priorities\";a:5:{i:0;a:3:{s:10:\"priorityid\";s:1:\"1\";s:8:\"priority\";s:8:\"Deferred\";s:12:\"displayorder\";s:1:\"1\";}i:1;a:3:{s:10:\"priorityid\";s:1:\"2\";s:8:\"priority\";s:3:\"Low\";s:12:\"displayorder\";s:1:\"2\";}i:2;a:3:{s:10:\"priorityid\";s:1:\"3\";s:8:\"priority\";s:6:\"Normal\";s:12:\"displayorder\";s:1:\"3\";}i:3;a:3:{s:10:\"priorityid\";s:1:\"4\";s:8:\"priority\";s:4:\"High\";s:12:\"displayorder\";s:1:\"4\";}i:4;a:3:{s:10:\"priorityid\";s:1:\"5\";s:8:\"priority\";s:11:\"Address Now\";s:12:\"displayorder\";s:1:\"5\";}}s:11:\"resolutions\";a:6:{i:0;a:3:{s:12:\"resolutionid\";s:1:\"1\";s:10:\"resolution\";s:4:\"Open\";s:12:\"displayorder\";s:1:\"1\";}i:1;a:3:{s:12:\"resolutionid\";s:1:\"2\";s:10:\"resolution\";s:5:\"Fixed\";s:12:\"displayorder\";s:1:\"2\";}i:2;a:3:{s:12:\"resolutionid\";s:1:\"3\";s:10:\"resolution\";s:5:\"Bogus\";s:12:\"displayorder\";s:1:\"3\";}i:3;a:3:{s:12:\"resolutionid\";s:1:\"4\";s:10:\"resolution\";s:9:\"Duplicate\";s:12:\"displayorder\";s:1:\"4\";}i:4;a:3:{s:12:\"resolutionid\";s:1:\"5\";s:10:\"resolution\";s:9:\"Won\'t Fix\";s:12:\"displayorder\";s:1:\"5\";}i:5;a:3:{s:12:\"resolutionid\";s:1:\"6\";s:10:\"resolution\";s:12:\"Works for Me\";s:12:\"displayorder\";s:1:\"6\";}}s:9:\"user help\";a:12:{i:0;a:3:{s:9:\"keystring\";s:5:\"bugid\";s:5:\"title\";s:15:\"Bug ID & Hidden\";s:4:\"body\";s:361:\"The bug ID is a unique identification number that can be used to to quickly locate it. The ID is also used for duplicates and dependencies. Marking a bug as "hidden" will prevent all users who cannot see hidden bugs (see the BugStrike manual regarding permissions). Hiding is useful for critical security issues that you do not want to be made public.\";}i:1;a:3:{s:9:\"keystring\";s:7:\"summary\";s:5:\"title\";s:7:\"Summary\";s:4:\"body\";s:108:\"The bug summary is used to give an overall description of the problem. It is displayed on all listing pages.\";}i:2;a:3:{s:9:\"keystring\";s:8:\"reporter\";s:5:\"title\";s:8:\"Reporter\";s:4:\"body\";s:139:\"The reporter is the user who is responsible for the initial bug report. If you need to get follow-up information, you should ask this user.\";}i:3;a:3:{s:9:\"keystring\";s:8:\"dateline\";s:5:\"title\";s:11:\"Report Time\";s:4:\"body\";s:63:\"The report time is the date and time of the initial bug report.\";}i:4;a:3:{s:9:\"keystring\";s:7:\"product\";s:5:\"title\";s:15:\"Product/Version\";s:4:\"body\";s:252:\"The product, component, and version show the general area where the problem occurs. Products are broad--for instance a car--whereas components would be like a door, using our car analogy. Versions show the specific revision at which the problem occurs.\";}i:5;a:3:{s:9:\"keystring\";s:10:\"assignedto\";s:5:\"title\";s:10:\"Assignment\";s:4:\"body\";s:103:\"The person who the bug is assigned to (if anybody) is the developer who is charged with fixing the bug.\";}i:6;a:3:{s:9:\"keystring\";s:6:\"status\";s:5:\"title\";s:6:\"Status\";s:4:\"body\";s:83:\"Status describes the state of the bug and how it is being handled, if it is at all.\";}i:7;a:3:{s:9:\"keystring\";s:10:\"resolution\";s:5:\"title\";s:10:\"Resolution\";s:4:\"body\";s:140:\"The resolution is the explanation for the status. Usually the resolution is set when a bug is marked "Closed" in the status field.\";}i:8;a:3:{s:9:\"keystring\";s:8:\"severity\";s:5:\"title\";s:8:\"Severity\";s:4:\"body\";s:145:\"Severity is the degree of the problem. This allows differentiation between a critical security flaw versus a slight annoyance with a work-around.\";}i:9;a:3:{s:9:\"keystring\";s:8:\"priority\";s:5:\"title\";s:8:\"Priority\";s:4:\"body\";s:221:\"The priority shows the degree of celerity with which the bug will be fixed. This is different from severity in that, a bug could be a valid issue, but it could be for an old version and thus the priority wouldn\'t be high.\";}i:10;a:3:{s:9:\"keystring\";s:11:\"duplicateof\";s:5:\"title\";s:12:\"Duplicate Of\";s:4:\"body\";s:107:\"If a bug is the same as another one in the bug tracker, you can enter the bug ID of that bug in this field.\";}i:11;a:3:{s:9:\"keystring\";s:10:\"dependency\";s:5:\"title\";s:12:\"Dependencies\";s:4:\"body\";s:177:\"If a bug is affected by another bug, you can enter the ID of the bug that affects this bug here. You can enter multiple values into this field by separating the IDs with spaces.\";}}}"; ?> \ No newline at end of file diff --git a/install/default_data.php b/install/default_data.php index aa80f92..4a443ad 100644 --- a/install/default_data.php +++ b/install/default_data.php @@ -16,48 +16,36 @@ $data = array( 'usergroupid' => '1', 'title' => 'Unregistered/Not Logged In', 'displaytitle' => 'Guest', - 'opentag' => '', - 'closetag' => '', 'permissions' => '83' ), array( 'usergroupid' => '2', 'title' => 'Registered Users', 'displaytitle' => 'Registered', - 'opentag' => '', - 'closetag' => '', 'permissions' => '255' ), array( 'usergroupid' => '3', 'title' => 'Awaiting Email Confirmation', 'displaytitle' => 'Pending Activation', - 'opentag' => '', - 'closetag' => '', 'permissions' => '3' ), array( 'usergroupid' => '4', 'title' => 'Pending Approval', 'displaytitle' => 'Account Pending', - 'opentag' => '', - 'closetag' => '', 'permissions' => '3' ), array( 'usergroupid' => '5', 'title' => 'Developers', 'displaytitle' => 'Developer', - 'opentag' => '', - 'closetag' => '', 'permissions' => '15736831' ), array( 'usergroupid' => '6', 'title' => 'Administrators', 'displaytitle' => 'Administrator', - 'opentag' => '', - 'closetag' => '', 'permissions' => '16777215' ) ), @@ -96,39 +84,39 @@ $data = array( 'severity' => array( array( 'severityid' => '1', - 'severity' => 'Trivial', + 'severity' => 'Enhancement', 'displayorder' => '1' ), array( 'severityid' => '2', - 'severity' => 'Minor', + 'severity' => 'Trivial', 'displayorder' => '2' ), array( 'severityid' => '3', - 'severity' => 'Moderate', + 'severity' => 'Minor', 'displayorder' => '3' ), array( 'severityid' => '4', - 'severity' => 'Major', + 'severity' => 'Moderate', 'displayorder' => '4' ), array( 'severityid' => '5', - 'severity' => 'Critical', + 'severity' => 'Major', 'displayorder' => '5' ), array( 'severityid' => '6', - 'severity' => 'Enhancement', + 'severity' => 'Critical', 'displayorder' => '6' ) ), 'priority' => array( array( 'priorityid' => '1', - 'priority' => 'Normal', + 'priority' => 'Deferred', 'displayorder' => '1' ), array( @@ -138,17 +126,17 @@ $data = array( ), array( 'priorityid' => '3', - 'priority' => 'High', + 'priority' => 'Normal', 'displayorder' => '3' ), array( 'priorityid' => '4', - 'priority' => 'Address Now', + 'priority' => 'High', 'displayorder' => '4' ), array( 'priorityid' => '5', - 'priority' => 'Deferred', + 'priority' => 'Address Now', 'displayorder' => '5' ) ), @@ -183,6 +171,68 @@ $data = array( 'resolution' => 'Works for Me', 'displayorder' => '6' ) + ), + 'fieldhelp' => array( + array( + 'keystring' => 'bugid', + 'title' => 'Bug ID & Hidden', + 'body' => 'The bug ID is a unique identification number that can be used to to quickly locate it. The ID is also used for duplicates and dependencies. Marking a bug as "hidden" will prevent all users who cannot see hidden bugs (see the BugStrike manual regarding permissions). Hiding is useful for critical security issues that you do not want to be made public.' + ), + array( + 'keystring' => 'summary', + 'title' => 'Summary', + 'body' => 'The bug summary is used to give an overall description of the problem. It is displayed on all listing pages.' + ), + array( + 'keystring' => 'reporter', + 'title' => 'Reporter', + 'body' => 'The reporter is the user who is responsible for the initial bug report. If you need to get follow-up information, you should ask this user.' + ), + array( + 'keystring' => 'dateline', + 'title' => 'Report Time', + 'body' => 'The report time is the date and time of the initial bug report.' + ), + array( + 'keystring' => 'product', + 'title' => 'Product/Version', + 'body' => 'The product, component, and version show the general area where the problem occurs. Products are broad--for instance a car--whereas components would be like a door, using our car analogy. Versions show the specific revision at which the problem occurs.' + ), + array( + 'keystring' => 'assignedto', + 'title' => 'Assignment', + 'body' => 'The person who the bug is assigned to (if anybody) is the developer who is charged with fixing the bug.' + ), + array( + 'keystring' => 'status', + 'title' => 'Status', + 'body' => 'Status describes the state of the bug and how it is being handled, if it is at all.' + ), + array( + 'keystring' => 'resolution', + 'title' => 'Resolution', + 'body' => 'The resolution is the explanation for the status. Usually the resolution is set when a bug is marked "Closed" in the status field.' + ), + array( + 'keystring' => 'severity', + 'title' => 'Severity', + 'body' => 'Severity is the degree of the problem. This allows differentiation between a critical security flaw versus a slight annoyance with a work-around.' + ), + array( + 'keystring' => 'priority', + 'title' => 'Priority', + 'body' => 'The priority shows the degree of celerity with which the bug will be fixed. This is different from severity in that, a bug could be a valid issue, but it could be for an old version and thus the priority wouldn\'t be high.' + ), + array( + 'keystring' => 'duplicateof', + 'title' => 'Duplicate Of', + 'body' => 'If a bug is the same as another one in the bug tracker, you can enter the bug ID of that bug in this field.' + ), + array( + 'keystring' => 'dependency', + 'title' => 'Dependencies', + 'body' => 'If a bug is affected by another bug, you can enter the ID of the bug that affects this bug here. You can enter multiple values into this field by separating the IDs with spaces.' + ) ) ); -- 2.43.5