LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Versioning

You know, you don't have to HAVE integration with LabVIEW to use git.  I have used git, svn, Hg, and bzr with no integration and have not seen any great need to have it.  I guess it dpeends on how you do your check ins.  If you think every change should have its own check in, then I could see the integration is nice.  For me, I see check-ins as a problem solved or new functionailty.  Not necessarily huge chunks of code, but it may be several modified files.

 

It is just as easy to switch to explorer (or your command line) and do a check-in.  For git, I could see some advantages if you want to stage each VI as you go, allowing for easier partial check ins.

0 Kudos
Message 11 of 16
(1,410 Views)

do you know how to run a

 

git commit -a -m "one more step"

git push

 

after each compilation or at some other frequent event?

I think its a bit anoying to switch programs to get kind of backup.

================================
system: Win7 and debian stable
Message 12 of 16
(1,407 Views)

Why would you perform a commit after each "compilation", and what do you mean by compilation? Is it related to your other query? I think you may be "overusing" the source code control system. Even if we we talking about a text-based program it makes no sense to me to commit after I compile. What if I have bugs? I commit at the end of the work day, or sometimes in the middle if I made a lot of changes.

0 Kudos
Message 13 of 16
(1,401 Views)

If that's what you want, then you don't want version control.  Simply doing a commit at no logical state and saying the message should be "one more step" means nothing.  You can use something like PureSync to create backups for you automatically.

 

commit messaging should make sense and be descriptive of what has changed since the last commit.  How are you going to track down any specific version of a file when all your commit messages are meaningless?

 

 

0 Kudos
Message 14 of 16
(1,401 Views)

i can make a manual commit, when i have done a nice step... 

 

================================
system: Win7 and debian stable
0 Kudos
Message 15 of 16
(1,394 Views)

Then what's the issue?

0 Kudos
Message 16 of 16
(1,388 Views)