Q: How about integration with Subversion?
We would like to connect Yoxel and Subversion, i.e. see commit messages and details attached to Yoxel requests. How can we do this?
Answer:
A basic Subversion -> Yoxel integration is similar to Subversion -> Bugzilla integration.
1. Find svn-mail.pl script in <yoxel-root>/utils and properly specify the following settings
(in case the script is not included in your current package, please contact us at support@yoxel.com,
we'll send it to you):
$svnlook = '/usr/local/bin/svnlook';
$smtpHost = 'localhost';
$mailFrom = $ENV{USER};
$mailTo = 'rts-yoxel@localhost';
2. Test the script with the path to your repository and a revision number:
Do a sample commit into your repository with a comment that includes the following line:
[Bug 1,2,3]
./svn-mail.pl /path/to/repo
the script should be able to detect the bug ids 1,2,3 and send appropriate emails to $mailTo gateway.
3. Enable email notification of commits in Subversion:
In /path/to/repo/hooks
cp post-commit.tmpl post-commit
chmod +x post-commit
Modify post-commit to contain <yoxel-root>/utils/svn-mail.pl "$REPOS" "$REV"
4. Test it with the path to your repository and a revision number:
./post-commit /path/to/repo
5. On the Yoxel side please use our utils/imap_mail_handler.php (or utils/parse_email.php script)
To see all user comments and participate in the disscussion log into >>Yoxel Support Portal / Knowledge Base<<
For anonymous login click this link