Forums Redmine

SVN integration in redmine

Subscribe to SVN integration in redmine 12 post(s), 6 voice(s)

 
Avatar yoshi_kirano 1 post

First of all great job, it was really easy to install the stack and already iam loving it. But i have a problem and i am looking for an answer already for 4 days.
i did the setup like in the documentation provided http://bitnami.org/files/stacks/redmine/README.txt
everything went fine and @ the end the chapter 9.4 subversion i did exactly what it said except with different user names/
however the last line svn import /path/to/project/ svn://localhost/path/to/repository/ -m “first import” i didn’t do since we didn’t
have a project yet just started coding the project.

When we go to redmine i logged in as admin created a project granted managers access to a user and then logged out en logged in
again as that user. In activated the ws setting in the settings and pointed to the repository svn://hostname/repository. and yes it
came up in redmine But now we ran into trouble:
- if i put something like a file into the repositorie directory it doesn’t show up in redmine ?
- is it possible to make it so that the user can update the project trough redmine (like deleting folders, creating folder ect ?
- in subeclipse we want to access this project so we entered svn://ipofhost/repository but we can do anything ?

we got a feeling that svn is nog really connected with redmine and we were thinking if we install this stack its easy to use svn since
everything is made trought redmine ? are we wrong of are we just plain to stuppid to get this working :)
i read in the forums that you have to configure the config files to make it work but how an what ?

tx for you help and sorry we are not knowlegdeable enough, hope somebody can help

cheersn

 
Avatar beltran Administrator 1,584 post(s)

First of all great job, it was really easy to install the stack and already iam loving it.

Thanks a lot!!

if i put something like a file into the repository directory it doesn’t show up in redmine ?

Yes of course, see this link to the Redmine repository of the Redmine project.

is it possible to make it so that the user can update the project trough redmine (like deleting folders, creating folder ect ?

No I think, Redmine only let to show the repository and view diff, statistics, etc. Maybe you can find more information in the Redmine project web page.

in subeclipse we want to access this project so we entered svn://ipofhost/repository but we can do anything ?

Sorry I do not understand the question and I do not know subeclipse.

we got a feeling that svn is nog really connected with redmine and we were thinking if we install this stack its easy to use svn since
everything is made trought redmine ? are we wrong of are we just plain to stuppid to get this working :)

No you are not stupid of course, take a look this link. The currently Redmine Stack does not configure automatically Redmine to manage the repositories but I think that you can configure manually. Please, if you get Redmine to manage the svn repository post the solution to other BitNami users.

Thanks.

 
Avatar Paul Kreiner 1 post

According to http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl , one piece that is missing from the current Redmine Stack is the Apache mod_perl integration. I don’t know enough about how the Bitnami stack operates “under the hood”, but I think the cleanest approach would be to add mod_perl to the Redmine Stack. Is this difficult to do?

Other options I have considered include trying to install a system mod_perl and somehow use it from the Redmine apache server, or maybe just using the system apache server instead of the Redmine one. So far I haven’t heard of anyone else successfully trying this on the Redmine Stack, but perhaps I overlooked somebody. Any ideas?

 
Avatar Daniel Lopez Administrator 123 post(s)

Hi Paul,

We do not have plans to include mod_perl on Bitnami (it is heavyweight, and would also mean shipping a Perl runtime). Your best bet is to get it working on system apache and use that instead of the Redmine Apache

 
Avatar steeleprice 4 post(s)

I really like everything about the Bitnami Redmine stack EXCEPT that the advanced SVN integration is not there already.
This really makes integrating Subversion MUCH better with redmine.
The biggest reason we even want to use the Bitnami Stack is so we don’t have to configure all this junk.
I believe that if you are going to give us the stack with SVN included, it should at least have the option to do this integration
without having to go through all the hassle…
maybe you could include it this way:
http://www.redmine.org/wiki/redmine/HowTo_to_handle_SVN_repositories_creation_and_access_control_with_Redmine
but that only works with the Linux side, not Windows… I would really like to see the perl interation method included because it is NOT trivial to setup on your stack. The whole point of having Redmine is to have this integration so we don’t have to manage users and repositories outside redmine.

 
Avatar beltran Administrator 1,584 post(s)

Hi,

Yes, I agree with you. This feature would be great for Redmine Stack. It is a bit difficult because we should ship Perl in the Stack but we have this integration in our TODO list. Thanks for the suggestion.

Cheers.

 
Avatar steeleprice 4 post(s)

Thank you, I look forward to it as I am in installation hell right now getting this to integrate properly… hopefully I don’t have to do this too many more times before you integrate it.

Is there some problem with mod_dav_svn.so in \subversion\bin?
I copied it to apache2\modules and use:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

but I can’t seem to get it to load.

C:\Program Files\BitNami Redmine Stack\apache2\bin>httpd -t
httpd: Syntax error on line 86 of C:/Program Files/BitNami Redmine Stack/apache2
/conf/httpd.conf: Cannot load C:/Program Files/BitNami Redmine Stack/apache2/mod
ules/mod_dav_svn.so into server: The specified module could not be found.

the file is definitely there and security is set to everyone/full control just to see if it was a security issue.

Thanks.

 
Avatar steeleprice 4 post(s)

actually I forgot I needed to copy the DLLs too or point to the modules in the subversion/bin folder but it’s still got an error:

C:\Program Files\BitNami Redmine Stack\apache2\bin>httpd -t
httpd: Syntax error on line 87 of C:/Program Files/BitNami Redmine Stack/apache2
/conf/httpd.conf: API module structure ‘dav_svn_module’ in file C:/Program Files
/BitNami Redmine Stack/apache2/modules/mod_dav_svn.so is garbled – expected sign
ature 41503232 but saw 41503230 – perhaps this is not an Apache module DSO, or w
as compiled for a different Apache version?

 
Avatar beltran Administrator 1,584 post(s)

It seems that the Subversion module is not compatible with the Apache version. Could you download a new version of Subversion and try using these modules? http://subversion.tigris.org/files/documents/15/44095/svn-win32-1.5.4.zip

Cheers.

 
Avatar steeleprice 4 post(s)

yes, was going to do that today… 1.4.6 is a bit old anyway. Thanks

 
Avatar Amsterdamned 11 post(s)

Are there any plans afoot to integrate the subversion repository creation into future Redmine Stacks? With my limited skills this would be a major help and would provide an easy admin subversion server.

 
Avatar beltran Administrator 1,584 post(s)

Hi,

I do not think so. The repository creation is very simple you only have to run a command, but the configuration requires more work. It is difficult to configure during the installation because it requires to create some users, passwords, ssh keys, etc and maybe the user do not want to use Subversion or he would like to use an existing repository. You can take a look to the 9.4 section in the README file to configure Subversion server easily.

Cheers.

Forums Redmine