Modify

Opened 9 years ago

Closed 3 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

Description

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

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by anarcat@…

our site-specific changes

comment:1 Changed 6 years ago by rjollos

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

comment:2 Changed 3 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

Plugin is deprecated and has been removed.

Add Comment

Modify Ticket

Action
as closed The owner will remain dserodio.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.