Updated readme
Jeremy D

Jeremy D commited on 2011-09-27 20:37:27
Showing 1 changed files, with 61 additions and 0 deletions.

... ...
@@ -0,0 +1,61 @@
1
+Mantis to The Bug Genie converter
2
+Authors:
3
+Jeremy D (SleePy) @ simplemachines.org
4
+groundup
5
+
6
+Translation table guide:
7
+
8
+Mantis Table	Mantis Column	TBG Table	TBG Column	Notes
9
+
10
+user_table	id	tbg3_users	id
11
+user_table	username	tbg3_users	username, buddyname
12
+user_table	realname	tbg3_users	realname
13
+user_table	email	tbg3_users	email
14
+user_table	password		password	Will send a new password to every user
15
+user_table	enabled	tbg3_users	enabled
16
+user_table	protected			Not sure what this is for
17
+user_table	access_level	tbg3_users		Get the MAX(user_table.access_level) to find who is an administrator. I think >= 90 is an admin - TBG admin group is id 1, otherwise set to 2. zegenie: Could also use the "admingroup" (admins) and "defaultgroup" (users) setting from tbg3_settings
18
+user_table	last_visit		lastseen
19
+user_table	date_created		joined
20
+
21
+tag_table		Not porting
22
+
23
+bug_table	id	issues	id
24
+bug_table	project_id	issues	project_id
25
+bug_table	summary	issues	title
26
+bug_table	handler_id	issues	assigned_to
27
+bug_table	duplicate_id	issues	duplicate_of
28
+bug_table	date_submitted	issues	posted
29
+bug_table	last_updated	issues	last_updated
30
+bug_table	status	issues	state	Is this open/closed (in tbg open=0 closed=1)
31
+bug_table	version	issueaffectsbuild	build	builds set below, id of issue in issueaffectsbuild must match in issues table
32
+bug_table	category_id	issues	category	Category IDs must be altered to match new TBG ones
33
+bug_table	resolution	issues	resolution
34
+bug_table	priority	issues	priority	Mantis (none = 10; low = 20; normal = 30; high = 40; urgent = 50; immediate = 60) TBG()
35
+bug_table	severity	issues	severity	Mantis (feature = 10; trivial = 20; text = 30; tweak = 40; minor = 50; major = 60; crash = 70; block = 80;) TBG (Low = 20; Normal = 21; Critical = 22) Mantis->TBG ()
36
+bug_table	reproducability	issues	reproducability	Mantis (always = 10; sometimes = 30; random = 50; have not tried = 70; unable to reproduce = 90; N/A = 100) TBG (Always = 12; Often = 11; Rarely = 10; Can't reproduce = 9) Mantis->TBG (10->12, 30->11, 50->10, 90->9, 70->null, 100->null)
37
+
38
+bug_text_table	steps_to_reproduce	issues	reproduction_steps	JOIN ON (bug_text_table.id = bug_table.bug_text_id)
39
+bug_text_table	description	issues	description	JOIN ON (bug_text_table.id = bug_table.bug_text_id)
40
+
41
+category_table	name	listtypes	name	set itemtype = category
42
+
43
+bug_relationships_table	source_bug_id	issuerelations	parent_id	These two should be swapped around if the opposite relation is true
44
+bug_relationships_table	destination_bug_id	issuerelations	child_id
45
+
46
+bugnote_table	bug_id	comments	target_id	set target_type to 1
47
+bugnote_table	last_modified	comments	updated
48
+bugnote_table	date_submitted	comments	posted
49
+bugnote_table	reporter_id	comments	updated_by
50
+bugnote_table	reporter_id	comments	posted_by
51
+bugnote_text_table	note	comments	content
52
+
53
+project_table	id	projects	id
54
+project_table	name	projects	name
55
+project_table	enabled	projects	locked	invert the val
56
+project_table	description	projects	description
57
+
58
+project_version_table	id	builds	id
59
+project_version_table	project_id	builds	project
60
+project_version_table	version	builds		yuck! gonna have to split this over version_major, version_minor and version_revision. Going to need the user to input the format. Use %s and %d as string and decimal places. So, for instance, a normal one would be %d.%d.%d %s (where the %s might be ignored or the "%d %s" becomes the version_revision) - note that all fields are integers AFAIK
61
+project_version_table	released	builds	isreleased
0 62