Configuration Management with Git

  • sirklezero
  • Topic Author
  • New Member
  • New Member
More
2 years 11 months ago #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 to join the conversation.

More
2 years 11 months ago #284676 by Cant do this anymore bye all
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 to join the conversation.

More
2 years 11 months ago #285045 by dpslwk

Please Log in to join the conversation.

More
2 years 11 months ago #285048 by SkyMoCo

Please Log in to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum