avatar Valdemar Dec 5. 2007. 9:55 am
Hello,

If anyone's interested in getting some data straight from your Subversion checkin's to your Tickets in activeCollab, I've made a litte module to accept post-commit data.

http://fatty.dk/acsvnintegration.zip

It's based on the same concept as the Mantis Bug Tracker. It simply parses the comment and completes + comments on the relevant tickets. For instance, committing to svn with the following comment:

"updated authenticationprovider, fixes bug 3
there are still trouble with issue 53, dunno why"

... will do the following in aC:

* Add changelog + list of updated / changed files to tickets 3 and 53
* Complete ticket #3

Read the README for more information. Please note it was written in a hurry, so don't rely too much on it, use your common sense. Please tinker around with it, it's nowhere near perfect but it does work here. Everything is happening in just 2 files, so it's pretty straightforward to figure out what's going on. Hopefully others will start releasing stuff of their own. Ideas and comments welcome of course.
Casper Valdemar, aC hacker ;)
avatar M.Hübner Pro Jul 13. 2008. 8:08 am
Hello Valdemar,

i found your post after searching for subversion in the forums. i will try to integrate your extension in our system and give a short feedback after it's done.
thanks a lot for this great enhancement.

br
avatar xtrecate Jul 14. 2008. 7:23 pm
Hi Valdemar,

Gave this a try last week. Got everything integrated smoothly, however, when I made a commit or ran the plugin via ssh it doesn't seem to be finding any relevant tickets from the keywords I committed with, such as: fixed, issue, or ticket. I'm not receiving any errors however, it just doesn't do anything to the tickets I comment on.

Hope you can lead me in the right direction, I do think this would be a stellar plugin to have.

Note: I am running PHP v5.2.6, not sure if your script was built for a specific version or has any special requirements.

Thanks!
- Eric
avatar kdevineni Jul 15. 2008. 7:05 am
Hi,

I tried to install the module and was unsuccessful. I have followed all the steps in the install file..when I try access the subversion module I get 404 error..

Here is the URL I am using ... https:/10.10.10.1/activecollab/subversion/commit .. Based on document I was expecting a error or permission denied..I further continued with svn hooks but that has the same issue...

We have the activecollab root url at https:/10.10.10.1/activecollab

Any help would be appreciated..

Thanks.
avatar Ilija Studen Staff Jul 15. 2008. 7:10 am
kdevineni:
We have the activecollab root url at https:/10.10.10.1/activecollab


What is the exact URL of your Projects page? https://10.10.10.1/activecollab/public/index.php/projects or https://10.10.10.1/activecollab/projects?
avatar kdevineni Jul 15. 2008. 7:13 am

Its https://10.10.10.1/activecollab/public/index.php/projects/1

Thanks for quick reply ...
avatar Ilija Studen Staff Jul 15. 2008. 7:46 am
In that case https://10.10.10.1/activecollab/subversion/commit should be https://10.10.10.1/activecollab/public/index.php/subversion/commit.

Please note that you can remove /public/index.php and have clean URLs using this technique.
avatar kdevineni Jul 15. 2008. 7:55 am
Ilija Studen:
In that case https://10.10.10.1/activecollab/subversion/commit should be https://10.10.10.1/activecollab/public/index.php/subversion/commit.

Please note that you can remove /public/index.php and have clean URLs using this technique.




thanks It worked
avatar vlados Jul 19. 2008. 4:55 pm
Everything looks great, but how can I made this module works with multiple projects?
Example: commit with text: fixed bug #4 for project #34
avatar HH Pro Feb 2. 2009. 4:30 pm
Does Anyone have a mirror to the zip file? or another link to a working ac + svn integration ?
or Go To Next Page