Results 1 to 15 of 15

Thread: Version Control / Change Management - what do you use?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    56

    Version Control / Change Management - what do you use?

    Aside from Microsoft's Visual Sourcesafe, is anyone using any tools that allow for version control of source code while doing proper change management for Visual Basic?

    By "proper", I mean in a large project(s) environment, where changes to multiple files can be grouped under a single "changeset". For the most part, my organization does this manually with Visual Sourcesafe, however we're growing and proper change management software may solve some of our problems.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Version Control / Change Management - what do you use?

    I work for a commerical software development company and we have developers all over North America and in India. We use VSS on a global basis and as far as I know, it works just fine.

    We do have a dedicated source control team that maintains VSS servers. Maybe thats the difference.

  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Version Control / Change Management - what do you use?

    Back when I worked for a larger firm, we had a team of librarians and source control people that were in charge of the SOURCE SAFE aspects and the "release" of modifications aspect.

    Now, having my own business, with just a handful of programmers, this falls to me to handle. The hardest part is coordinating the changes to "control tables" in SQL with the release of STORED PROCEDURES and the release of the VB application.

    We have developed several little utilities to assist in this. Move files modified since "some date" - create BAT files automatically that will OSQL the STORED PROCEDURES into the customer DB's. Utilities to create TEXT FILES of DB Control tables - and extensive use of WINDIF to compare archive folders of these text files.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #4
    Addicted Member
    Join Date
    Jan 2001
    Location
    MPLS
    Posts
    187

    Re: Version Control / Change Management - what do you use?

    I previously used VSS for the work done in our department, but now my company has chosen to use an enterprise solution by Serena. So now I've recently migrated to using Serena ChangeMan DS. It does "changeset" as you called it. Besides version control and change management, it can be used for distribution as well. Take a look at http://www.serena.com/

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    56

    Re: Version Control / Change Management - what do you use?

    Thank you for your reply. I'm starting to look at the website now, but I have a question for you about this software and Visual Basic 6 code.

    Are you checking VB6 code in? If so, how does it handle the concept of merging code from branch to branch? For us, this is a major issue since VB6 code consists of a textual and a binary file (e.g. .frm/.frx files). I can't get my mind wrapped around how any product can solve the binary merging problem.

  6. #6
    Addicted Member
    Join Date
    Jan 2001
    Location
    MPLS
    Posts
    187

    Re: Version Control / Change Management - what do you use?

    Yes we use it for VB6 code, sql code, documentation, anything really we want to track, binary or not. It can do merging, but we do not use it since in our situation we only allow single user checkouts, and do not allow merges. I'm sure the .frx and other binary merge is a problem with any version control system, or do you have an existing system that can do this to the .frx files?

  7. #7
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Version Control / Change Management - what do you use?

    Quote Originally Posted by szlamany
    Back when I worked for a larger firm, we had a team of librarians and source control people that were in charge of the SOURCE SAFE aspects and the "release" of modifications aspect.

    Now, having my own business, with just a handful of programmers, this falls to me to handle. The hardest part is coordinating the changes to "control tables" in SQL with the release of STORED PROCEDURES and the release of the VB application.

    We have developed several little utilities to assist in this. Move files modified since "some date" - create BAT files automatically that will OSQL the STORED PROCEDURES into the customer DB's. Utilities to create TEXT FILES of DB Control tables - and extensive use of WINDIF to compare archive folders of these text files.
    Holey crap batman! For cordinating db changes we oddly enough leverage the ability of VSS lableing. Our VSS structure is such that each part of the system is it's own project with it's own VSS folder. Under each VSS folder, there is a Stored Procedures and Tables folders. I'll let you guess what goes in each. Now, each SP and table is then shared to a common SP and Tables in the main root of the app folder in VSS. It then works like this, if I make a change to a project and need an SP that does XYZ, I look in the common SP folder for one that already does XYZ. If I find it, I simply then share it to the project that I need it in. If I then need to check it out to make a change, I do that under the project. When done, I label it with the issue number that caused me to change it.

    We then build an app that allows us to create builds based on client & issue numbers... it then will loop through all projects in the build and gets the assigned version (based on the issue #). As part of the get process, it gets the SP and Table folders along with it. Then through some voodoo majic that I don't quite get it's able to take all of our sql scripts figure out if there's going to be a conflict, notifies the QA if needed, and assembles it into one big SQL script that ultimately gets sent to the customer. Then they simply open Query Analyzer and run the script.

    I guess that's just as crazy.... it's just that most of it has been automated for us...

    Tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  8. #8
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Version Control / Change Management - what do you use?

    Quote Originally Posted by Bishop
    Thank you for your reply. I'm starting to look at the website now, but I have a question for you about this software and Visual Basic 6 code.

    Are you checking VB6 code in? If so, how does it handle the concept of merging code from branch to branch? For us, this is a major issue since VB6 code consists of a textual and a binary file (e.g. .frm/.frx files). I can't get my mind wrapped around how any product can solve the binary merging problem.
    In our case, we set a VSS "rule" that frm/frx files can only be checked out by one person at any one time. All other files cls/mod/bas can be checked out by more than one.

    Tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  9. #9
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Version Control / Change Management - what do you use?

    Quote Originally Posted by techgnome
    For cordinating db changes...
    We've got this home-grown report writer that takes the recordset of a STORED PROCEDURE and formats it for output on paper. The formatting controls are all stored in a table in the database called REPORT_T. Adding a column to the recordset in the SPROC and tracking that change with source safe is no problem...

    ...it's getting the one or two new rows into REPORT_T at the customer site that stinks.

    We also control what "textboxes" and "grids" appear on our VB app through a table in the DB called (guess what)... FORM_T. Adding a couple of new columns to the SELECT statement in the SPROC, again, is no problem - it's getting the one or two new rows into FORM_T that stinks...

    We are very strick about making any changes to the customer control tables - it's all supposed to be done in-house first - but I still have the feeling that a WINDIF check of control tables (whole folder DIF of 10 control tables) is reasonable.

    Once we start marketing our application to the national marketplace, I will have to re-think this approach...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Version Control / Change Management - what do you use?

    Quote Originally Posted by techgnome
    In our case, we set a VSS "rule" that frm/frx files can only be checked out by one person at any one time. All other files cls/mod/bas can be checked out by more than one.

    Tg
    Ditto in my shop.

  11. #11
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Version Control / Change Management - what do you use?

    We use VSS here too and have it setup so any file can only be checked out exclusively. Now when VS.NET releases its RTM
    version this November we are upgrading to that since it has so many improvements and new features. I like the Remote Access
    feature. No longer need to have SourceGears "SourceOffSite" program to give the remote access capabilities.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  12. #12

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    56

    Re: Version Control / Change Management - what do you use?

    Having a team manage it makes a world of difference... In my organization, I am on that team myself, but we are starting to look for better ways to manage the code now.

  13. #13

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    56

    Re: Version Control / Change Management - what do you use?

    Quote Originally Posted by techgnome
    In our case, we set a VSS "rule" that frm/frx files can only be checked out by one person at any one time. All other files cls/mod/bas can be checked out by more than one.

    Tg
    That works for us as well. However, it's a challenge when you have a code branch that has fixes made in the following order: A, B, and C (and all you want to take is fixes A and C).

    That's what were looking to solve.. but with binary files, I figured it would be near impossible... that's why I'm very interested in what the community at large uses.

  14. #14
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Version Control / Change Management - what do you use?

    When we run into that case.... then we "get" fix A.... then we copy the project ot a new folder called "Hot Fix".... check it all into Source Safe, under the Hot Fix folder.... then check it out from there..... make the C changes..... then that's what gets shipped.

    It's convoluted and complicatedbut it's a process that's served us well.... and it's evolved over the years too... :P

    Tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  15. #15

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    56

    Re: Version Control / Change Management - what do you use?

    Quote Originally Posted by techgnome
    When we run into that case.... then we "get" fix A.... then we copy the project ot a new folder called "Hot Fix".... check it all into Source Safe, under the Hot Fix folder.... then check it out from there..... make the C changes..... then that's what gets shipped.

    It's convoluted and complicatedbut it's a process that's served us well.... and it's evolved over the years too... :P

    Tg
    That's exactly the process that I've helped to develop in our environment as well. This thread certainly has certainly help validate our processes. But it's ashamed that it would appear that there are no better solutions for us.

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