Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Re: How can I configure Trac to use subversion 1.5

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


manu.blot at gmail

Oct 7, 2008, 3:16 PM

Post #1 of 8 (166 views)
Permalink
Re: How can I configure Trac to use subversion 1.5

> I have 2 subversion executable in my system.
> one is subversion 1.4.6 : /usr/bin/svn
> one is subversion 1.5.2: /home/meryl/bin/svn1.5/bin

Trac does not use the SVN executables - at all.
It relies on Python SVN modules and libraries, so you need to install
the Python packages for svn1.5.

The procedure depends on your Unix/Linux distribution (rpm, aptitude,
emerge, ...)

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


silverburgh.meryl at gmail

Oct 7, 2008, 5:18 PM

Post #2 of 8 (163 views)
Permalink
Re: How can I configure Trac to use subversion 1.5 [In reply to]

On Oct 7, 5:16 pm, "Emmanuel Blot" <manu.b...@gmail.com> wrote:
> > I have 2 subversion executable in my system.
> > one is subversion 1.4.6 : /usr/bin/svn
> > one is subversion 1.5.2: /home/meryl/bin/svn1.5/bin
>
> Trac does not use the SVN executables - at all.
> It relies on Python SVN modules and libraries, so you need to install
> the Python packages for svn1.5.
>
> The procedure depends on your Unix/Linux distribution (rpm, aptitude,
> emerge, ...)
>
> HTH,
> Manu

Thank you for both response.

I am running on ubuntu. How can I get the python subversion 1.5
binding?
The package manager (atitute) only has 1.4.x binding.

Thank you.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


manu.blot at gmail

Oct 8, 2008, 1:55 AM

Post #3 of 8 (157 views)
Permalink
Re: How can I configure Trac to use subversion 1.5 [In reply to]

> I am running on ubuntu. How can I get the python subversion 1.5
> binding?
> The package manager (atitute) only has 1.4.x binding.

You probably need to upgrade your system to a newer release, or force
the use more recent (but declared less stable) packages.

I don't know Ubuntu, but it is based on Debian, so it is likely you
have to edit /etc/apt/sources.list, add the new version of packages,
use aptitude update, then select the proper version of packages
(aptitude install python-subversion/intrepid or the like).

Note that due to dependency management, you may have to upgrade
several other packages, so don't do this on a production server: try
it first on a test machine... Or wait for a couple of weeks, I think a
new major release of Ubuntu is about to be delivered.

Cheers,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


r.sokoll at intershop

Oct 8, 2008, 2:17 AM

Post #4 of 8 (157 views)
Permalink
Re: How can I configure Trac to use subversion 1.5 [In reply to]

On Tue, Oct 07, 2008 at 05:18:49PM -0700, silverburgh.meryl[at]gmail.com wrote:

> I am running on ubuntu. How can I get the python subversion 1.5
> binding?
> The package manager (atitute) only has 1.4.x binding.

Use the sources. It is fairly easy to build one's own subversion and
SWIG bindings.

Rainer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


rcorsaro at optaros

Oct 8, 2008, 2:36 AM

Post #5 of 8 (156 views)
Permalink
Re: How can I configure Trac to use subversion 1.5 [In reply to]

silverburgh.meryl[at]gmail.com wrote:
>
>
> On Oct 7, 5:16 pm, "Emmanuel Blot" <manu.b...@gmail.com> wrote:
>>> I have 2 subversion executable in my system.
>>> one is subversion 1.4.6 : /usr/bin/svn
>>> one is subversion 1.5.2: /home/meryl/bin/svn1.5/bin
>> Trac does not use the SVN executables - at all.
>> It relies on Python SVN modules and libraries, so you need to install
>> the Python packages for svn1.5.
>>
>> The procedure depends on your Unix/Linux distribution (rpm, aptitude,
>> emerge, ...)
>>
>> HTH,
>> Manu
>
> Thank you for both response.
>
> I am running on ubuntu. How can I get the python subversion 1.5
> binding?
> The package manager (atitute) only has 1.4.x binding.
>
> Thank you.

Out of curiosity, what do you expect to get from running 1.5 on the
server side? There are a lot of changes in subversion that are client
side only. The biggest server side change is that the neon library was
replaced by the serf library, but neon is still available. This won't
make much of a difference for most ppl, and I would argue that neon will
be more stable, for a little while anyway.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


r.sokoll at intershop

Oct 8, 2008, 2:56 AM

Post #6 of 8 (156 views)
Permalink
Re: How can I configure Trac to use subversion 1.5 [In reply to]

On Wed, Oct 08, 2008 at 05:36:50AM -0400, Robert C Corsaro wrote:

> Out of curiosity, what do you expect to get from running 1.5 on the
> server side?

Merge tracking is what my users were emphatically asking for.

Rainer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


manu.blot at gmail

Oct 8, 2008, 3:18 AM

Post #7 of 8 (156 views)
Permalink
Re: How can I configure Trac to use subversion 1.5 [In reply to]

> Out of curiosity, what do you expect to get from running 1.5 on the
> server side? There are a lot of changes in subversion that are client
> side only. The biggest server side change is that the neon library was
> replaced by the serf library, but neon is still available. This won't
> make much of a difference for most ppl, and I would argue that neon will
> be more stable, for a little while anyway.

I think you're wrong: serf and neon are client-side changes, not
server-side. Bot are HTTP/webdav client libraries, the server does not
use them.
Moreover, the new merge system needs a SVN 1.5 server, which is
definitely a big change.

There are others changes that I use, for example the write-through
proxy is a very handy feature

Cheers,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


silverburgh.meryl at gmail

Oct 8, 2008, 10:29 AM

Post #8 of 8 (150 views)
Permalink
Re: How can I configure Trac to use subversion 1.5 [In reply to]

On Oct 8, 4:17 am, Rainer Sokoll <r.sok...@intershop.de> wrote:
> On Tue, Oct 07, 2008 at 05:18:49PM -0700, silverburgh.me...@gmail.com wrote:
> > I am running on ubuntu. How can I get the python subversion 1.5
> > binding?
> > The package manager (atitute) only has 1.4.x binding.
>
> Use the sources. It is fairly easy to build one's own subversion and
> SWIG bindings.
>
> Rainer

Rainer,

This is what I have been trying to do. But I can't get it to work.


I am trying to compile subversion python binding in subversion 1.5.2
on ubuntu.

So I get the source of neon, apr and apr-util and put it under
subversion 1.5.2.

And then I do

$ ./configure --prefix=/home/meryl/bin --with-swig=/home/meryl/bin --
with-ssl
$ make
$ make install
$ make swig-py
$ make install-swig-py

And then I set the pythonpath correctly:

echo $PYTHONPATH
/home/meryl/bin/lib/svn-python

But when i do a test (like below), i get the following error:

$ python -c 'from svn import client'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/scheung/bin/lib/svn-python/svn/client.py", line 19, in
<module>
from libsvn.client import *
File "/home/scheung/bin/lib/svn-python/libsvn/client.py", line 7, in
<module>
import _client
ImportError: /home/scheung/bin/lib/libsvn_ra_neon-1.so.0: undefined
symbol: GENERAL_NAME_free

And I have done 'ldd' of the 'libsvn_ra_neon-1.so.0' and check
LD_LIBRARY_PATH is set correctly.

$ ldd /home/meryl/bin/lib/libsvn_ra_neon-1.so.0
linux-gate.so.1 => (0xb7f46000)
libsvn_delta-1.so.0 => /home/meryl/bin/lib/libsvn_delta-1.so.0
(0xb7efe000)
libsvn_subr-1.so.0 => /home/meryl/bin/lib/libsvn_subr-1.so.0
(0xb7ec6000)
libaprutil-0.so.0 => /home/meryl/bin/lib/libaprutil-0.so.0
(0xb7eb0000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7e8f000)
libapr-0.so.0 => /home/meryl/bin/lib/libapr-0.so.0 (0xb7e6d000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7e64000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e3f000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7e0c000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7df4000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ddc000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7dd8000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c89000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7c74000)
/lib/ld-linux.so.2 (0xb7f47000)
meryl[at]meryl-laptop:~/src/swig-1.3.36$ echo $LD_LIBRARY_PATH
/home/meryl/bin/lib::/usr/lib:/usr/local/lib:/lib/tls/i686/cmov:/lib:


Can you please help me why?

Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.