The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Subversion with cPanel?

Discussion in 'cPanel Developers' started by boughtonp, Oct 1, 2007.

  1. boughtonp

    boughtonp Member

    Joined:
    Sep 1, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    there
    cPanel Access Level:
    Root Administrator
    Searching brings up plenty of questions on this, but no answers.

    I would like to install SVN and have it connected with cPanel user accounts. (storing repositories in /home/user directories, so data is included in total space).

    I think this requires webDav or mod_dav or something in Apache 2, but I've not found a great deal more information so far, and was wondering if anyone has succesfully setup SVN and/or webDav with cPanel, and if you've got any advice/links/etc that might be useful?

    Thanks.
     
  2. dempsey

    dempsey Active Member

    Joined:
    Jul 17, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I've been looking into this myself quite a lot lately and still haven't really found a solution. I've tried installing Subversion myself but I can never manage to get mod_dav_svn to install as it asks for httpd_mmn or something.

    Some resources which may be useful:

    http://wiki.centos.org/HowTos/Subversion
    http://www.howtoforge.com/subversion_web_access_apache
    http://www.svnforum.org/2017/viewforum.php?f=7
    http://alexle.net/archives/138
    http://queens.db.toronto.edu/~nilesh/linux/subversion-howto/
    http://www.tobytremayne.com/index.cfm/2007/6/2/Trac-on-CentOS
     
  3. NT

    NT Well-Known Member

    Joined:
    May 4, 2004
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    If you're using Apache 2 (with the new easyapache), then you could try compiling subversion from source - I did this and it adds the relevant modules to /usr/local/apache/modules/ as well as httpd.conf.

    The only problem I have now is:

    Code:
    Internal error: Can't open file '/path/to/subversion/404.shtml/format': No such file or directory
    I can access the repositories fine within my browser - it just doesn't work from the subversion client.

    If you need any help getting it installed and running, I can probably help, but until I can fix the error above, I'm stuck too!
     
  4. NT

    NT Well-Known Member

    Joined:
    May 4, 2004
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Well, I'm getting there...

    I've just discovered that having a <Location /> within a subdomain's VirtualHost container applies to all VirtualHosts, not just the subdomain's VirtualHost, as I expected.

    I can get Subversion working perfectly with something like http://svn.domain.com/svn/repository_name, but I'd prefer to have it without having "svn" as the directory, because it's already in the subdomain.

    Any ideas? I'd be interested to know if there's a way to do a <Location /> for just the current VirtualHost.
     
  5. NT

    NT Well-Known Member

    Joined:
    May 4, 2004
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    OK, not sure how I did it, but it seems to work now.

    <Location /> *does* seem to work for a single VirtualHost - I don't know what I did previously that made it affect other VirtualHosts.
     
  6. NT

    NT Well-Known Member

    Joined:
    May 4, 2004
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    The only thing I'm looking for now are a few mod_security rules to allow DAV/SVN access through.

    Can anyone help?
     
  7. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    We are developing SVN plugin for cPanel. This plugin allow cPanel user to create SVN repository separately. Package will include Subversion1.4 and Trac10.x. It doesn't require Apache2 and doesn't need to edit httpd.conf while cPanel user installing it. Anybody interested to be a beta tester, please email your request to pairote@cpanellicense.com. We are accepting 20 beta tester only.
     
  8. boughtonp

    boughtonp Member

    Joined:
    Sep 1, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    there
    cPanel Access Level:
    Root Administrator
    Thanks for the information all; been very busy and not able to look into any of it yet, but I do need to get this sorted out, and the sooner the better.

    That plugin does sound interesting - hope there's still some spaces left in the beta test.
     
  9. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    0
  10. OMaHTLD

    OMaHTLD Member

    Joined:
    Jan 17, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Any idea when you will be releasing the plugin?

    Cheers, Mark.
     
  11. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
  12. kiranchand

    kiranchand Registered

    Joined:
    Sep 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    kerala
  13. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    This product no longer moving forward?
     
  14. willsheldon

    willsheldon Registered

    Joined:
    Oct 15, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
  15. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    Sorry, testing is closed. We are going to release it in April 15, 2008. It will include in RVSkin. If you already have RVSkin license, you will get it free of charge. It will integrate Subversion and Trac. Also provide frontend to manage svn and trac users, privilege and etc. SVN repository is separated on the user home directory, Apache2 and 1.3 is supported. :)

    PS: willsheldon's Howto above is a great one.
     
  16. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Well that's the funny thing I had a beta copy of it and it never worked. Good to hear it's coming out soon and will be part of rvskin.
     
  17. basic

    basic Active Member

    Joined:
    Nov 10, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Today is April 22, but I don't see "subversion" in RVskin. Will it be released later?

    Regards,
    John
     
  18. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    I will. Just clean up the interface. Announcement will be made in the near future.
     
  19. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    I am very much looking forward to seeing subversion included with rvskin. That would be great!

    Will it be possible to connect to 3rd party server to manage repositories? (ie: If customer has existing repository hosted with SVNRepository.com, can they still use the rvskin to check in/out files, etc?)

    Thanks!
     
  20. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    No. It is only mean to manage repository on its own home directory.
     
Loading...

Share This Page