Modify ↓
Opened 16 years ago
Closed 9 years ago
#5281 closed enhancement (wontfix)
TRAC_CODE_PATH is not required for TracSvnPoliciesPlugin
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | TracSvnPoliciesPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description (last modified by )
Current TracSvnPoliciesPlugin requires svnpolicy.conf to set a variable TRAC_CODE_PATH before building the plugin. On further examination, the only reason this variable is required is for the post-commit hook to find the trac-post-commit-hook script.
Instead, the reference in svnpolicies/hooks/post-commit.py ...
return run_command([TRAC_CODE_PATH + os.path.sep +'contrib' + os.path.sep + 'trac-post-commit-hook',
... should instead be ...
return run_command([str(trac_env) + os.path.sep +'contrib' + os.path.sep + 'trac-post-commit-hook',
... and that will take care of that.
Attachments (0)
Change History (4)
comment:1 Changed 16 years ago by
| Owner: | changed from Culapov Andrei to Robert Corsaro |
|---|
comment:2 Changed 11 years ago by
| Owner: | Robert Corsaro deleted |
|---|
comment:3 Changed 9 years ago by
| Description: | modified (diff) |
|---|
comment:4 Changed 9 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



TRAC_CODE_PATHis not the same as the Trac environment directory.