final move of files
[web.mtrack] / help / bin / Modify
1 = bin/modify.php =
2
3 This script can be used to modify an existing mtrack instance.  You should try
4 to use the administration interface where possible.
5
6 == Synopsis ==
7
8 {{{
9 % cd $MTRACK
10 % php bin/modify.php ...parameters...
11 }}}
12
13 == Parameters ==
14
15 === --repo !{name} !{type} !{repopath} === #repo
16
17 Adds a source repository.  This works in the same way as the
18 [help:bin/Init#repo repo option for bin/init.php].
19
20 === --link !{project} !{repo} !{location} === #link
21
22 Defines a link between the project identified by short name !{project} and the
23 repository named !{name} by the source location identified by the regex
24 !{location}.
25
26 This works in the same way as the [help:bin/Init#link link option for bin/init.php].
27
28 === --trac !{project} !{tracenv} === #trac
29
30 Imports data from a the trac environment on the local filesystem at !{tracenv}, and associate it with the project named !{project}.
31
32 This works in the same way as the
33 [help:bin/Init#trac trac option for bin/init.php],
34 ''except that the trac imports will always be treated as
35 secondary instances''.  This means that the tickets and wiki pages will all be
36 prefixed with the project name.
37
38 === --config-file !{filename} === #config-file
39
40 Where to find the pre-existing configuration file.
41
42 If not specified, defaults to {{{config.ini}}} in the mtrack directory.
43
44
45