Opened 8 years ago

Closed 5 weeks ago

#4049 closed defect (fixed)

Post-commit hook is not generated when "ticket control commands" option is enabled

Reported by: anonymous Owned by: rjollos
Priority: high Component: TracSvnPoliciesPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11


Attachments (0)

Change History (6)

comment:1 Changed 8 years ago by anonymous

Something to get started ... you probably don't have the pre-commit email options enabled. You can edit /svnpolicies/ as follows. Try looking for the following line (revision 5855):

if self.svnpolicies_enabled and  self.email_enabled :

... (note the double spaces!) and edit as follows:

if self.svnpolicies_enabled and  (self.email_enabled or self.commands_enabled):

... this is not a cure until this is checked in.

Last edited 5 weeks ago by rjollos (previous) (diff)

comment:2 Changed 7 years ago by anonymous

  • Owner changed from andrei2102 to anonymous
  • Status changed from new to assigned

comment:3 Changed 7 years ago by doki_pen

  • Owner changed from anonymous to doki_pen
  • Status changed from assigned to new

comment:4 Changed 21 months ago by rjollos

  • Owner doki_pen deleted

comment:5 Changed 5 weeks ago by rjollos

  • Owner set to rjollos
  • Status changed from new to accepted

comment:6 Changed 5 weeks ago by rjollos

  • Resolution set to fixed
  • Status changed from accepted to closed

In 16090:

1.0dev: Make compatible with Trac 1.0 and later

  • Read default repository from any provider. Fixes #12631.
  • Moved to Version Control section of admin panel
  • Removed permission PROJECT_ADMIN
  • TRAC_ADMIN restricts access to the admin panels. TracFineGrainedPermissions can be used to grant access to the resource general/svnpolicies
  • Fixed threading problems due to class-scope attributes (some possible issues remain)
  • Enable post-commit hook when enabling ticket control commands. Fixes #4049.
  • Remove dependency on trac-post-commit-hook. Fixes #4038.
  • Conform to PEP8

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.