A forum for technical support discussion related to Fogbugz.
We're in the process of trying to get Subversion to integrate with Fogbugz for Check-in notices on FB cases, and we're having a weird issue. We have Subversion running on Linux, using the Apache Server.
If we run the lines in the post-commit file manually, replacing the variables with the correct repository and revision values, check-ins appear correctly on the bugs that I checked in files for. However, if I perform the check-ins from a real user system, the post-commit does not appear to fire at all, no log files are left behind, and no check-in notices appear on the bugs in the FB database.
We've set absolute paths for all programs in the logBugDataSvn.pl and post-commit files. All the files that need to be called are available on the server. Anyone got any ideas? Thanks!
To debug, make sure post-commit is actually running.
For instance, add this line to the script
echo running > /tmp/foo.txt
and then see if it is there.
once you have that you can do things like
echo $REV > /tmp/foo.txt
to see what the variables are in the script.
Normally this is because svnlook is not in the path of the subversion user, so you may want to hardcode the full path in post-commit (sounds like you did that, but double check).
Yeah, I'd done some things like that this morning after posting this plea. It's not running at all when we do a commit. We're trying to figure out why it's not running.
Your idea is what we tried next (although I just read it now.) We got all kinds of weird shell errors, and it turns out that, wonder of wonders, UNIX doesn't like running shell files that were made in DOS. HAH, amazing what a little Dos2Unix command can do for you.
The only other thing I'd mention is that, on the Fogbugz side, to let the users see the details of their checkin notices, I needed to change the repository part of the URL in the SITE section from "rep=" to "repname=". I think subversion has changed what it's looking for.
This topic is archived. No further replies will be accepted.Other recent topics