# # # delete "tracvc" # # delete "tracvc/__init__.py" # # rename "tracvc/mtn" # to "tracmtn" # # patch "README" # from [2a60dbf0c1d701c151d177271218d987167c1357] # to [c7890d01c86e28a104451197d2638113f7d6c9c6] # # patch "setup.py" # from [6f9418084033b7e75ac2b463bc6de94aafb8b0f0] # to [b3de38ca3f43a5970c646dc734926257d4fd1088] # # patch "tracmtn/__init__.py" # from [74fe19927f161ef5402beeeb81e2b50b066dfe27] # to [79dd8da930f466c82a27b2af777306f1ba629ff6] # # patch "tracmtn/automate.py" # from [af9355ccb67b71a5606ec9017de5579c6b4456dd] # to [bce475e313421514c7077a08438229e4effe2644] # # patch "tracmtn/backend.py" # from [dd95bce4fca5686e32b25280235292f0ac7d3a15] # to [a17ee6f75391f843fb41baee6a3be37b22935b00] # ============================================================ --- README 2a60dbf0c1d701c151d177271218d987167c1357 +++ README c7890d01c86e28a104451197d2638113f7d6c9c6 @@ -9,6 +9,13 @@ However, your feedback is welcome! +Home + + There's a trac installation for and using the plugin located at + http://tracmtn.1erlei.de/. Tickets for bugs and enhancement requests + can be filed there. + + Prerequisites * A Monotone 0.29 (or later) binary. 0.31 (or later) is recommended, @@ -17,12 +24,13 @@ * Python 2.4. - * An installation of Trac. You can either use 0.10 or 0.11dev. + * An installation of Trac. You can either use 0.10.X or 0.11b1. * Python setuptools >= 0.6. * The Python Bindings for BerkeleyDB (pyBSDdb), if you want to use - the plugin together with mod_python. + the plugin together with mod_python. These bindings may or may not + be part of your Python installation. Installation @@ -36,9 +44,11 @@ options to the [trac] section of the conf/trac.ini file of your project. - * Enable the plugin by adding the option 'tracvc.mtn.* = enabled' to + * Enable the plugin by adding the option 'tracmtn.* = enabled' to the [components] section of the conf/trac.ini file. + * See notes on configuration of the caching method below. + * (Re-)start the webserver or tracd. * That's it :) @@ -113,6 +123,14 @@ Monotone binaries prior to version 0.27 are susceptible to SQL injections. + * Locking: Monotone currently does not support simultaneous access + to the database via netsync and automate. There are various ideas + how to overcome this situation, none of which has been fully + implemented yet. + + * Memory leak when using the bsddb caching method, see + http://tracmtn.1erlei.de/ticket/6. + * Revisions are almost always printed as complete 40-char string. * The changeset displays doesn't show attr changes. ============================================================ --- setup.py 6f9418084033b7e75ac2b463bc6de94aafb8b0f0 +++ setup.py b3de38ca3f43a5970c646dc734926257d4fd1088 @@ -25,7 +25,7 @@ from setuptools import setup """ from setuptools import setup -from tracvc.mtn import __version__ as VERSION +from tracmtn import __version__ as VERSION setup( name = 'TracMonotone', @@ -33,11 +33,11 @@ setup( version = VERSION, author = 'Thomas Moschny', author_email = 'address@hidden', - packages = ['tracvc', 'tracvc.mtn'], + packages = ['tracmtn'], description = 'Monotone Plugin for Trac', url = 'http://tracmtn.1erlei.de/', entry_points = { - 'trac.plugins': 'mtn = tracvc.mtn.backend', + 'trac.plugins': 'mtn = tracmtn', }, license = 'GPL', ) ============================================================ --- tracmtn/__init__.py 74fe19927f161ef5402beeeb81e2b50b066dfe27 +++ tracmtn/__init__.py 79dd8da930f466c82a27b2af777306f1ba629ff6 @@ -1,5 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -__version__ = '0.0.11' +__version__ = '0.0.12' +import backend + ============================================================ --- tracmtn/automate.py af9355ccb67b71a5606ec9017de5579c6b4456dd +++ tracmtn/automate.py bce475e313421514c7077a08438229e4effe2644 @@ -29,8 +29,8 @@ except ImportError: from threading import Lock except ImportError: from dummy_threading import Lock #IGNORE:E0611 -from tracvc.mtn import basic_io -from tracvc.mtn.util import add_slash, to_unicode, natsort_key +from tracmtn import basic_io +from tracmtn.util import add_slash, to_unicode, natsort_key class AutomateException(Exception): ============================================================ --- tracmtn/backend.py dd95bce4fca5686e32b25280235292f0ac7d3a15 +++ tracmtn/backend.py a17ee6f75391f843fb41baee6a3be37b22935b00 @@ -32,9 +32,9 @@ from time import strptime from trac.core import Component, implements, TracError from trac.config import Option, ListOption from time import strptime -from tracvc.mtn.automate import MTN, AutomateException -from tracvc.mtn.util import get_oldpath, get_parent, Memoize -from tracvc.mtn.cache import CacheManager +from tracmtn.automate import MTN, AutomateException +from tracmtn.util import get_oldpath, get_parent, Memoize +from tracmtn.cache import CacheManager from trac.util.datefmt import format_datetime as format_datetime_trac import re