Changes between Version 1 and Version 2 of WikiStart


Ignore:
Timestamp:
Nov 6, 2006, 9:01:55 PM (18 years ago)
Author:
Thomas Moschny
Comment:

Wikified README.

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v1 v2  
    1 = Welcome to Trac 0.11dev =
     1= Welcome to the !TracMonotone site =
    22
    3 Trac is a '''minimalistic''' approach to '''web-based''' management of
    4 '''software projects'''. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.
     3!TracMonotone is a plugin for Trac that allows a Trac project to use a Monotone
     4instead of a Subversion repository. The plugin enables you to browse your
     5project's sourcecode, view changesets, etc., like in any other Trac project.
     6Revisions can be linked to from wiki pages, tickets, and any other place that
     7contains wiki text, e.g. commit messages, and they can be specified either
     8using their hex-id, or via a tag or branch name, and later via Monotone
     9selectors, too.
    510
    6 All aspects of Trac have been designed with the single goal to
    7 '''help developers write great software''' while '''staying out of the way'''
    8 and imposing as little as possible on a team's established process and
    9 culture.
     11== Warning ==
    1012
    11 As all Wiki pages, this page is editable, this means that you can
    12 modify the contents of this page simply by using your
    13 web-browser. Simply click on the "Edit this page" link at the bottom
    14 of the page. WikiFormatting will give you a detailed description of
    15 available Wiki formatting commands.
     13The plugin is currently neither stable nor optimized for high
     14performance. Some things work, others don't.
    1615
    17 "[wiki:TracAdmin trac-admin] ''yourenvdir'' initenv" created
    18 a new Trac environment, containing a default set of wiki pages and some sample
    19 data. This newly created environment also contains
    20 [wiki:TracGuide documentation] to help you get started with your project.
     16However, your feedback is welcome!
    2117
    22 You can use [wiki:TracAdmin trac-admin] to configure
    23 [http://trac.edgewall.org/ Trac] to better fit your project, especially in
    24 regard to ''components'', ''versions'' and ''milestones''.
     18== Prerequisites ==
     19
     20 * A Monotone 0.28 (or later) binary.
     21 * Python 2.4.
     22 * An installation of Trac. You can either use 0.10 or 0.11dev.
     23 * Python setuptools >= 0.6.
     24 * The Python Bindings for BerkeleyDB (pyBSDdb), if you want to use
     25   the plugin together with mod_python.
     26
     27== Installation ==
     28
     29 * Create a Python egg: run {{{python ./setup.py bdist_egg}}} in the
     30   plugin's toplevel dir.
     31 * Put the generated egg into the plugins directory of your project.
     32 * Add `repository_type = mtn` and `repository_dir = path_to_mtn_db`
     33   options to the `[trac]` section of the conf/trac.ini file of your
     34   project.
     35 * Enable the plugin by adding the option `tracvc.mtn.* = enabled` to
     36   the `[components]` section of the conf/trac.ini file.
     37 * (Re-)start the webserver or tracd.
     38 * That's it :)
     39
     40== Configuration ==
     41
     42All configuration options have to be placed in the `[mtn]` section of
     43the `conf/trac.ini` file.
     44
     45 * The full path to the Monotone binary can be specified using the
     46   `mtn_binary` option.
     47 * A caching method for Monotone manifests, certs, changesets,
     48   etc. can be specified using the `cachespec` option. The format is:
     49   `cachespec = backend[:option1[:option2[...]]]`
     50   Currently these backends are provided:
     51   * `localmem`: (default) uses local memory for caching. Takes no
     52     options.
     53   * `dbmshelve:prefix`: Persistent, uses Unix DBM databases named
     54     `prefix*.{pag|dir}`. All directories in prefix must exist. Not suited
     55     for concurrent access by more than one process.
     56   * `bsddb:dir:prefix`: Uses the bsddb3 binding to a persistent
     57     BerkeleyDB database. The directory 'dir' must be writable by trac.
     58
     59== Selecting the Caching Method ==
     60
     61For better performance you should use a disk-based caching
     62method. If you run a standalone version of Trac (tracd), you can
     63either use 'dbmshelve' or 'bssdb'. If you use Trac via mod_python,
     64you *must* use 'bsddb', because the 'dbmshelve' method doesn't
     65support concurrent access by multiple processes.
     66
     67It is not recommended to use the 'localmem' method other than for
     68testing purposes, because it keeps all entries in memory until the
     69server process is restarted.
     70
     71== Known Problems/Missing Features ==
     72
     73 * Security: The monotone select functionality is exposed. Monotone
     74   binaries prior to version 0.27 are susceptible for SQL injections.
     75 * Revisions are almost always printed as complete 40-char string.
     76 * The changeset displays doesn't show attr changes.
     77 * Log on a per-file basis is missing..
     78 * The lifetime for cached data should be adjustable.
     79 * Support for trac-admin is missing. (?)
     80
     81== Author ==
     82
     83Thomas Moschny (thomas DOT moschny AT gmx.de)
    2584
    2685
    27 TracGuide is a good place to start.
     86== Licence ==
    2887
    29 Enjoy! [[BR]]
    30 ''The Trac Team''
    31 
    32 == Starting Points ==
    33 
    34  * TracGuide --  Built-in Documentation
    35  * [http://trac.edgewall.org/ The Trac project] -- Trac Open Source Project
    36  * [http://trac.edgewall.org/wiki/TracFaq Trac FAQ] -- Frequently Asked Questions
    37  * TracSupport --  Trac Support
    38 
    39 For a complete list of local wiki pages, see TitleIndex.
     88GPL, see [source:COPYING].