Opened 7 years ago

Last modified 5 years ago

#2208 new enhancement

[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@… 7 years ago.
our site-specific changes

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by anarcat@…

our site-specific changes

comment:1 Changed 5 years ago by rjollos

  • Summary changed from a few fixes to the plugin to [Patch] A few fixes to the plugin

Add Comment

Modify Ticket

as new The owner will remain dserodio.

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

Note: See TracTickets for help on using tickets.