Re: Planning a SVN upgrade

2013-09-05 Thread Maureen Barger
That is a great idea, Giulio. How do you then make the mirrored repo writable?

On Mon, Sep 2, 2013 at 4:47 AM, Giulio Troccoli
giulio.trocc...@mediatelgroup.co.uk wrote:

 On 23/08/13 21:09, Maureen Barger wrote:

 Hi -
 I am currently planning an upgrade from SVN 1.5 (using svnserve and
 ssh tunnel) to SVN 1.8.1 fronted with Apache and webdav using AD for
 authNz.
 We have about 50 repos. I'll be moving from an older Ubuntu 8 install
 to Centos 6 x64.

 My thought was I could upgrade the SVN installation in place, bringing
 the repo up to 1.8 and then dump those repos and bring them online in
 the new environment.

 We currently use Eclipse as our IDE and Jenkins as our CI tool with
 Nexus as the object repo. I was thinking to leave the upgrade of
 Eclipse client and svnkit to the indiviidual so they can decide what
 direction to take with their working copies et al. I do not foresee
 any changes I would need to make to Jenkins or Nexus.

 Has anyone made a jump this large before? Any comments about my upgrade
 plan?

 Thanks!

 Being a totally new server, may I suggest using svnsync instead of a
 dump/load cycle? It's very easy to set up, you can still use the old
 repositories while syncing and if you take care of using the same UUID on
 the new repository you might even be able to make the switch completely
 transparent to the clients.

 I did an upgrade about three years ago, I think from 1.4 to 1.6, and I used
 svnsync. It worked very well.

 I don't share others' concerns about not upgrading the repository (which
 will happen if you use svnsync). I don't see why now. Besides, using
 svnsync, you don't touch the old repositories at all so you still have the
 old format repos if you need them.

 Just my 2p


Planning a SVN upgrade

2013-08-23 Thread Maureen Barger
Hi -
I am currently planning an upgrade from SVN 1.5 (using svnserve and
ssh tunnel) to SVN 1.8.1 fronted with Apache and webdav using AD for
authNz.
We have about 50 repos. I'll be moving from an older Ubuntu 8 install
to Centos 6 x64.

My thought was I could upgrade the SVN installation in place, bringing
the repo up to 1.8 and then dump those repos and bring them online in
the new environment.

We currently use Eclipse as our IDE and Jenkins as our CI tool with
Nexus as the object repo. I was thinking to leave the upgrade of
Eclipse client and svnkit to the indiviidual so they can decide what
direction to take with their working copies et al. I do not foresee
any changes I would need to make to Jenkins or Nexus.

Has anyone made a jump this large before? Any comments about my upgrade plan?

Thanks!


Re: Help with compiling

2013-04-08 Thread Maureen Barger
This is very thorough and I thank you, but I am not finding anything
like that in the subversion dir tree.
Daniel, I am also not finding 'You could look for a '#define
AP_HAVE_C99 1' line in files that
http_log.h includes.'

This is my first time compiling from scratch and I appreciate your
patience with me.

On Mon, Apr 8, 2013 at 6:16 AM, Philip Martin
philip.mar...@wandisco.com wrote:
 Maureen Barger mobar...@gmail.com writes:

 Did svn's build use the right copy of http_log.h?
 How do I check?

 If you look at the compile commad for one of the mod_dav_svn files you
 should see something like:

 $ rm subversion/mod_dav_svn/authz.lo
 $ make mod_dav_svn
 /bin/sh /home/pm/sw/subversion/obj-1.7/libtool --tag=CC --silent 
 --mode=compile gcc -DLINUX -D_REENTRANT -D_GNU_SOURCE 
 -I/usr/local/httpd-2.4/include -I../src-1.7/subversion/include -I./subversion 
 -I/usr/local/httpd-2.4/include   -I/usr/local/httpd-2.4/include 
 -I/usr/include/neon -I/usr/local/serf/include/serf-1  -o 
 subversion/mod_dav_svn/authz.lo -c ../src-1.7/subversion/mod_dav_svn/authz.c

 You can manually invoke that same libtool command but change --silent to
 -verbose:

 $ /bin/sh /home/pm/sw/subversion/obj-1.7/libtool --tag=CC --verbose 
 --mode=compile gcc -DLINUX -D_REENTRANT -D_GNU_SOURCE -DAPR_POOL_DEBUG=1
 -I/usr/local/httpd-2.4/include -I../src-1.7/subversion/include -I./subversion 
 -I/usr/local/httpd-2.4/include   -I/usr/local/httpd-2.4/include 
 -I/usr/include/neon -I/usr/local/serf/include/serf-1  -o 
 subversion/mod_dav_svn/authz.lo -c ../src-1.7/subversion/mod_dav_svn/authz.c
 libtool: compile:  gcc -DLINUX -D_REENTRANT -D_GNU_SOURCE -DAPR_POOL_DEBUG=1 
 -I/usr/local/httpd-2.4/include -I../src-1.7/subversion/include -I./subversion 
 -I/usr/local/httpd-2.4/include -I/usr/local/httpd-2.4/include 
 -I/usr/include/neon -I/usr/local/serf/include/serf-1 -c 
 ../src-1.7/subversion/mod_dav_svn/authz.c  -fPIC -DPIC -o 
 subversion/mod_dav_svn/.libs/authz.o

 You can manually invoke the gcc command but add -save-temps

 gcc -save-temps -DLINUX -D_REENTRANT -D_GNU_SOURCE -DAPR_POOL_DEBUG=1 
 -I/usr/local/httpd-2.4/include -I../src-1.7/subversion/include -I./subversion 
 -I/usr/local/httpd-2.4/include -I/usr/local/httpd-2.4/include 
 -I/usr/include/neon -I/usr/local/serf/include/serf-1 -c 
 ../src-1.7/subversion/mod_dav_svn/authz.c  -fPIC -DPIC -o 
 subversion/mod_dav_svn/.libs/authz.o

 Then look for http_log.h in the authz.i file:

 $ grep http_log.h authz.i | head -1
 # 1 /usr/local/httpd-2.4/include/http_log.h 1

 --
 Certified  Supported Apache Subversion Downloads:
 http://www.wandisco.com/subversion/download


Re: Help with compiling

2013-04-08 Thread Maureen Barger
, 2013 at 11:20 AM, Philip Martin
philip.mar...@wandisco.com wrote:
 Maureen Barger mobar...@gmail.com writes:

 This is very thorough and I thank you, but I am not finding anything
 like that in the subversion dir tree.

 I don't understand this.  Are you building on Unix/Linux?  If you go to
 the directory where you compiled Subversion and run:

 $ rm subversion/mod_dav_svn/authz.lo
 $ make mod_dav_svn

 You must see something like this:

 /bin/sh /home/pm/sw/subversion/obj-1.7/libtool --tag=CC --silent 
 --mode=compile gcc -DLINUX -D_REENTRANT -D_GNU_SOURCE 
 -I/usr/local/httpd-2.4/include -I../src-1.7/subversion/include 
 -I./subversion -I/usr/local/httpd-2.4/include   
 -I/usr/local/httpd-2.4/include -I/usr/include/neon 
 -I/usr/local/serf/include/serf-1  -o subversion/mod_dav_svn/authz.lo -c 
 ../src-1.7/subversion/mod_dav_svn/authz.c

 If you don't see something like that then how are you building
 Subversion?

 --
 Certified  Supported Apache Subversion Downloads:
 http://www.wandisco.com/subversion/download


Re: Help with compiling

2013-04-08 Thread Maureen Barger
Did this, not finding a authz.i file (searched entire disk).

On Mon, Apr 8, 2013 at 11:44 AM, Philip Martin
philip.mar...@wandisco.com wrote:
 Maureen Barger mobar...@gmail.com writes:

 libtool: compile:  gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g
 -O2 -pthread -Werror=implicit-function-declaration
 -I/etc/apache2/include -I./subversion/include -I./subversion
 -I/etc/apache2/include -I/etc/apache2/include
 -I/usr/local/serf/include/serf-0
 -I/home/scm/subversion-1.7.9/sqlite-amalgamation -c
 subversion/mod_dav_svn/authz.c -o subversion/mod_dav_svn/authz.o
/dev/null 21

 You need to repeat this compile commmand manually and add -save-temps
 option:

 gcc -save-temps -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g -O2 -pthread 
 -Werror=implicit-function-declaration -I/etc/apache2/include 
 -I./subversion/include -I./subversion -I/etc/apache2/include 
 -I/etc/apache2/include -I/usr/local/serf/include/serf-0 
 -I/home/scm/subversion-1.7.9/sqlite-amalgamation -c 
 subversion/mod_dav_svn/authz.c -o subversion/mod_dav_svn/authz.o /dev/null 
 21

 and then look for http_log.h in the file authz.i to find out exactly which
 header is being included.

 --
 Certified  Supported Apache Subversion Downloads:
 http://www.wandisco.com/subversion/download


Re: Help with compiling

2013-04-08 Thread Maureen Barger
Reran.
I am using gcc (GCC) 4.4.6 20120305

authz.i seems to be using the file fromthe correct apache:
# 1 /etc/apache2/include/http_log.h 1

On Mon, Apr 8, 2013 at 1:59 PM, Philip Martin
philip.mar...@wandisco.com wrote:
 Maureen Barger mobar...@gmail.com writes:

 Did this, not finding a authz.i file (searched entire disk).

 Did you add the -save-temps option?  The authz.i file should be in the
 directory where you executed this command:

 gcc -save-temps -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g -O2 -pthread 
 -Werror=implicit-function-declaration -I/etc/apache2/include 
 -I./subversion/include -I./subversion -I/etc/apache2/include 
 -I/etc/apache2/include -I/usr/local/serf/include/serf-0 
 -I/home/scm/subversion-1.7.9/sqlite-amalgamation -c 
 subversion/mod_dav_svn/authz.c -o subversion/mod_dav_svn/authz.o /dev/null 
 21

 If you don't get an authz.i file your gcc is doing something odd, which
 version of gcc are you using?

 --
 Certified  Supported Apache Subversion Downloads:
 http://www.wandisco.com/subversion/download


Help with compiling

2013-04-06 Thread Maureen Barger
I am compiling Apache 2.4 and SVN 1.7 for the first time. I am getting
the following error:
./apachectl configtest
httpd: Syntax error on line 147 of /etc/apache2/conf/httpd.conf:
Cannot load modules/mod_dav_svn.so into server:
/etc/apache2/modules/mod_dav_svn.so: undefined symbol: ap_log_error

I installed all required libraries using the autogen.sh script
I placed the apr and apr-util within the src of apache.

I built apache first.
./configure --enable-dav --enable-so --enable-ssl
--prefix=/etc/apache2 --with-included-apr --with-included-apr-util
--enable-dav-fs --enable-dav-lock

Then I built svn.
./configure --with-apr=/etc/apache2 --with-apr-util=/etc/apache2
--with-serf=/usr/local/serf --with-httpd
--with-apxs=/etc/apache2/bin/apxs
--with-apache-libexecdir=/etc/apache2/modules

What am I missing?
Thanks.


Re: Help with compiling

2013-04-06 Thread Maureen Barger
SVN 1.7.9
Apache 2.4.4

Apr 1.4.6
Apr-util 1.4.1

Centos x64 6.2

On Sat, Apr 6, 2013 at 11:02 AM, Daniel Shahaf d...@daniel.shahaf.name wrote:
 1.7.x for what x?  (while at it, 2.4.y for what y?)

 You need x≥5 (and x≥6 to run tests), see our CHANGES file.


 Maureen Barger wrote on Sat, Apr 06, 2013 at 08:17:17 -0400:
 I am compiling Apache 2.4 and SVN 1.7 for the first time. I am getting
 the following error:
 ./apachectl configtest
 httpd: Syntax error on line 147 of /etc/apache2/conf/httpd.conf:
 Cannot load modules/mod_dav_svn.so into server:
 /etc/apache2/modules/mod_dav_svn.so: undefined symbol: ap_log_error


Re: Help with compiling

2013-04-06 Thread Maureen Barger
On Sat, Apr 6, 2013 at 12:31 PM, Daniel Shahaf d...@daniel.shahaf.name wrote:

 Looking a bit deeper, ap_log_error is implemented as a macro, so
 mod_dav_svn shouldn't be looking it up as a symbol.

 https://svn.apache.org/repos/asf/httpd/httpd/tags/2.4.4/include/http_log.h

 I'm not quite sure why that would be happening.  Did you compile svn and
 httpd using the same C compiler (our configure would warn you if not)?

I assume so? I did not get any warnings.

 Is AP_HAVE_C99 defined?
How do I check?

Did svn's build use the right copy of http_log.h?
How do I check?



 I installed all required libraries using the autogen.sh script
 I placed the apr and apr-util within the src of apache.

 I built apache first.
 ./configure --enable-dav --enable-so --enable-ssl
 --prefix=/etc/apache2 --with-included-apr --with-included-apr-util
 --enable-dav-fs --enable-dav-lock

 Then I built svn.
 ./configure --with-apr=/etc/apache2 --with-apr-util=/etc/apache2
 --with-serf=/usr/local/serf --with-httpd
 --with-apxs=/etc/apache2/bin/apxs
 --with-apache-libexecdir=/etc/apache2/modules

 What am I missing?
 Thanks.


svnadmin restore question

2012-02-02 Thread Maureen Barger
Hello - in creating an iteration in Subversion 1.5.1 I inadvertently
deleted the source after I created the new iteration. I was able to rename
the new iteration to the old, but in the process lost the branches
directory. I have a backup from a point in time before the iteration was
deleted but am unsure how to restore the branches directory only.
Can anyone provide guidance?
Thanks.