#595 closed enhancement (worksforme)
SVN Commit Hook to Auto Create a Ticket?
| Reported by: | Eddie Parker | 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 19 years ago by
| Cc: | trac.eddieparker@… added; anonymous removed |
|---|
comment:2 follow-up: 4 Changed 19 years ago by
| Trac Release: | 0.9 → 0.10 |
|---|
comment:3 Changed 19 years ago by
| Cc: | anonymous added; trac.eddieparker@… removed |
|---|
Don't use whitelist E-Mail addresses in CC lists. It's very annoying.
comment:4 Changed 19 years ago by
| Resolution: | → worksforme |
|---|---|
| Status: | new → 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.



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.