Subversion deployment onto Windows environment - windows

I need to deploy an source control enviroment. I have heard Visual Source Safe is rubbish and to avoid it.
So I have been looking into SVN, but what I don't understand is how to deploy this?
We have one development server which holds all of our content, I need it so the 10+ developers can sign out files/folders work on them and return them.
The location in use is an network share hosted on the web server. So if there a 'server' installation for Windows so I can configure the repositories?
Any help would be much appreciated.
Al

Have a look at http://www.visualsvn.com/server/ which is a free SVN server for Windows. It's very easy to setup and configure.

Related

How do I set up an online repository using TortoiseSVN (Windows)?

I'm trying to set up a repository that is accessible to other members of my project over the internet using TortoiseSVN.
Right now, we're working with the mindset that we might want to sell the finished product eventually, which means whatever we use needs to be free for commercial use.
I was hoping someone on here would be kind enough to either provide a step-by-step or point me to one that would explain what I need to do to create a repository that can be accessed over the internet.
Thank you in advance.
TortoiseSVN is a Subversion client; you need a server to make your repositories accessible remotely. While you can use Subversion locally without any server, if you want to make your repositories available to other team members remotely then you have to deploy a Subversion server or use some online Subversion hosting service.
Therefore, there are numerous options:
Install Subversion server on your LAN and open it to the Internet,
Install Subversion server on some cloud platform such as Microsoft Azure or Amazon AWS. For example, here is an instruction on installing VisualSVN Server on Azure: https://mictorino.files.wordpress.com/2013/01/windowsazure_visualsvnquickstart.pdf.
Use hosted Subversion, such as SlikSVN, Assembla, Beanstalk, Unfuddle, whatever. There are a lot such services.
These guys will give you free svn hosting and there are instructions on how to set up your repo.
https://helpdesk.assembla.com/customer/portal/articles/1604338-subversion-svn-getting-started-guide
After your repo is created and configured adding it to your svn client should be easy.

Version control system help for a single developer

I'm currently a single developer working with the following.
Mac for all computing / code requirements
Eclipse / Dreamweaver for code editing
Windows Server 2008, CF8 IIS for my dev server
Currently when I develop all my apps, I'm starting to find that I'm really in need of an VCS to manage the code as I'm playing that fun game of simply renaming files with v1, v2 etc but this is becoming a nightmare when I start work the next week as you can probably imagine.
My issue is, I'm not sure where to start, what VCS should I use as I would like to store everything on my local network and as my code writing machine is a Mac, and my dev server is a windows machine I'm not sure what products should I look at for an VCS.
If anyone out there is in a similar position i would love to hear how you have your environment set up so you can manage your code as this is proving to be a bit of a nightmare..
thanks in advance
I have the same requirement and setup.
I use Visual SVN Server on my dev machine to host all of my repositories. (Windows 2008 R2)
http://www.visualsvn.com/server/
I use TortoiseSVN on Windows for general SVN tasks:
http://tortoisesvn.tigris.org/
I use AnkhSVN for Visual Studio SVN support:
http://ankhsvn.open.collab.net/
I use the built in SVN command in Mac for general SVN tasks:
http://svnbook.red-bean.com/
On Mac I also use Versions for a graphical SVN front end:
http://versionsapp.com/
Everything except Versions for Mac in this list is free.
As for the client, you can use the subversive plugin for Eclipse. Simply go to Help -> Install New Software -> (Select your version of Eclipse) -> Collaboration -> Subversive. Very easy to use.
There are many, many SVN options for windows. http://willperone.net/Code/svnserver.php This tutorial refers to TortoiseSVN, but that's just one option of many. Also consider that running it under IIS may not be desirable (http://stackoverflow.com/q/2165540/684934).
I would sign up for a free hosted SVN service
http://www.atlassian.com/hosted/bitbucket/
And use either a SVN plugin or a Tortise / SmartSVN tool to commit.
Commit your code daily, or whenever you get to a working set. You will have unlimited history etc. Its also great as your happy to delete chunks of code / files when you think they aren't needed, and if you find they are needed later, you can still get them.

Experiences with the various ways of running svnserve on Windows

Is there anyone out there that can share experiences with the various flavours of running svnserve on Windows. I'm using it mainly for a small hobby project that I share with friends, so it will run on my desktop.
Using the Collabnet Subversion Edge seems a bit heavy weight. Any drawbacks in just run 'svnserve'? I recently found VisualSVNserver which seems to add some easy administrative functions.
I have good experience with VisualSVN server, very easy to set up and configure user accounts.
It is also very easy to upgrade, just run the latest installer and you're done.
With VisualSVN you can run HTTPS with a self signed certificate. If you just run svnserve you're left without encryption and that is not recommended if you plan to access your server from the internet.
Keep in mind that whatever solution you choose they all use standard svn as the backend and you can easily move your repositories from one solution to another.
If you plan to make your project open source you can host your code at sourceforge or codeplex.

Setup an SVN Server?

Does anybody know how to setup a basic SVN server on my windows pc? I want to create an SVN repository to store the code for my home projects I've got lined up.
Anyone know how to do this?
Install VisualSVN Server. The server part is free. You can also just use any SVN tool to just create local repositories on your file system if you like. My favorite client side tool is TortoiseSVN.
I can strongly recommend VisualSVN. It's very easy to setup, configure and use.
I've installed it recently and have found it utterly pain-free. SVN client-wise, I'd recommend TortoiseSVN. It integrates directly with Explorer and is, again, easy to use.
If you're working with Visual Studio, AnkhSVN is a great client that integrates into VS and doesn't seem to have any problem with being used side-by-side with TortoiseSVN.
I use VisualSVN on my Windows 2008 server and it works great. I then use TortoiseSVN on my client machines. The installation is painless and you should be up and running in no time.
If you are the only one accessing the repository all you need is tortoisesvn. You can make a local repository anywhere you want just by right clicking and selecting "Create Repository Here" then just use the file path for the URL.
I would also recommend Visual SVN if you like to get SVN installed on your Windows PC. There is a nice tutorial that describes installation and configuration process.
However think twice before hosting your product locally as that isn't the best option.
I would also Check out Assembla. Online hosting for both SVN and Git. I have used both VisualSVN and Assembla for personal projects.
Use ubersvn for personal use it is working fine and it's freeware.
The program contains all the dependencies needed to set up and run an Apache Subversion server on Windows, Linux or Mac OS X operating systems
.Check this here
What is the final veredict? for a single user local repository what would be the best option:
just create local repositories with TortoiseSVN (simpler and less
resource consuming)
install VisualSVN server to get the extra functionality it offers
(for example, the automatic backups are quite interesting..)
The idea of using VisualSVN server in my local machine with the automatic backups stored in a google drive folder in order to keep the repository in case of catastrophe sounds good, but maybe is a bit overkill.. is it heavy the server initialization? the machine is only booted while I am working in my spare time.. if the server takes no negligible time to start every time I turn on the PC maybe the first option is better.
Check Beanstalk it's not really an answer to the question you asked, but it might save you a lot of trouble. You could also check the VM marketplace, there are many virtual machines that would get you up and running super fast.
Here's also a very nice one called PMRepo, it includes Trac, Subversion, and Hudson in one VM.
If you want to create SVN repo, you can use this VisualSVN
By using this tool, you can easily create SVN repo and it will give it's REPO URL. so you can use it for cloning. It is the easiest way to create repo in any machine and use the its repo URL
before setting up SVN you need:
1.Install Putty http://www.putty.org/
2.Creat Droplet on Digital Ocean
3.Install Apache,Install PHP,Install phpMyAdmin
after that follow steps on below link:
https://progtec.wordpress.com/2015/10/18/how-to-setup-svn-server/

In what OS should I host subversion?

I have decided to go with Subversion for a source control repository for my personal and side projects and I'm now trying to decide what OS to use. Currently my file server for my home network is Windows 7 beta. I'm wondering if I should wipe it and install Windows Server 2008 instead? Basically I'd like to know if there are things I could take advantage with a server OS that I can't with Windows 7. First thing that comes to mind is accessing subversion remotely with a VPN connection.
I'm a .net developer, but have dabbled in Linux a bit so I'm not completely turned off to the idea of an ubuntu or debian server...
I imagine the installation and configuration process might go off with fewer hitches if installed on Linux, just because of the package management, but that's assuming some experience with the package system of $whatever_distro. If you're comfortable with Windows, Subversion works perfectly well on there. I've set it up on both, but prefer the Linux installation process (easier Apache integration, in my view), but I had pre-existing Linux experience.
If you're familiar with Windows, I bet you'll find the installation and configuration process easier there. As others have said, many of the tools are cross-platform.
You can run a Subversion server on Windows or Linux (or whatever) so it really doesn't matter. Pick whichever one you already have and feel most comfortable with. Since you are a Windows developer I see no real reason to toss Linux into the mix though.
If your goal is to minimize the amount of work you put into the maintenance of subversion, go with the OS you are most comfortable with. Many maintenance scripts, and subversion hooks are written and available in perl and python which are available for both windows and linux.
One advantage to the Windows server OSes over their client counterparts is that the client OSes are limited as to the number of inbound connections. If you are going to be the only person working on the repo, this may not make a difference. However, if there are multiple people, then this would be an issue. XP Pro/Vista Ultimate are limited by Microsoft to 10 inbound connections. I cannot speak for Windows 7.
To make life easy, try VisualSVN Server. For personal projects there's no reason to setup a separate server just for SVN.
Windows 7 will be able to host Subversion with no problems whatsoever..
If your file-server is already setup and working under Windows 7, I'd say stick with that.. Adding SVN is no reason to install a new OS
You don't need a server at all to use subversion.
If you've already got a file server on your home network, and you're doing this only for you and your personal projects, just use a subversion client such as TortoiseSVN and create your repository (or repositories) on your file server via network share (or mapped network drive, etc).
I wouldn't recommend this for multi-user setups (unless each has their own repository), but for a single user this is the simplest option. And using this approach, to answer your question, you wouldn't gain anything by switching to a server OS such as Windows Server 2008.
I'd actually recommend going with a hosted Subversion provider instead of setting up Subversion on Windows or getting a second server for that purpose. I work for ProjectLocker, but if you Google "subversion hosting", you'll see there are a number of providers that offer free or reasonably priced solutions. The advantages:
It's a hosting provider's primary job to keep your code safe, secure, and accessible, so they focus on uptime, backups, and security monitoring so you don't have to
You don't have to learn how to be a system administrator or Subversion administrator; several providers have user interfaces that make it easy to manage users and permissions.
Hosting instead of DIY lets you focus on what you actually care about: writing great software
I suggest you take a look at ProjectLocker and some of the other providers and decide which one is right for you. You may decide that doing it yourself is the best option for you, but for many people in your situation, a hosted solution has met their needs.

Resources