[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: general svn question for large env

From: Steve Rieger <steve.rieger_at_tbwachiat.com>
Date: 2005-08-11 14:25:19 CEST

On Aug 11, 2005, at 8:14 AM, Simon Whittaker wrote:
> I work in a company with quite a similar system and I found that
> the easiest way was to be a bit inventive. I installed an ssh
> server on remote Windows(cygwin) machines (dev,stg, live etc) which
> then enabled me to use rsync to copy files from my subversion
> server up to the various environments. Of course if you're lucky
> enough to be using linux on the remote server then even better.I
> wrote some scripts in perl which I can easily post if that would be
> useful. The process we follow is:
> _sysadmin_
> site is created in svn using perl script and details of remote
> servers placed into a mysql database for later retrieval. This
> includes folders which should not be uploaded etc in a seperate field
> _users_
> Users develop on their local machines
> commit changes to the repos
> When they wish to upload:
> login to the subversion box using a restricted login from a
> shortcut on their desktop - this runs another perl script
> User chooses from a list of sites they wish to upload
> They enter their svn username and password(we're using apache +
> mod_dav + htpasswd authentication)
> If they are verified they are asked to choose where they would like
> to upload to (dev/demo/stg etc etc)
> they then confirm their request by typing in "yes"
> The system then checkouts files to a tempdir and rsyncs the files
> across(if being sent to a live/stg environment all .svn/ folders
> are excluded)
> The above has problems in the fact that you are only authenticating
> users with their svn passwd's but the script could easily be
> adapted to enable only sysadmin's to upload to production or similar.
> I can post scripts if requested?
> Cheers

here is my setup

i just purchased two 3 TB xsans one is going to be dev and one is in
all the dev people work on mac os, or linux/unix, there are no window
boxes here.
i know how to get my dev people to checkin and checkout to the dev
box, but from there on, they will not have access only QA and the SA's.
is there a way i can log into my svn server and tell him to export or
checkout something that is tagged as dev to the dev (apache) server,
and something that is tagged as stg to the stg (apache) server.
keeping in mind that the dev people will not be able to do this, so
if they tag something as stg what would happpen. or should i go by
revision numbers.

by the way we have a dedicated svn server with direct attached san
for storage, we are using svn+ssh, and am quite happy with it, but i
dont knnow how to set myself up for such a large env.

if you can please do post your scripts, also i noticed something
while doing my research, there is a package "svk" that looks
interesting, i might read some more about that too.

thanx to all of you for the info, keep it coming.

This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is strictly prohibited. All contents are the copyright property of TBWA\Chiat\Day, its agencies or a client of such agencies. If you are not the intended recipient, you are nevertheless bound to respect the worldwide legal rights of TBWA\Chiat\Day, its agencies and its clients. We require that unintended recipients delete the e-mail and destroy all electronic copies in their system, retaining no copies in any media. If you have received this e-mail in error, please immediately notify us via e-mail to disclaimer@tbwachiat.com. We appreciate your cooperation.

We make no warranties as to the accuracy or completeness of this e-mail and accept no liability for its content or use. Any opinions expressed in this e-mail are those of the author and do not necessarily reflect the opinions of TBWA\Chiat\Day or any of its agencies or affiliates.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 11 14:28:37 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.