repository software?

Discussion in 'Programmer's Corner' started by Mathematics!, Sep 12, 2011.

  1. Mathematics!

    Thread Starter Senior Member

    Jul 21, 2008
    1,022
    4
    I have been setting up repository servers like cvs , svn ,...etc

    On linux their is an easy way to setup a cvs server , svn server ,...etc

    But I am wondering on a windows machine I can only find visualsvn to create a svn repo server.

    I can find lots of different client side programs to work/access different types of repo's but for server side repo software for microsoft windows I cann't find anything other then visualsvn.

    So other then using a virtual machine to run linux on windows or cygwin ,..etc is their any repo server side software for cvs , mercurial , git that you can use to make a windows box have the ability to be a repo server?

    I would like to beable to setup a git , mericurial , cvs , or others repo server other then svn on a windows box.

    And just curious is their any other server side software other then visualsvn for svn?
     
    Last edited: Sep 12, 2011
  2. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    I use git and am very happy with it. As a windows user, you will like tortoirsegit which is a graphics layer for the git commands.

    Git has the nice feature that you don´t need to use any server repository if you don´t want to, because if youre working alone, it is enough to zip and copy the directory to move the repo anywhere else.

    If you need others to access your repository, my favourite is to accessing git through ssh.
     
  3. Mathematics!

    Thread Starter Senior Member

    Jul 21, 2008
    1,022
    4
    cool, I will have to try git some time.

    since you brought up ssh.
    I was think for server side cvs , mericurial , git , svn , ...etc repo software I could use...

    Correct me if I am wrong
    I could just use any http, https , ftp , sftp , ....etc software for my repo server (i.e to create the server side repo / repo server service and just copy my software to that location using the client repo software/plugins)
    No need for server repo software if you just have a service running like http , https , ftp ... correct me if I am wrong.


    Question
    I have worked with cvs , svn they are not distributive repositories like mercurial , and git.

    My question is how are the distributive ones better ( have been hearing that they are) . Is it just the speed to which programmers/clients can download/access the repo files given that you have a ton of people accessing them at a time. Or is their some other benifit to it?

    Also is their any other free repo software that people are using other then git , cvs , svn , or mercurial. Or are those mostly what everbody uses?
    I know their are paid repo software like clearcase , pvcs ,...etc that are supposed to be really good repo software clearcase being the top.

    Your thoughts on what people / companies are mostly using
    I know at mine we used cvs , and svn.
     
  4. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    You can use any protocol that allows you to upload the files.

    But if you don´t need to let you or other people remotely upload into your repository, with distributed repositories like git you don´t need to run any kind of server, you just execute the program git and give it some parameters to for example commit new changes. Or just do it through the gui with tortoisegit.
     
  5. someonesdad

    Senior Member

    Jul 7, 2009
    1,585
    141
    Everybody's needs are different, so it's hard to make blanket statements about version control software. I'll tell you a little about my experiences. I used Clearcase for about 10-15 years in a Fortune 50 company and it was a significant tool. Our software environment was accessed by thousands of people all over the world and an industrial-strength tool like Clearcase was felt necessary. But it was a huge investment -- the divisions I worked in using it were spending millions of dollars on their computing infrastructure (and these divisions were pulling in billions of dollars in revenue). That revenue is one reason IBM bought Rational. I haven't used Clearcase in about 7 years and it would feel quite dated to me should I start using it again.

    For my home computing stuff, I used RCS for 20 years or more. It was very reliable and adequate, but I really chafed at the old file-centric architecture. A few years ago I decided I would switch my home and consulting work version control software from RCS to one of the open source distributed systems: git, Bazaar, or Mercurial. Being a geek, I probably would have settled on git. However, I also have to work with other people in my consulting work and my customers use Windows. I wanted a GUI tool that such people could use and not get intimidated by a command line interface to the version control stuff. After analyzing the three, I felt Mercurial had the best Windows GUI support, so I settled on Mercurial as my tool of choice. It has been a pretty good choice, but it's not without a few glitches here and there. But these glitches would likely have also happened whether I was working with git or bazaar, so the main, key, absolutely vital lesson one quickly learns is to back your stuff up often, at multiple locations, and with multiple people. The beauty of distributed version control is that I can e.g. give a copy of the repository to someone else and that's also an effective backup. I had one issue where my repository somehow got corrupted (and the backups did too) and my customer in another state was able to get me running by giving me his copy of the repository. Luckily, no development had gone on, so there was no code loss. Trust me, to a software engineer, there is NOTHING more important than good version control. I'd even give up my favorite editor rather than have to do software development without a version control system. And if you have to develop code with other people, there WILL be a murder or two if you don't use version control. Picking the right tool can keep you out of jail. :p
     
  6. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,692
    2,756
    Git rocks!
     
  7. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
Loading...