Bug 451650

Summary: Integration with Subversion does not work.
Product: [Fedora] Fedora Reporter: Michael Möllney <mail>
Component: mantisAssignee: Gianluca Sforna <giallu>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: rh-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-19 15:59:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Möllney 2008-06-16 13:43:27 UTC
Description of problem:
I want to integrate subvesion comit with mantis. This seems to be easy following
the description as you can find it in 
http://alt-tag.com/blog/archives/2006/11/integrating-mantis-and-subversion/

However at the point when to test mantis via the command line:
%> /path/to/php /path/to/mantis/core/checkin.php <<< “My web monkey fixed issue
#1337 by accident.”

this fails. There is no error code in the command line but there is also no entry.

If you look at checkin.php there should be plenty of comments if something
fails.... but there is no output at all..

Comment 1 Gianluca Sforna 2008-07-11 20:49:24 UTC
Hi, I just found some spare time to have a look at this (sorry for the delay).

In short, WORKSFORME. I have a local installation and I just copy/pasted the 2
config lines from the page you referenced:

$g_source_control_account = 'username';
$g_source_control_regexp = '/\b(?:bug|issue)\s*[#]{0,1}(\d+)\b/i';

to my config_inc.php and the example above works (of course assuming 'username'
is correctly set up and the issue # actually exists)

If you can't manage to make this work, I suggest you ask help in the mantis
forums at:
http://www.mantisbt.org/forums

and eventually report the issue in the upstream tracker.