You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Philip Martin (JIRA)" <ji...@apache.org> on 2016/02/03 11:42:39 UTC

[jira] [Commented] (SVN-4618) Pre-Commit hook JIRA

    [ https://issues.apache.org/jira/browse/SVN-4618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130213#comment-15130213 ] 

Philip Martin commented on SVN-4618:
------------------------------------

This is not a Subversion bug.

Please don't raise support requests in the bug tracker. The pre-commit hook runs on the server and cannot prompt the user. Ask questions on the users list.

> Pre-Commit hook JIRA
> --------------------
>
>                 Key: SVN-4618
>                 URL: https://issues.apache.org/jira/browse/SVN-4618
>             Project: Subversion
>          Issue Type: Task
>          Components: svnadmin
>         Environment: Production and Development servers
>            Reporter: Ajjaiah Nagarajappa
>              Labels: pre-commit, shell-script, svn
>
> Hi Team,
> I need a help in creating pre-commit hook in shell script for JIRA.
> Requirement is :
> 1. When user try to check-in changes to repository, it should ask log-message to enter with JIRA ticket number.
> 2. i will be having having my repository root template like below,
> trunk
> tags
> archive
> jira
> Under jira, i will be having "jiralist.txt" file which contains JIRA ticket which are in open status.
> as like below format
> JIRA-123;assignee name;Jira Description;status;
> What my pre-commit shell script should do is.
> It has to check log-message first as there is JIRA ticket provided in log, if it is exist then, it as to check if that is available at "jiralist.txt", if yes then only it should allow commit.
> Else it should throw an error saying "No Valid ticket mentioned on log"
> Can anyone please help with this.
> Thanking in advance... 
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)