Opened 7 years ago

Last modified 18 months ago

#5281 new enhancement

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


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 variable.

Instead, the reference in svnpolicies/hooks/ ...

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 (2)

comment:1 Changed 7 years ago by anonymous

  • Owner changed from andrei2102 to doki_pen

comment:2 Changed 18 months ago by rjollos

  • Owner doki_pen deleted

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.