Changes between Version 26 and Version 27 of InterTrac
- Timestamp:
- Jul 19, 2006, 1:09:33 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InterTrac
v26 v27 30 30 The prefix is case insensitive. 31 31 32 For convenience, there's also analternative short-hand form,32 For convenience, there's also some alternative short-hand form, 33 33 where one can use an alias as an immediate prefix 34 34 for the identifier of a ticket, changeset or report: … … 45 45 }}} 46 46 47 It is necessary to setup a configuration for the InterTrac facility: 48 * in order to refer to a remote Trac 49 * for defining environment aliases 50 51 This is done quite simply in an `[intertrac]` section 52 within the `trac.ini` file. 47 It is necessary to setup a configuration for the InterTrac facility. 48 This configuration has to be done in the TracIni file, `[intertrac]` section. 53 49 54 50 Example configuration: … … 62 58 trac.title = Edgewall's Trac for Trac 63 59 trac.url = http://projects.edgewall.com/trac 60 trac.compat = false 64 61 }}} 65 62 66 Now, given this configuration, one could create the following links: 63 The `.url` is mandatory and is used for locating the other Trac. 64 This can be a relative URL in case that Trac environment is located 65 on the same server. 66 67 The `.title` information will be used for providing an useful tooltip 68 when moving the cursor over an InterTrac links. 69 70 Finally, the `.compat` option can be used to activate or disable 71 a ''compatbility'' mode: 72 * If the targeted Trac is running a version below milestone:0.10 73 (r3526 to be precise), then it doesn't know how to dispatch an InterTrac 74 link, and it's up to the local Trac to prepare the correct link. 75 Not all links will work that way, but the most common do. 76 This is called the compatibility mode, and is `true` by default. 77 * If you know that the remote Trac knows how to dispatch InterTrac links, 78 you can explicitely disable this compatibility mode and then ''any'' 79 TracLinks can become an InterTrac link. 80 81 Now, given the above configuration, one could create the following links: 67 82 * to this InterTrac page: 68 83 * `trac:wiki:InterTrac` trac:wiki:InterTrac … … 76 91 * `trac:changeset:1912` trac:changeset:1912 77 92 * `[T1912]` [T1912] 78 * to the log range [3300:3330]: '' whoops, still doesn't work, why?''79 * `trac:log: 3300:3330` trac:log:3300:333093 * to the log range [3300:3330]: ''Note: will work at next server upgrade'' 94 * `trac:log:@3300:3330` trac:log:@3300:3330 80 95 * `[trac 3300:3330]` [trac 3300:3330] 81 96