Modify

Opened 3 years ago

Closed 3 years ago

#8910 closed defect (fixed)

Modify post-commit-hook to support multiple repos

Reported by: gameshints Owned by: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

The trac-post-commit.py needs to be updated to support multiple repositories for trac .12.

I attached a patch.

I based it off the script they started to write before they switched to trac-admin for post commit hooks: http://trac.edgewall.org/browser/sandbox/multirepos/contrib/trac-post-commit-hook?rev=8074&format=txt

Attachments (0)

Change History (6)

comment:1 Changed 3 years ago by gameshints

Okay, I guess I won't attach it because it thinks it's spam. I uploaded it to my blog:

http://www.teshack.com/images/blog/TimingAndEstimationPlugin.multirepos.patch

comment:2 Changed 3 years ago by bobbysmith007

Thanks for the patch.

There is also an open ticket to implement this as part of the plugin.

I will add this soon, Cheers, Russ

comment:3 Changed 3 years ago by bobbysmith007

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

(In [10336]) patched to support multiple repos - close #8910

comment:4 follow-up: Changed 3 years ago by oliver nadj

  • Resolution fixed deleted
  • Status changed from closed to reopened

hi Smith

i gat IndentationError: unindent does not match any outer indentation level at /trac-post-commit.py#L222

comment:5 in reply to: ↑ 4 Changed 3 years ago by anonymous

Replying to oliver nadj:

hi Smith

i gat IndentationError: unindent does not match any outer indentation level at /trac-post-commit.py#L222

Line 222 needs to be inline with the line below it. Line 222 has two tabs at the beginning of it. Remove the two tabs and add spaces to bring it inline with the line following it.

comment:6 Changed 3 years ago by bobbysmith007

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

(In [10840]) Sorry for the delay, untabified those files, should fix #8910

Add Comment

Modify Ticket

Action
as closed The owner will remain bobbysmith007.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.