Modify

Opened 16 years ago

Closed 8 years ago

#4049 closed defect (fixed)

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

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

Description


Attachments (0)

Change History (6)

comment:1 Changed 16 years ago by anonymous

Something to get started ... you probably don't have the pre-commit email options enabled. You can edit /svnpolicies/admin.py 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 8 years ago by Ryan J Ollos (previous) (diff)

comment:2 Changed 15 years ago by anonymous

Owner: changed from Culapov Andrei to anonymous
Status: newassigned

comment:3 Changed 15 years ago by Robert Corsaro

Owner: changed from anonymous to Robert Corsaro
Status: assignednew

comment:4 Changed 10 years ago by Ryan J Ollos

Owner: Robert Corsaro deleted

comment:5 Changed 8 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

comment:6 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.