﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
4486,"Possible bug related to ""packages.pth""",defect,0.11,,new,2009-01-20T10:13:31+01:00,2016-12-18T03:08:00+01:00,"== What version are you using? ==
Checkout revision 5144 for Trac 0.11.

== What were you doing when the problem occured? ==
1. edit `svnpolicy.conf`
2. `python setup.py bdist_egg`
3. `cp dist/TracSVNPoliciesPlugin-0.2-py2.5.egg /path/to/tracroot/plugins`
4. edit `/path/to/tracroot/conf/trac.ini`
5. enable ""Require log messages for commits"" on the Administration UI
6. try to commit something without a log message

== What happened?  What did you expect to happen instead? ==
{{{#!sh
Traceback (most recent call last):
File ""./hooks/pre-commit"", line 3, in <module>
from loader import *
File ""./.egg-cache/TracSVNPoliciesPlugin-0.2-py2.5.egg-tmp/svnpolicies/hooks/loader.py"", line 39, in <module>
from svnpolicies import api
ImportError: No module named svnpolicies
}}}
instead of
{{{
the log message isn't conform to the project policy!
}}}

== Any additional info? ==
Patch the following file like this:
{{{#!patch
Index: svnpolicies/api.py
===================================================================
--- svnpolicies/api.py  (revision 5144)
+++ svnpolicies/api.py  (working copy)
@@ -15,7 +15,7 @@
       'get_site_packages']

 def get_site_packages():
-    return path.sep.join(__file__.split(path.sep)[:-3])
+    return path.sep.join(__file__.split(path.sep)[:-2])

 def validate_email(email):
     """"""
}}}
or change
{{{#!sh
/path/to/tracroot/plugins
}}}
manually to something like this
{{{#!sh
/path/to/tracroot/plugins/TracSVNPoliciesPlugin-0.2-py2.5.egg
}}}
",anonymous
4824,Multiple TRAC Environments - one SVN repository,enhancement,0.11,,new,2009-03-22T13:30:57+01:00,2015-04-23T20:56:52+02:00,"What if only one SVN repository is being used for multiple TRAC Environments, all pointing to different top subdirectories in the SVN repo? Any ideas?",aragao@…
13183,Modify to use SVN 1.8 environment variables,enhancement,,Committo-Ergo-Sum,new,2017-05-22T06:22:52+02:00,2017-05-22T06:22:52+02:00,"Modify the plugin to use SVN environment variables for configuration, with SVN 1.8 and later. This should allow us to remove some of the configuration code.",Ryan J Ollos
