hexagon logo

Have you tried GIT with PcDmis?

Some of you already know that I left the CMM world ~1 year ago and have moved into a Controls Engineer role. Git has become a common task in my daily work life and have grown to appreciate it. Each time I'm in use of it I can't help to think about all the times Git would've been useful with PcDmis...

Recently, I've began helping out a shop write programs on my spare time. Time to test Git and PcDmis and find out how well they work together.

Thus far... .PRG files are binaries and therefore kills the usefulness of GIT a little bit BUT not totally. I am able to create branches and travel back and forth thru time. Would I still use Git and PcDmis even though Git doesn't display details as far as what changed exactly changed from a last edit... YES!!!

Let me know if you're interested in learning more and I'll type up a simple thread on my adventures with Git and PcDmis... whenever I find the spare time Smiley
Parents
  • Hello Aaron Baldauf

    1. GIT doesn't know PcDmis exists and PcDmis doesn't know GIT exists. They don't interact with each other. PcDmis creates files and GIT interacts with files/folders.

    2. Git does monitor a folder of your choice. I monitor each part and that part may have setup images, multiple part routines (op1, op2, etc.)

    3. It does not do anything automatically out of the box. You can automate it if you desire. When using PcDmis you can go over to GIT and commit changes (PcDmis file has to be saved in order to write to disk and GIT recognize those changes). A commit is like a snapshot of the current files, folders, all of its contents.

    4. When you back a version (or commit) your files automatically change to that commits snapshot of everything in that folder (I'm still learning exactly what this step does with PcDmis, its all looking like normal GIT operations). You may travel to any commit in history and go back to current and bring files with you.

    5. You have control as to what contents get updated with .gitignore file, everything that you would like to be ignored in the repository (main folder) goes in this folder.

    GIT is a very powerful tool. I highly recommend experimenting with it and learn as much as possible when using it... and it's free!

    I've created a repo that I'm thinking of making "open source" for us all to contribute. Thus far I have built a library of simple sub programs to create folders and report headers (text style). Let me know if ya'll are interested in taking a peek at it.
Reply
  • Hello Aaron Baldauf

    1. GIT doesn't know PcDmis exists and PcDmis doesn't know GIT exists. They don't interact with each other. PcDmis creates files and GIT interacts with files/folders.

    2. Git does monitor a folder of your choice. I monitor each part and that part may have setup images, multiple part routines (op1, op2, etc.)

    3. It does not do anything automatically out of the box. You can automate it if you desire. When using PcDmis you can go over to GIT and commit changes (PcDmis file has to be saved in order to write to disk and GIT recognize those changes). A commit is like a snapshot of the current files, folders, all of its contents.

    4. When you back a version (or commit) your files automatically change to that commits snapshot of everything in that folder (I'm still learning exactly what this step does with PcDmis, its all looking like normal GIT operations). You may travel to any commit in history and go back to current and bring files with you.

    5. You have control as to what contents get updated with .gitignore file, everything that you would like to be ignored in the repository (main folder) goes in this folder.

    GIT is a very powerful tool. I highly recommend experimenting with it and learn as much as possible when using it... and it's free!

    I've created a repo that I'm thinking of making "open source" for us all to contribute. Thus far I have built a library of simple sub programs to create folders and report headers (text style). Let me know if ya'll are interested in taking a peek at it.
Children
No Data