Ticket #3440 (closed task: invalid)

Opened 3 months ago

Last modified 2 weeks ago

Updating the Status of a Trac ticket via a SVN commit

Reported by: cuong <duccuongbui8955@yahoo.com> Assigned to: k0s
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

Change History

07/23/08 04:28:38 changed by cuong <duccuongbui8955@yahoo.com>

  • owner changed from athomas to coderanger.
  • priority changed from normal to highest.
  • component changed from TracHacks to CacheSystemPlugin.
  • severity changed from normal to critical.
  • type changed from defect to task.

(follow-up: ↓ 3 ) 07/23/08 04:29:53 changed by cuong <duccuongbui8955@yahoo.com>

  • owner changed from coderanger to k0s.
  • component changed from CacheSystemPlugin to SvnChangeListenerPlugin.

(in reply to: ↑ 2 ) 07/24/08 11:25:02 changed by k0s

  • priority changed from highest to normal.
  • severity changed from critical to normal.

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

09/21/08 21:56:38 changed by k0s

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

Add/Change #3440 (Updating the Status of a Trac ticket via a SVN commit)




Change Properties
Action