Modify

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3440 closed task (invalid)

Updating the Status of a Trac ticket via a SVN commit

Reported by: cuong Owned by: Jeff Hammel
Priority: normal Component: SvnChangeListenerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

One of the really nice things about the SVN/Trac combo is that when you commit changes to SVN, you can have the changeset update the status of a Trac ticket.

I am trying to integrate subversion and trac. I am using the post commit hook script found at http://trac.edgewall.org/browser/branches/0.10-stable/contrib/trac-post-commit-hook to be able to modify tickets and in my post-commit.tmpl in my svn i have

REPOS="$1" REV="$2" LOG=C:\Program Files\Subversion\bin\svnlook log -r $REV $REPOS TRAC_ENV='c:\projects\trac' TRAC_URL='http://localhost:8000/myproject2' C:\Python24\python.exe C:\projects\svn\hooks\trac-post-commit-hook.py -p "$TRAC_ENV" -r "$REV" -m "$LOG" -s "$TRAC_URL"

I am new to all of this. any help would be appreciated.

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by cuong

Component: TracHacksCacheSystemPlugin
Owner: changed from Alec Thomas to Noah Kantrowitz
Priority: normalhighest
Severity: normalcritical
Type: defecttask

comment:2 Changed 9 years ago by cuong

Component: CacheSystemPluginSvnChangeListenerPlugin
Owner: changed from Noah Kantrowitz to Jeff Hammel

comment:3 in reply to:  2 Changed 9 years ago by Jeff Hammel

Priority: highestnormal
Severity: criticalnormal

i'm not sure what the issue is here; does the post-commit script not work for you? in either case, it is NOT an issue for SvnChangeListenerPlugin, which does the identical task but in a different way; i think this ticket is invalid but will await more information

comment:4 Changed 9 years ago by Jeff Hammel

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeff Hammel.
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.