Results 1 to 14 of 14

Thread: Source control

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 1999
    Location
    España
    Posts
    45

    Source control

    Hello kids.

    I'm studying about source control. I'm looking for controling tecniques to trace the changes you do into a code source.

    I need a program that saves many versions of code and registers dates of change and reason, etc. Or somethig similar.

    It's very usefull to remember why did you do that change a few months ago or why someone did any change in the source code.

    If you can send any help, I'll be bery pleased.

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    We use Visual SourceSafe to do this.

    It is a delta file revision system so you can track changes and compare versions of files and it also allows you to label particualr revisions of each file - which we do for each release.

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  3. #3
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    i've never actually used visual sourcesafe myself, probably coz i've never worked in a team - is it any good?
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  4. #4
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    If you have enterprise edition of VB or Visual Studio, you get Visual SourceSafe for free.

    It is definitely worth using, even as a sole developer, if you intend to maintain multiple releases of a common code base as it allows you to split and merge revisions.
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  5. #5
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    what advantages does it have over keeping seperate versions manually, and just using Explorer to keep track etc, bearing in mind that i'm a sole developer?

    this is something i'm interesting in very much BTW coz i have Enterprise, and took a little look at Visual SourceSafe and didn't think too much too it - but then i didn't look into it much and i was pushed for time...
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  6. #6
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    VSS is quite good. We have been using it since last year or so.

    Darre1, it basically takes the hassle out of maintaining the versions manually.

    Every time you check in a file, you just need to describe in short the changes made to the file. That will help you identify a particular version of the file.

    For e.g. you implemented some new functionality in one of the forms, and then your client found out it had completely goofed up, and you wish to revert back to the older version. Simply go to SourceSafe, and select the earlier version of the file, get it to your working folder, compile the project and that's it!

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

  7. #7
    Lively Member
    Join Date
    Jun 2001
    Posts
    69

    Multiple environments?

    I'd like to throw in a question as well.
    We've been using VSS for the last year or so on a single project and it's been working great.

    Now we want to use VSS on all our projects in the company. We have 4 environments: Dev, Testing, UAT and Production.
    I want to know what you guys think would be the best settup for sourcesafe in such an environment. Let me explain:

    We have about 100 smaller projects running. Would it be best to create a VSS Database for each environment and in each database have 100 folders, one for each project, or will one central db work with 4 main folders (one for each environment) with sub folders in for each project?

    Any ideas?

  8. #8

    Thread Starter
    Member
    Join Date
    Mar 1999
    Location
    España
    Posts
    45
    Hello people.

    Reading your tips; I think the best way to control the source is VSS. But, I don't know anything about this. Do you know any site to learn about VSS?

    I need to learn from the begin.

    Bye.

  9. #9
    Fanatic Member InvisibleDuncan's Avatar
    Join Date
    May 2001
    Location
    Eating jam.
    Posts
    819
    Originally posted by darre1
    what advantages does it have over keeping seperate versions manually, and just using Explorer to keep track etc, bearing in mind that i'm a sole developer?

    this is something i'm interesting in very much BTW coz i have Enterprise, and took a little look at Visual SourceSafe and didn't think too much too it - but then i didn't look into it much and i was pushed for time...
    One of the best things about SourceSafe is that it allows you to compare versions. It can display them next to each other, and highlight any changes, i.e. where code has been changed, inserted or deleted. If you break something but know that it was working perfectly on an earlier version, this can be invaluable.

    Innofin - would you really want separate versions of everything for each phase? How would you ensure that any modifications are made consistently? Would you merge them back at the end? If so, I think you'd need to keep all the environments for each project on one database, although you might want to split some of the 100 projects into different databases.
    Indecisiveness is the key to flexibility.

    www.mangojacks.com

  10. #10
    Fanatic Member InvisibleDuncan's Avatar
    Join Date
    May 2001
    Location
    Eating jam.
    Posts
    819
    Originally posted by Roberto Mendoza
    Hello people.

    Reading your tips; I think the best way to control the source is VSS. But, I don't know anything about this. Do you know any site to learn about VSS?

    I need to learn from the begin.

    Bye.
    Try here: Microsoft's SourceSafe Site
    Indecisiveness is the key to flexibility.

    www.mangojacks.com

  11. #11
    Lively Member
    Join Date
    Jun 2001
    Posts
    69
    InvisibleD,
    To ensure that everyting gets updated up the ladder, we do a migration every two weeks to make sure that every thing that have been through UAT gets put into production & training.

    So my idea was to create 5 different VSS databases (one for each environment) and everytime a project in UAT have been signed off, we just move the code in the UAT database for project X over to training & production of project X's fodler.

    You thing this is wise or not?

    Another thing, how big can a VSS database become? Our current code is in the region of about 7GB in each environment.

  12. #12
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    There is one caveat when using SourceSafe - put the sourcesafe install on it's own partition. For some reason it is not good at estimating the free space (and therefore whether it is safe to check in a file) when it shares a logical drive with others...

    Also, if you are going to use it professionally I recommend that you run the Analyze -X command at least once a week to check that the code base isn't damaged in any way.

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  13. #13
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    There is also a product called Perforce which is lot less than ClearCase, inlcudes allowing branching and reconciling of code. At work smaller teams use cvs (0-10), medium sized (10-50) use perforce, 50+ use ClearCase.

  14. #14
    gaffa
    Guest
    I've just been doing some digging around, and I found another product called MKS Source Integrity which looks reasonable - not the full box and dice like PCVS or ClearCase, but it's a lot cheaper.

    - gaffa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width