Hawk Host Community Forums  

Go Back   Hawk Host Community Forums > Hawk Host Products > Shared Hosting

Shared Hosting Discussion regarding Shared Hosting

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2008, 07:30 AM
kingmoore kingmoore is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default svn checkout?

So I have created an svn repository here: /home/<username>/svn/repo

I have done this before, so I kindof know what I'm doing, but I'm no expert. Now , I am able to do a checkout locally in my shared hosting account by doing something like:

svn co file:///home/<username>/svn/repo

that works in my shared hosting account, but I want to be able to do a checkout from other environments... namely my home PC. I think I *should* be able to do something like this:

svn co http://<mydomain>/home/<username>/svn/repo

But I am getting this error:

svn: PROPFIND request failed on '/home/<username>/svn/repo'
svn: PROPFIND of '/home/<username>/svn/repo': 405 Method Not Allowed (<mydomain>)

Little help on what I need to do to checkout from a remote host? thanks.

Last edited by kingmoore; 11-28-2008 at 09:22 AM.
Reply With Quote
  #2  
Old 11-28-2008, 04:24 PM
Tony's Avatar
Tony Tony is offline
CEO
 
Join Date: Mar 2007
Posts: 1,237
Default

The way the SVN setup works is you actually just need your domain so http://yourdomain.com/ . You do not need the other paths added onto it. I believe it says this on the integration page about how to checkout a repository.
__________________
Tony Baird
Chief Executive Officer
Hawk Host
Reply With Quote
  #3  
Old 11-28-2008, 09:37 PM
kingmoore kingmoore is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default

Thanks. Where can I find this "integration page" ?
Reply With Quote
  #4  
Old 11-29-2008, 04:07 AM
Tony's Avatar
Tony Tony is offline
CEO
 
Join Date: Mar 2007
Posts: 1,237
Default

I think I choose some bad wording for the page. But what I am talking about is if you go to the rvskin page then the subversion and trac manager page. You'll see a link to and on that page to Subversion Management it'll have something like this on it:

The repository location : svn://domain.com, port 3690 (default).

So just the domain is required in order to login. There is no need to use paths the custom subversion server figures that all out based on the domain you specify.
__________________
Tony Baird
Chief Executive Officer
Hawk Host
Reply With Quote
  #5  
Old 11-29-2008, 10:32 AM
kingmoore kingmoore is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default

Okay. Thanks for the info. I actually had set up my repository from the command line. I didn't use cPanel/tranc manager. I will try some things out tomorrow and see if I can get it going. Will let you know.
Reply With Quote
  #6  
Old 11-29-2008, 04:43 PM
Tony's Avatar
Tony Tony is offline
CEO
 
Join Date: Mar 2007
Posts: 1,237
Default

Yeah you need to set it up via the SVN and trac manager because it uses a modified subversion server. So I am not how exactly you could connect to it if you created it yourself via the command line. Especially when it hard codes where the repository directory should be based off of the domain you connected to.
__________________
Tony Baird
Chief Executive Officer
Hawk Host
Reply With Quote
  #7  
Old 11-30-2008, 04:02 AM
kingmoore kingmoore is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default

Okay thanks Tony. You have been very helpful. For anyone reading allong, here is how I got things working:

- deleted the repo that I had created by command line
- from cpanel change my theme to RVSkin (this seems to be the only way to get the SVN/Trac manager option)
- go to SVN/Trac Manager and enable/install it
- a default repository is created, I added a sub repo called repo
- from my local machine i get a command prompt, go to the directory that i want in my repo and do this: svn import -m "initial commit" svn://<mydomain>/repo
- to checkout the code I can now do: svn co svn://<mydomain>/repo

The only annoying bit is that when I am SSHed into my hawkhost account, doing svn commands gives me:

svn: error while loading shared libraries: libdb-4.6.so: cannot open shared object file: No such file or directory

So I have to explicitly type /usr/bin/svn to get to the working version of svn. Adding this to my path doesn't seem to help.
Reply With Quote
  #8  
Old 11-30-2008, 07:15 PM
Cody's Avatar
Cody Cody is offline
Administrator
 
Join Date: Mar 2007
Posts: 142
Default

Quote:
Originally Posted by kingmoore View Post
Okay thanks Tony. You have been very helpful. For anyone reading allong, here is how I got things working:

- deleted the repo that I had created by command line
- from cpanel change my theme to RVSkin (this seems to be the only way to get the SVN/Trac manager option)
- go to SVN/Trac Manager and enable/install it
- a default repository is created, I added a sub repo called repo
- from my local machine i get a command prompt, go to the directory that i want in my repo and do this: svn import -m "initial commit" svn://<mydomain>/repo
- to checkout the code I can now do: svn co svn://<mydomain>/repo

The only annoying bit is that when I am SSHed into my hawkhost account, doing svn commands gives me:

svn: error while loading shared libraries: libdb-4.6.so: cannot open shared object file: No such file or directory

So I have to explicitly type /usr/bin/svn to get to the working version of svn. Adding this to my path doesn't seem to help.
Thanks for posting this as I'm sure numerous people will find it helpful.

The reason behind the library error is simply because your account is in a jailed shell (chroot) - so it can't find the system libraries.
__________________
Cody Robertson
Chief Technical Officer
HawkHost
Reply With Quote
  #9  
Old 12-01-2008, 03:17 AM
kingmoore kingmoore is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default

Interesting... why is it that it works correctly if I specify /usr/bin/svn ? Any way to make that the default svn that gets run when I type just 'svn' ?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.