Edgewall Software

Changes between Version 26 and Version 27 of InterTrac


Ignore:
Timestamp:
Jul 19, 2006, 1:09:33 PM (18 years ago)
Author:
Christian Boos
Comment:

Document the <trac_prefix>.compat configuration option.

Legend:

Unmodified
Added
Removed
Modified
  • InterTrac

    v26 v27  
    3030The prefix is case insensitive.
    3131
    32 For convenience, there's also an alternative short-hand form,
     32For convenience, there's also some alternative short-hand form,
    3333where one can use an alias as an immediate prefix
    3434for the identifier of a ticket, changeset or report:
     
    4545}}}
    4646
    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.
     47It is necessary to setup a configuration for the InterTrac facility.
     48This configuration has to be done in the TracIni file, `[intertrac]` section.
    5349
    5450Example configuration:
     
    6258trac.title = Edgewall's Trac for Trac
    6359trac.url = http://projects.edgewall.com/trac
     60trac.compat = false
    6461}}}
    6562
    66 Now, given this configuration, one could create the following links:
     63The `.url` is mandatory and is used for locating the other Trac.
     64This can be a relative URL in case that Trac environment is located
     65on the same server.
     66
     67The `.title` information will be used for providing an useful tooltip
     68when moving the cursor over an InterTrac links.
     69
     70Finally, the `.compat` option can be used to activate or disable
     71a ''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
     81Now, given the above configuration, one could create the following links:
    6782 * to this InterTrac page:
    6883   * `trac:wiki:InterTrac` trac:wiki:InterTrac
     
    7691   * `trac:changeset:1912` trac:changeset:1912
    7792   * `[T1912]` [T1912]
    78  * to the log range [3300:3330]: ''whoops, still doesn't work, why?''
    79    * `trac:log:3300:3330` trac:log:3300:3330
     93 * to the log range [3300:3330]: ''Note: will work at next server upgrade''
     94   * `trac:log:@3300:3330` trac:log:@3300:3330
    8095   * `[trac 3300:3330]` [trac 3300:3330]
    8196