Ticket #8910 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Modify post-commit-hook to support multiple repos

Reported by: gameshints Assigned to: 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

Change History

06/20/11 07:14:01 changed 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

06/20/11 14:25:02 changed 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

06/20/11 15:55:54 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

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

(follow-up: ↓ 5 ) 09/08/11 15:28:28 changed by oliver nadj

  • status changed from closed to reopened.
  • resolution deleted.

hi Smith

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

(in reply to: ↑ 4 ) 09/09/11 23:01:55 changed 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.

10/26/11 18:01:43 changed by bobbysmith007

  • status changed from reopened to closed.
  • resolution set to fixed.

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


Add/Change #8910 (Modify post-commit-hook to support multiple repos)




Change Properties
Action