-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
79 lines (66 loc) · 3.87 KB
/
Copy pathREADME
File metadata and controls
79 lines (66 loc) · 3.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
FOR LICENSING INFORMATION PLEASE REFER TO THE LICENSE FILE, WHICH YOU SHOULD HAVE RECEIVED WITH
THIS PACKAGE.
0) Preface
0.1) Project Names:
Generally about dotProject and Mantis.
Mantis is great bug tracking application and bugs are assigned to projects. But dotProject
is project management system. This includes not only issue solving but time tracking,
budget calculation etc. etc.
So dotProject is the leading application and that's why Mantis is being integrated into
dotProject and not the other way around.
How can definitely identify a project? By Name?
Nope. What about "Support" for two different projects for the same company? Or what about
"Security Improvements" for the same project "Web Site Dev" but for two different companies.
While working on this module I faced this problem and as a first approach I decided
that each one project must have a unique name, regardless of the company. So the
project name of "Security Improvements" for Company 1 would be "Security Improvements
for Company 1" or "CP1 - Security Improvements" - it is up to you.
The point is: at this stage of development the correct identification of projects in dP
and Mantis is done only by name.
I am aware of the fact that this is not a nice solution, so this is noted in "Know Issues"
What is the best way to consider user permissions for Mantis users?
One single Mantis account won't be enough because only administrator are allowed to
create new projects in Mantis, only developers are allowed to change the status of
an issue.
So the real question is: how to identify each one user in Mantis.
Well, the only meaningful answer would be: users must have same usernames and passwords
in both tools.
0.2) Workflow:
This all being said pops the question about a correct workflow.
It is not my job to tell how to organize your workflow, it is my job to make sure that
this module makes sense for each one workflow.
However there are several things to be considered.
0.2.1) People that have the privileges to create new or to edit existing projects in dP must
have administrator access in Mantis
OR
0.2.2) else when creating projects in dP people have to mail project_name and project_description
to a Mantis administrator.
0.2.3) 1 is automated and saves time. However if you choose the "no.core" branch of the module
(see section 0.3) in combination with 2 each change of the project_name will result in double
work - once in dP and once in Mantis
0.3) Branches:
Two branches? Why?
We at http://mgtraining.com wanted the Mantis Integration to be as automated as possible. In
order to achieve this, one file of the dP core had to be modified. This change allows us to
make changes of project_name and project_description in both tools at the same time by changing
them in the leading application - dotProject.
The second branch - "no.core" - has some cutbacks, but it is still as automated as possible. And
this is the branch I am advising you to take if you don't feel happy or sure what you're doing
when editing core files.
Each branch comes with its own README.branch.
0.4) Compatibility:
The module was developed under dp.2.1.rc1 has not been tested with other dotProject versions.
Please come back to me if you found the module to be (not) working with other versions.
It is also testes with Mantis 1.06 and 1.07.
1) Requirements:
1.1) Valid dotProject installation
1.2) Valid Mantis installation
1.3) All users must be registered in both tools with same username and same password.
1.4) Projects must have the same names, see section 0.1.
2) Installation:
See README.branch.name
3) Postinstall:
Table sorting is done on the fly using JavaScript. Unfurtunately it is enabled only when viewing the complete
overview and NOT when viewing the mantis tab on a specific project.
To enable: move from dotproject/modules/mantis/index.js to dotproject/js/sortable.js
Done :)