Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#595 closed enhancement (worksforme)

SVN Commit Hook to Auto Create a Ticket?

Reported by: eddie Owned by: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Hello!

I'm not sure if this is already done or how I would go about doing this, but I'd love to have something that parses a message from SVN and creates a ticket in Subversion.

So I can do:

svn commit --message="Fixed X, Y, Z. NEWBUG: Just a TODO reminder. Some code needs to be cleaned up."

Having it backreference the commit would be bonus points. ;)

Thanks!

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by eddie

  • Cc trac.eddieparker@… added; anonymous removed

comment:2 follow-up: Changed 8 years ago by anonymous

  • Trac Release changed from 0.9 to 0.10

I'm assuming that you ment to say "create a ticket in Trac" instead of "create a ticket in Subversion" but I think that what you are looking for is already a part of Trac. I haven't used it yet, but it does modify tickets based on svn comments. Don't know about referencing the commit, though.

Check out theTrac FAQ for details on how to use post_commit script.

comment:3 Changed 8 years ago by athomas

  • Cc anonymous added; trac.eddieparker@… removed

Don't use whitelist E-Mail addresses in CC lists. It's very annoying.

comment:4 in reply to: ↑ 2 Changed 8 years ago by athomas

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

Replying to anonymous:

I'm assuming that you ment to say "create a ticket in Trac" instead of "create a ticket in Subversion" but I think that what you are looking for is already a part of Trac. I haven't used it yet, but it does modify tickets based on svn comments. Don't know about referencing the commit, though.

Check out theTrac FAQ for details on how to use post_commit script.

This AC is 100% correct.

Add Comment

Modify Ticket

Action
as closed The owner will remain anybody.
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.