Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 12 of 12

This is a discussion on Create and Manage Subversion Repos in the General Hosting and Network Support forum
We have posted a flash tutorial here: http://www.jaguarpc.com/support/tuto...vn/svn-jag.htm Please check this out and provide your feedback. We know this is just limited to svn+ssh for ...

  1. #1
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070

    Create and Manage Subversion Repos

    We have posted a flash tutorial here:

    http://www.jaguarpc.com/support/tuto...vn/svn-jag.htm

    Please check this out and provide your feedback. We know this is just limited to svn+ssh for remote access.

    If anyone has any more tips on how to better manage your repos hosted in your shared, semi-dedicated or reseller account, please post them here. Especially how you can hook up your favorite IDE with svn via ssh.

    Thank you.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  2. #2
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Sweet! Is it possible to have this installed by support on a vps?
    Last edited by Pawel Kowalski; 12-30-2008 at 07:46 PM.

  3. #3
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    Installing subversion is pretty straight forward on a CentOS box/vps.

    Code:
    yum install subversion
    If it complains about missing perl-URI, then try this before the above

    for centos 4:
    Code:
    rpm -i http://mirror.jaguarpc.com/shared/perl-URI-1.30-4.noarch.rpm
    for centos 5:
    Code:
    rpm -i http://mirror.jaguarpc.com/shared/perl-URI-1.35-3.1.noarch.rpm
    and then try again with yum install subversion. That is all needed to start using svn and repos. If you would like support to install this on your vps/dedicated box, just ask them to look at this post Shared/semi-dedicated/resellers servers all have svn installed.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  4. #4
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    I've been doing a slightly modified version of this for a while on VPS. In my setup all repos are located in a central location on my server, are created by/owned by an "svn" user, and are umasked so that owner and group get the same permissions. Users that are given access to the "svn" group in /etc/groups have full access to the repos.

    My current setup is "all or nothing"--anyone I add to the svn group can access all of my repos, but that isn't currently a big issue for me.

    I access my repos on Windows machines using TortoiseSVN and Subclipse in the Eclipse IDE and with Subclipse on a Mac. Access is pretty straightforward:

    Tortoise:
    1. Create a folder in Windows.
    2. Right click on that folder and select "SVN Checkout."
    3. In the "URL of Repository" field enter svn+ssh://yourdomain.com/path/to/repo, where /path/to/repo is the full server filesystem path to your repo.
    4. Login when prompted (several times).
    5. If all goes well, the head version of the repo (or the version you specified if you changed it) should be downloaded.

    Subclipse:
    1. In Eclipse preferences (Window > Preferences) select Team > SVN and change the SVN Interface to SVNKit (the default JavaHL interface doesn't seem to support svn+ssh).
    2. Create a new Eclipse project using the SVN > Checkout projects from SVN wizard.
    3. Choose "create a new repository location" and click next.
    4. In the URL field, enter the same URL as in the Tortoise instructions and click next.
    5. In the "enter credentials" dialog that opens, enter your username and password (or key file if using key-based auth). Note that the username will be prefilled with your local username (this has gotten me tripped up a few times).
    6. Choose the folder you want to check out and click finish.
    7. Choose a new project type, based on the contents of the repo and follow the wizard to create it. The files will be checked out and downloaded for you to start working.

    @Pawel: what OS are you using? If the SVN commands aren't installed by default they are probably available as an installable package. Try typing which svn and which svnadmin to see if they're available. If not, try yum install svn (Red Hat derivatives) or apt-get install svn (Debian derivatives) for a quick, easy install.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  5. #5
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Thanks Jason for the advice and sorry it took so long to get back to you, didn't get a chance until today to try this. When I did which svn and which svnadmin it did not give me an error that the command doesn't exist but nothing happened. When I did yum install svn I got the following output but still have the same problem:

    Code:
    root@alpha [~]# yum install svn
    Loading "fastestmirror" plugin
    Loading mirror speeds from cached hostfile
     * base: pubmirrors.reflected.net
     * updates: mirror.newnanutilities.org
     * addons: mirror.myriadnetwork.com
     * extras: yum.singlehop.com
    base                      100% |=========================| 1.1 kB    00:00
    updates                   100% |=========================|  951 B    00:00
    addons                    100% |=========================|  951 B    00:00
    extras                    100% |=========================| 1.1 kB    00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Parsing package install arguments
    No package svn available.
    Nothing to do
    Maybe I shouldn't mess with this. I think I'll try the windows version instead and install it on a local server.

  6. #6
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    Quote Originally Posted by Pawel Kowalski View Post
    When I did yum install svn I got the following output but still have the same problem:
    ...
    Please check post #3 of this thread for install instructions on vps.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  7. #7
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Now I get:

    Code:
    warning: /var/tmp/rpm-xfer.5VcABB: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
    Code:
    rpm -i http://mirror.jaguarpc.com/shared/perl-URI-1.35-3.1.noarch.rpm
    I really appreciate you guys trying to help but I'm not gonna mess with this anymore and risk screwing up my production server.
    this is when I try to run the

  8. #8
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    That's just warning about missing key. Please proceed.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  9. #9
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Yeah, sorry, as Masood pointed out, the package name is subversion, not svn...my bad.
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  10. #10
    Loyal Client BigPete's Avatar
    Join Date
    Jul 2004
    Location
    West Palm Beach, FL
    Posts
    90
    I have tortoise setup just like jason said but I get the error "Connection closed unexpectedly" when performing a checkout. Can anyone shed some light on this please?

  11. #11
    JPC Member
    Join Date
    Feb 2011
    Posts
    3
    Quote Originally Posted by JPC-Masood View Post
    We have posted a flash tutorial here:

    http://www.jaguarpc.com/support/tuto...vn/svn-jag.htm
    Tried that steps but I tried to svn checkout on my windows box with tortoise svn it just keeps asking for the password, without success... the password is correct, I even copy-pasted it to an SSH login and it's correct.
    URL was something like this:
    svn+ssh://[MYUSERNAME]@nero.nocdirect.com/home/[MYUSERNAME]/svn/t1

    Any tips or why is this happening? to I need to change something in svnserve.config and passwd file?

  12. #12
    JPC Member
    Join Date
    Feb 2011
    Posts
    3
    Quote Originally Posted by BigPete View Post
    I have tortoise setup just like jason said but I get the error "Connection closed unexpectedly" when performing a checkout. Can anyone shed some light on this please?
    http://tortoisesvn.net/faq.html#sshclosed

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •