Subversion http://dev.libresource.org/home/community/forum/Subversion RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_31 Sebastien Jourdain 2007-11-06T11:32:15+01:00 CreateSVNRepositoryForLS.sh
#!/bin/sh

if [ $# -ne 2 ]; then echo $0 svnparentpath svnrepository exit 1 fi

svnparentpath=$1 shift

if [ ! -d $svnparentpath ]; then echo $svnparentpath is not a valid folder… exit 2 fi

if [ $1 != `basename $1` ]; then echo $1 ambiguous repository name … exit 3 fi

if [ -e $svnparentpath/$1 ]; then echo $svnparentpath/$1 already exist… exit 4 fi

su www-data -c "mkdir $svnparentpath/$1; svnadmin create $svnparentpath/$1" #mkdir $svnparentpath/$1; svnadmin create $svnparentpath/$1

if [ $? != 0 ]; then echo problem during the svncreate phase exit 5 fi

exit 0

MoveSVNRepositoryForLS.sh

#!/bin/sh

if [ $# -ne 3 ]; then echo $0 svnparentpath sourcesvnrepository ciblesvnrepository exit 1 fi

svnparentpath=$1 shift

if [ ! -d $svnparentpath ]; then echo $svnparentpath is not a valid folder… exit 2 fi

if [ $1 != `basename $1` ]; then echo $1 ambiguous repository name … exit 3 fi

if [ $2 != `basename $2` ]; then echo $2 ambiguous repository name … exit 4 fi

if [ ! -d $svnparentpath/$1 ]; then echo $svnparentpath/$1 is not a valid folder… exit 5 fi

if [ -e $svnparentpath/$2 ]; then echo $svnparentpath/$2 already exist… exit 6 fi

su www-data -c "mv $svnparentpath/$1 $svnparentpath/$2"

if [ $? != 0 ]; then echo problem during the move phase exit 7 fi

exit 0

]]>
RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_30 maximeca 2007-11-06T11:10:57+01:00
sudo /XXXXX/tools/CreateSVNRepositoryForLS.sh /XXXX/svn
sudo /XXXXX/tools/MoveSVNRepositoryForLS.sh /XXXX/svn

I can't find them anywhere. Where can I get them?]]> RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_29 Sebastien Jourdain 2007-11-05T17:04:28+01:00 Virtual host apache :

<VirtualHost *>
        ServerName XXXX
        ErrorLog /XXXX/error_log
        CustomLog /XXXX/access_log combined
        ProxyRequests Off
        <Proxy *>
                Order Deny,allow
                Allow from all
        </Proxy>
        ProxyPass /ls-svn/ !
        ProxyPass / http://XXXX:YYYY/
        ProxyPassReverse / http://XXXX:YYYY/

<Location /ls-svn/ > DAV svn SVNParentPath /XXXX/svn AuthzSVNAccessFile /XXXX/svn/XXXX-access.conf

Order Deny,allow Allow from all

Require valid-user AuthName "svn" AuthType Basic Auth_PG_host localhost Auth_PG_port 5432 Auth_PG_database XXXX Auth_PG_user postgres Auth_PG_pwd rien Auth_PG_pwd_table casusers_ Auth_PG_uid_field username_ Auth_PG_pwd_field passworddigest_ Auth_PG_cache_passwords on Auth_PG_encrypted off </Location> </VirtualHost>

Conf LS:

# Subversion configuration
subversion.authz.file.path=/XXXX/svn/XXXX-access.conf
subversion.repository.base.path=/XXXX/svn
subversion.create.repository.cmd=sudo /XXXXX/tools/CreateSVNRepositoryForLS.sh /XXXX/svn
subversion.rename.repository.cmd=sudo /XXXXX/tools/MoveSVNRepositoryForLS.sh /XXXX/svn

Modules apaches pour svn:

  • libapache2-svn libapache2-mod-auth-pgsql
]]>
RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_28 maximeca 2007-11-05T16:37:17+01:00 I am currently trying to install the subversion module of LibreSource thanks to the document ! install_subversion !.

There are several things I didn't understand.

Firstly in the svn properties of the libresourceConfig file, I have to customize 4 values:

subversion.authz.file.path      : Specify the path to the authz file that your Subversion should use (security mapping)
subversion.repository.base.path
subversion.create.repository.cmd
subversion.rename.repository.cmd

Regarding the authz.file.path value, I understood that the security mapping was done with the LibreSource users database. So which file am I supposed to specify in this field?

Secondly, you give an example of an apache site configuration. Where do I need to copy (and customize) these lines?

Thank]]> RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_27 Sebastien Jourdain 2007-10-03T20:31:11+02:00 Sorry]]> RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_26 maximeca 2007-10-03T11:08:31+02:00 When I execute the command "java -jar Libresource-2.3-installer.jar" I have got an error that says that the jar is invalid or corrupted.

Has someone succeeded in installing this jar? Or is this jar corrupted?]]> RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_25 Sebastien Jourdain 2007-09-27T10:01:19+02:00 Few documents explain how to bind a subversion with LibreSource.

  • Apache configuration
  • LibreSource configuration to bind the subversion
]]>
RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_24 maximeca 2007-09-27T09:51:55+02:00 Does the 2.3 Community version include the Subversion configuration tools?

Regards.]]> RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_23 Sebastien Jourdain 2007-09-26T17:17:43+02:00 Libresource Enterprise Version

You can get some information on our Web site http://www.artenum.com Or directly contact us at : contact@artenum.com / jourdain@artenum.com

Community Answer part

Normally yes, but by now we are pretty busy on other industrial project, so the Official Community release as been a bite freezed. Except that the unofficial version is already available on the site at this URL.

PS: Only few help document should be still missing.]]> RE : Subversion http://dev.libresource.org/home/community/forum/Subversion/RE_Subversion_22 maximeca 2007-09-26T16:51:12+02:00 I would like to know if the subversion integration in the Community version is still planned for September?

If I understand well, the subversion integration is already available in the LSE. Where can I get information about this version (demo, prices, ...)

Regards]]>