Opened 11 years ago

Closed 21 months ago

#2208 closed enhancement (wontfix)

[Patch] A few fixes to the plugin

Reported by: anarcat@… Owned by: dserodio
Priority: low Component: SvnPostCommitCreateVersionScript
Severity: minor Keywords:
Cc: Trac Release: 0.10


The attached patch fixes a few issues with the plugin:

  1. tolerate dashes in the regular expression and don't require the RELEASE string in the tag (a bit site-specific)
  2. add the -r flag to svnlook so the version argument actually works (otherwise it just takes the latest version, which works most of the time, unless two commits happen at the same time)
  3. figure out the trac repo out of the last part of the svn repo (/var/lib/svn/foo will make the hook work on /var/lib/trac/foo), instead of relying on the committed path. we now use the "project" as part of the version instead

Attachments (1)

local.patch (1.3 KB) - added by anarcat@… 11 years ago.
our site-specific changes

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by anarcat@…

Attachment: local.patch added

our site-specific changes

comment:1 Changed 8 years ago by Ryan J Ollos

Summary: a few fixes to the plugin[Patch] A few fixes to the plugin

comment:2 Changed 21 months ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated and has been removed.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain dserodio.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.