You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by pinky goyal <pi...@yahoo.com> on 2007/10/09 11:44:45 UTC

checkout to remote location

Does anyone have idea how to checkout a project to a remote location by svn checkout command ??
       
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

Re: checkout to remote location

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 10, 2007, at 00:52, pinky goyal wrote:

> Les Mikesell wrote:
>
>> pinky goyal wrote:
>>
>> > can you please give an example.?
>> >
>> > actually what i want is to give the facility to the website  
>> users to
>> > checkout the folder from the website (a website is there to  
>> manage the
>> > repository) . i want that when a request comes for checkout of any
>> > folder, that folder can be checked out on that user's m/c
>>
>> If you just want one-way distribution, you might be able to use  
>> ViewVC
>> or SVN::web to provide a web download, but if these users are  
>> going to
>> commit changes back they really need a subversion client to work with
>> svnserve or http on the server side.
>
> yes i need only one way distribution.

Then offering the user a download on your web page will likely be the  
better option. I started to compose a reply to your earlier message  
about how to check out directly to the user's PC, but it would be  
very complicated and not particularly secure so I think it's best to  
forget that.

So on the web server you should check out the repository to a working  
copy. Then have a periodic process (via cron?) which runs "svn  
update" on that working copy and then tars it up. On your web site,  
offer a download link for that tarfile. Of course the user will then  
want to run "svn update" on the working copy to make sure it's up to  
date. Or, you could update the server-side working copy and tarfile  
after every commit via the post-commit hook. Then you wouldn't need  
the periodic cron task, and the user wouldn't need to "svn update"  
right after downloading.

Also, this will only work correctly if you do not have any path-based  
authorization in place. Otherwise, the user might download something  
they weren't supposed to be authorized to see!

Why, out of curiosity, can't the user just check out a working copy  
themselves when they want one? Wouldn't that be simpler all 'round?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: checkout to remote location

Posted by pinky goyal <pi...@yahoo.com>.
yes i need only one way distribution.

Les Mikesell <le...@gmail.com> wrote: pinky goyal wrote:
> can you please give an example.?
> 
> actually what i want is to give the facility to the website users to checkout the folder from the website (a website is there to manage the repository) . i want that when a request comes for checkout of any folder, that folder can be checked out on that user's m/c
> 
> thnx in advance

If you just want one-way distribution, you might be able to use ViewVC 
or SVN::web to provide a web download, but if these users are going to 
commit changes back they really need a subversion client to work with 
svnserve or http on the server side.

-- 
   Les Mikesell
    lesmikesell@gmail.com


       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.

Re: checkout to remote location

Posted by Les Mikesell <le...@gmail.com>.
pinky goyal wrote:
> can you please give an example.?
> 
> actually what i want is to give the facility to the website users to checkout the folder from the website (a website is there to manage the repository) . i want that when a request comes for checkout of any folder, that folder can be checked out on that user's m/c
> 
> thnx in advance

If you just want one-way distribution, you might be able to use ViewVC 
or SVN::web to provide a web download, but if these users are going to 
commit changes back they really need a subversion client to work with 
svnserve or http on the server side.

-- 
   Les Mikesell
    lesmikesell@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: checkout to remote location

Posted by pinky goyal <pi...@yahoo.com>.
can you please give an example.?

actually what i want is to give the facility to the website users to checkout the folder from the website (a website is there to manage the repository) . i want that when a request comes for checkout of any folder, that folder can be checked out on that user's m/c

thnx in advance

Ryan Schmidt <su...@ryandesign.com> wrote: 
On Oct 9, 2007, at 06:44, pinky goyal wrote:

> Does anyone have idea how to checkout a project to a remote  
> location by svn checkout command ??

ssh to the remote server. Then use the svn command on the server to  
check out.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org



       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.

Re: checkout to remote location

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 9, 2007, at 06:44, pinky goyal wrote:

> Does anyone have idea how to checkout a project to a remote  
> location by svn checkout command ??

ssh to the remote server. Then use the svn command on the server to  
check out.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org