Login or Register

RSS IconRecent posts in this topic

avatar
Valdemar on Dec 5. 2007. 3:55 pm
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
avatar
M.Hübner on Jul 13. 2008. 1:08 pm
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 on Jul 15. 2008. 12:23 am
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 on Jul 15. 2008. 12:05 pm
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 on Jul 15. 2008. 12:10 pm
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?
activeCollab team member | LinkedIn
avatar
kdevineni on Jul 15. 2008. 12:13 pm

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

Thanks for quick reply ...
avatar
Ilija Studen on Jul 15. 2008. 12:46 pm
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.
activeCollab team member | LinkedIn
avatar
kdevineni on Jul 15. 2008. 12:55 pm
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 on Jul 19. 2008. 9: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

RSS IconRecent posts in this topic