[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [CONTRIB] - Pre-Commit hook written in VBScript to Integrate JIRA with SVN.

From: Prasad.Khandekar <Prasad.Khandekar_at_reflexisinc.com>
Date: Tue, 29 Apr 2008 10:38:48 -0400

-----Original Message-----
From: Daniel Torreblanca [mailto:regulatethis_at_gmail.com]
Sent: Tuesday, April 29, 2008 02:49 AM
To: Daniel Shahaf
Cc: Karl Fogel; Prasad.Khandekar; dev_at_subversion.tigris.org
Subject: Re: [CONTRIB] - Pre-Commit hook written in VBScript to Integrate JIRA with SVN.

I'm not sure if this makes any difference, but Atlassian already supports a plugin for JIRA that has the "integration" part of this functionality (http://confluence.atlassian.com/display/JIRAEXT/JIRA+Subversion+plugin).
It polls svn on a set interval for commit messages containing JIRA issue keys, at which point it adds that commit to a tab in the appropriate issue/project. It's very nice (and supported).

The other rules that are covered by this script seem to make certain assumptions that might be a little too specific to be useful in most scenarios.

Just an opinion from someone who heavily uses both Subversion and JIRA together.

Daniel

On Mon, Apr 28, 2008 at 5:05 PM, Daniel Shahaf <d.s_at_daniel.shahaf.co.il> wrote:
> Karl Fogel wrote on Mon, 28 Apr 2008 at 16:29 -0400:
> > Daniel Shahaf <d.s_at_daniel.shahaf.co.il> writes:
> > > Prasad.Khandekar wrote on Mon, 28 Apr 2008 at 03:40 -0400:
> > >> Hello Daniel,
> > >>
> > >> I will be really glad if you can add this script to contrib.
> > >
> > > All additions to contrib/ must be sponsored by a full committer
> (see > >
> http://subversion.tigris.org/hacking.html#partial-commit-access). Since > > I am not a committer, I cannot sponsor you.
> >
> > Note that Daniel's statement, while true when he posted it, is no
> longer > true :-).
> >
>
> :)
>
> I actually considered signing that message like this:
>
> Daniel
> (who's glad he isn't committer, because otherwise he would have
> to think up each time a new excuse for not reviewing a
> patch...)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: dev-help_at_subversion.tigris.org
>
>

Hello Daniel,

        Will it be good if the other rules such as verifying valid open jira id, and the issue must be assigned to the commiter are made configurable. The extraction of jira-id from log message is done according to the jira plugin's logic. So I do not think some one will have problem with it. Another thing is that this script is a pure VBScript and hence does not require other any other libraries and runs natively on Windows Server. Another difference is that this script ensures that while committing an issue a rule gets applied and upon failure deny the commit, which may not be the requirement for oopen-source projects but seems to be a common requirment in product/project/services companies.

Regards,
Prasad P. Khandekar

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-29 16:39:59 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.