[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

working with a subversion repo

Luke

1/17/2008 4:18:00 PM

I want to write a script that automatically generates a subversion
repository and configures apache serve the svn repo. Is there a python
module that will allow me to work with subversion? I am able to import
a module named "svn" on my ubuntu machine, but this module is not
available on windows. I also can't seem to find any documentation on
it. Thanks!
3 Answers

Jeroen Ruigrok van der Werven

1/17/2008 5:14:00 PM

0

-On [20080117 17:21], Luke (Luke.Visinoni@gmail.com) wrote:
>I am able to import a module named "svn" on my ubuntu machine, but this
>module is not available on windows.

The entries libsvn and svn are installed in site-packages when you install the
Python (SWIG) bindings for Subversion.

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
ã?¤ã?§ã?«ã?¼ã?³ ã?©ã?¦ã??ã?­ã??ã?¯ ã?´ã?¡ã?³ ã??ã?« ã?¦ã?§ã?«ã?´ã?§ã?³
http://www.in-n... | http://www.ra...
Nothing is constant but change...

Luke

1/17/2008 5:58:00 PM

0

On Jan 17, 9:14 am, Jeroen Ruigrok van der Werven <asmo...@in-
nomine.org> wrote:
> -On [20080117 17:21], Luke (Luke.Visin...@gmail.com) wrote:
>
> >I am able to import a module named "svn" on my ubuntu machine, but this
> >module is not available on windows.
>
> The entries libsvn and svn are installed in site-packages when you install the
> Python (SWIG) bindings for Subversion.
>
> --
> Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
> ????? ?????? ??? ?? ??????http://www.in-n...|http://www.ra...
> Nothing is constant but change...

I'm sorry, I'm sort a n00b to python. Does that mean that libsvn and
svn are not modules? If they are modules, where can I find
documentation for them? What do they do?

Jeroen Ruigrok van der Werven

1/17/2008 6:27:00 PM

0

-On [20080117 19:04], Luke (Luke.Visinoni@gmail.com) wrote:
>Does that mean that libsvn and svn are not modules? If they are modules,
>where can I find documentation for them? What do they do?

They are modules, but not part of a standard install.

Subversions uses a program called SWIG to generate APIs for various languages
(perl, python, ruby for example). The libsvn/svn modules you see in
site-packages are generated from Subversion's API by SWIG. So you need to
install, for most operating systems, the Subversion-Python package in order to
get these modules.

I am sure the Subversion project has adequate documentation on this on their
website. Just look for documentation on their (SWIG) bindings.

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
ã?¤ã?§ã?«ã?¼ã?³ ã?©ã?¦ã??ã?­ã??ã?¯ ã?´ã?¡ã?³ ã??ã?« ã?¦ã?§ã?«ã?´ã?§ã?³
http://www.in-n... | http://www.ra...
I was searching through the Heavens and somehow I slipped...