Configuration Management with Git

  • sirklezero
  • sirklezero's Avatar Topic Author
  • Visitor
  • Visitor
05 Nov 2023 19:38 #284658 by sirklezero
Configuration Management with Git was created by sirklezero
I'm curious if any of you are using Git to manage your machine configurations. Since I'm super new to using LinuxCNC and not as confident as I'd like to be yet, I've been using Git to manage the files in my machine's configuration folder. So far it's really saved me from a configuration development standpoint as I move code between my machine's computer and my personal workstation(s). I've used branching to develop new features (subroutines) and to isolate configuration changes before I merge those updates into master, my production branch. 

Basically, I'm using Git like a software engineer (which is my background), but in this case to track, manage, and isolate my machine config. It doesn't hurt that I'm using a network location as a remote for Git; the remote essentially gives me "offsite backup", and central access for any of my machines to access my configuration.

As of now I'm only tracking the following files. Everything else is explicitly ignored in the .gitignore file:
  • machine.hal (My machine's hal)
  • machine.ini (My machine's ini)
  • postgui.hal
  • probe-configuration.hal (for my tool setter and touch probe)
  • qtdragon.pref
  • readme.md (my personal documentation for my machine)
  • shutdown.hal
  • tool.tbl
  • vc-p4s.hal (for my VistaCNC pendant)
  • vc-postgui.hal
  • subroutines (folder + all content in it)
Is there any reason I should track things in my python or qtvcp folders?

Josh

Please Log in or Create an account to join the conversation.

  • cornholio
  • cornholio's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
06 Nov 2023 00:07 #284676 by cornholio
Replied by cornholio on topic Configuration Management with Git
Sounds like a good idea.

Generally I just use to good ol' v001, v002, v003, vxxx method. But I'm a bit of a Luddite.

Please Log in or Create an account to join the conversation.

More
10 Nov 2023 20:18 #285045 by dpslwk
Replied by dpslwk on topic Configuration Management with Git

Please Log in or Create an account to join the conversation.

More
10 Nov 2023 20:39 #285048 by SkyMoCo

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum