Connecting to Subversion

Connecting to Subversion

Posted by: MartinLundberg
Posted on: 2006-03-19 01:11:00

Hello!

I've just created a subverion repository from the DreamHost Panel. How do I connect to it from my home computer so I can Import my project?

Thanks in advance!

Martin Lundberg
Student, Sweden

Re: Connecting to Subversion

Posted by: ardco
Posted on: 2006-03-19 03:43:00

> I've just created a subverion repository from the DreamHost Panel. How do I connect to it from my home computer so I can Import my project?

Does this stuff not work?

http://wiki.dreamhost.com/index.php/Subversion#Quick_Start

http://wiki.dreamhost.com/index.php/Subversion#Connecting_to_Subversion_Repository

from:

http://wiki.dreamhost.com/index.php/Subversion

Good luck,

BobS

Re: Connecting to Subversion

Posted by: MartinLundberg
Posted on: 2006-03-19 03:54:00

Hello!

Thanks for the answer but no it doesn't help. I've already read the wiki and I've tried what it says but it doesn't work.

When I try: "svn list svn+ssh://svn.mydomain.com/repository"

I get:

svn: No repository found in 'svn+ssh://svn.mydomain.com/repository'

and I am giving it the right url. Don't know why it doesn't work.

If I try to go directly to the URL through a web browser it gives me a 404 not found.

Martin Lundberg
Student, Sweden

Re: Connecting to Subversion

Posted by: ardco
Posted on: 2006-03-19 11:01:00

Hi Martin,

I'm giving this a try too. The initial subdomain setup went reasonably fast, but I'm giving it a day, as the email said it could take, to setup.

With my browser, the new subdomain works, but no new repository subdirectory appears yet.

I'm not familiar with the command line interface, but tried a few variations. I don't see the error you do, but get a password prompt again and again. I don't get a User prompt. I set mine to be "private." You?

I think this is a case where DH should update the wiki.

Good luck,

BobS

Re: Connecting to Subversion

Posted by: MartinLundberg
Posted on: 2006-03-19 11:35:00

Hello Ardco!

I know my repository is created because I was able to send a project to my account through FTP and then use svn locally through ssh. I also have Trac installed and the repository with it's files show up in there.

However if I need to ftp my files over, log in with ssh and do everything locally it's not very efficient :) I don't know which way is the right way to do it but I'm waiting for an answer from the support, hope they can spread some light on it.

The wiki needs to be updated yes, anyone who knows how to do this the right way can update it, doesn't have to be DreamHost.

If you find a way to do it, please tell me =)

Good luck yourself,

-Martin

Martin Lundberg
Student, Sweden

Re: Connecting to Subversion

Posted by: ardco
Posted on: 2006-03-19 11:43:00

> The wiki needs to be updated yes, anyone who knows how to do this the right way can update it, doesn't have to be DreamHost.

Sure, but when DH sets up a "one-click" and offers it as a feature, they ought to at least publish minimal instructions that actually work. IMHO, Customers shouldn't have to play a guessing game and modify stuff that other customers wrote when they figured out how to install it from scratch.

I was also using ssh and then svn, but not having any luck with svn.

Congrats on getting something working; I'm sure it will get more efficient once you get the "secrets."

Cheers,

BobS

Re: Connecting to Subversion

Posted by: MartinLundberg
Posted on: 2006-03-19 12:03:00

Hello again!

Subversion is however marked as "beta" in the DreamHost panel. Anyway, that doesn't matter now, we just have to get someone to tell us how to fix this now! =)

-Martin

Martin Lundberg
Student, Sweden

Re: Connecting to Subversion

Posted by: ardco
Posted on: 2006-03-19 15:58:00

Hey, my repository URL is "already" working. Doesn't show much though, and doesn't show any clue how to add stuff; guess I'll have to RTFM. :-)

In reply to:

Revision 0: /

Powered by Subversion version 1.1.4 (r13838).


Cheers,

BobS

Re: Connecting to Subversion

Posted by: MartinLundberg
Posted on: 2006-03-19 22:20:00

Hello

Have you tested: svn import /a/folder http://svn.yourdomain.com/repository --message="Initial Import" ?

Yeasterday I got some help and we figured out that whats causing my problems is DNS problems. The DNS server seems to be a little slow. He was in the U.S. and everything worked for him, I'm in Sweden and nothing works :P

I also got an answer from the support today and they said I should wait untill 23th Mars, and contact them again if it still doesn't work.

-Martin

Martin Lundberg
Student, Sweden

Re: Connecting to Subversion

Posted by: aixccapt99
Posted on: 2006-03-20 07:54:00

Once you get your DNS cleared up, you still have to connect correctly. Don't use svn+ssh:// -- this will not work because while the repository is stored in your home directory (in ~/svn), it is owned by the dhapache user and served through an httpd2 process. Your own ssh login has no access. You need to use http:// URLs, even on the command line; svn will then use the WebDAV protocol to properly address your repository, and the repository will use the usernames and passwords you set up in the web panel for authentication/authorization.

Re: Connecting to Subversion

Posted by: MartinLundberg
Posted on: 2006-03-20 08:29:00

Hello,

I've had already learned this but thanks for telling me about it =) I got some help on the Trac IRC channel yeasterday.

-Martin

Martin Lundberg
Student, Sweden

Tags: dreamhostlundbergsubversionrepositoryswedencomputer