WebSVN and post-commit hook
My system has the following components:
OS xp –pro sp3
mysql 5.0.51a
PHP 5.3.5
Apache 2.2.21
mantis bt 1.2.28
SVN 1.6.17
websvn 2.3.3
plugins-source-integration 0.13.2-177
I don't succeed in viewing “Diff", "file" and “browse” in changsets and also post-commit doesn't work.
I followed these instructions:
http://blog.crazytje.be/mantis-svn-inte ... the-1-2-x/
http://blog.crazytje.be/mantis-svn-inte ... -the-note/
My post-commit file is this:
<<
#!/bin/sh
# Copyright (c) 2010 John Reese
# Licensed under the MIT license
REPOS="$1"
REV="$2"
log=$(svnlook log -r $REV $REPOS)
URL="file:///C:/server/apache/htdocs/mantis/plugin.php?page=Source/checkin"
PROJECT="bug_repo_test"
LOG_FILE=`mktemp /tmp/svn_${PROJECT}_${REV}_log.XXX`
CURL=C:/php/ext/curl
${CURL} -d "repo_name=${PROJECT}" -d "data=${REV}" ${URL} >> ${LOG_FILE}
>>
best regards, Edoardo from Italy.
Edoardo Malgarida
SALVAGNINI ITALIA SpA
Via Guido Salvagnini, 51
IT -36040 Sarego
T. +39 0444 72 5111
www.salvagninigroup.com www.salvagnini.it
The information transmitted in this e-mail message or any attachment thereof are classified Salvagnini Italia and are addressed exclusively to the recipient. Any retransmission, diffusion, copy or other use of, or taking of any action relating to this message by people or entity other than the intended recipient, if not clearly authorized by the sender, is prohibited. If you have received this communication in error, please notify the sender immediately by e-mail or telephone.
------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________ mantisbt-help mailing list mantisbt-help@... https://lists.sourceforge.net/lists/listinfo/mantisbt-help
RSS Feed