Author Topic: Version Control  (Read 9392 times)

Offline Mike

  • PLUS+1 Developer
  • ***
  • Posts: 43
  • Karma: +2/-0
Version Control
« on: January 07, 2021, 05:46:56 PM »
What do you all use for version control and change tracking?

Is there any external software that is compatible with the guide environment similar to GitHub?

I've been using windows folders and renaming/saving the project but it is difficult to keep track of the details of what was changed with each version.

Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 363
  • Karma: +33/-0
Re: Version Control
« Reply #1 on: January 07, 2021, 06:32:50 PM »
We use Autodesk Vault since we were using that for CAD drawings well before we started doing in-house controls.  It works pretty well but apparently lacks some of the features that more purpose-made version control solutions have.  It doesn't have any special compatibility with GUIDE; we just zip up the lhx, p1d, and p1p and check it in.
Controls Engineer
Hydra-Power Systems

Offline niteRider

  • PLUS+1 Developer
  • ***
  • Posts: 45
  • Karma: +3/-0
Re: Version Control
« Reply #2 on: January 07, 2021, 09:36:57 PM »
we use SAP as our MRP system, so I assign a part number to the blanks controllers/displays, and then another part number for the Programmed Version.  The programmed version part number is a 'Make' item, and it has the blank part number as well as a part number that I create for the 'Software Build' in its BOM.  For Major Revisions I change the Software Build Part number, that way it gets the correct revision.  All my Minor revisions are backwards compatible for that Major Revision, so it works pretty well.  I still have to store the actual .lhx and Projects out on a backed-up Engineering-only drive (with the SW Build part numbers in the .lhx's filename) but it is better than no control.

Would be interested to hear better ways, too  8)

Offline Tor

  • Administrator
  • PLUS+1 Guru
  • *
  • Posts: 296
  • Karma: +28/-1
Re: Version Control
« Reply #3 on: January 08, 2021, 03:02:50 PM »
Hello,

This is a very interesting discussion that I will keep an eye on.
When I worked as a developer we used Tortoise SVN as a version control software. I have never used any other version control software so I'm not able to say if it's good or not, but it worked fine for me.
The biggest problem with Version control is PLUS+1 GUIDE and the graphical drawings, the SCS file. This file can't be merged, as far as I know, during development. So be careful if you are more than one developer on a project.

I use the project viewer, included in the functional safety add on for GUIDE, and only check in the important unpacked files into the version control software. The red square (see image) shows what files is needed for the project to open. These files differ depending on what hardware you are using.  And maybe I check in the LHX file as well.  In SVN you can lock the project when you are working on it, so no one else do changes on the SCS file at the same time.


Have a nice day.
Best regards,
Tor
PLUS+1® SW PAE Team

Offline jashom1

  • PLUS+1 Expert
  • ****
  • Posts: 80
  • Karma: +6/-0
Re: Version Control
« Reply #4 on: January 11, 2021, 01:41:38 AM »
Hi,
We also use Autodesk Vault for version control, but also have revision notes every time the software is updated, which is placed into a rich text document that is compiled into the lhx file which is then displayed in the service tool when flashing in software.
We also use the version number field under Service Tool Data which shows up in the service tool.

I also keep a copy of the .scs file for every revision, just so I have a record of what has been changed.

Offline tjozmin

  • PLUS+1 Developer
  • ***
  • Posts: 10
  • Karma: +0/-0
    • Oxbo International Corporation
Re: Version Control
« Reply #5 on: January 21, 2021, 02:10:58 PM »
We are using SourceGear Vault. We just check in the p1p file. This saves the history so we can go back to look at any version. We also check in the lhx file with the version as a suffix. I was also wondering how it would work with something like GIT. I thought at one point there was an integration with SVN or CVS with an add-on. I can't seem to find any information on it now.