Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Why you should care about version control, and why I suggest git (http://www.chiefdelphi.com/forums/showthread.php?t=79446)

Greg McKaskle 30-12-2009 14:29

Re: Why you should care about version control, and why I suggest git
 
I downloaded the tortoiseGIT stuff the other day as I had no experience with it. XMas has prevented me from doing anything except install it.

So, I haven't formed an opinion yet as to what might be easiest for teams to pickup and use effectively. I'll try to get back in the next few days with an opinion. Anyone else, feel free to throw in your answer.

Greg McKaskle

Nadav Zingerman 31-12-2009 18:07

Re: Why you should care about version control, and why I suggest git
 
I would like to report that I have had success using Mercurial with LabVIEW. With some python hackery (is there any other way? :) ) I got LabView Compare to work with Mercurial's automatic diff tools. I think Mercurial + TortoiseHg + bitbucket is an excellent and simple setup for FRC teams.

Jon236 31-12-2009 19:26

Re: Why you should care about version control, and why I suggest git
 
Quote:

Originally Posted by Nadav Zingerman (Post 891967)
I would like to report that I have had success using Mercurial with LabVIEW. With some python hackery (is there any other way? :) ) I got LabView Compare to work with Mercurial's automatic diff tools. I think Mercurial + TortoiseHg + bitbucket is an excellent and simple setup for FRC teams.

Thank you for your work....could you post a White Paper explaining the process?

Nadav Zingerman 01-01-2010 04:42

Re: Why you should care about version control, and why I suggest git
 
Quote:

Originally Posted by Jon236 (Post 891983)
Thank you for your work....could you post a White Paper explaining the process?

In the works...

Jon236 01-01-2010 11:57

Re: Why you should care about version control, and why I suggest git
 
Quote:

Originally Posted by Nadav Zingerman (Post 892002)
In the works...

Todah raba!

woodk 13-01-2010 22:00

Re: Why you should care about version control, and why I suggest git
 
Thanks for the information. I have been wanting to set up some sort of version control for my team. I have been having trouble getting it set up, though. I have installed git and tortoisegit. I have a couple of questions.
1. Does anyone know how to use git with Windriver workbench?
a) How do you tell windriver not to try to compile everything in the .git folder?
b) What is the workflow? I assume you can't access git from within workbench. So you have to open up the windriver workspace in explorer, use the tortoisegit commands from there, return to windriver workbench, do your editing, then return to explorer to commit the changes?
2. How do you allow your whole team to work on a project hosted at github? I figured out how I can access it using a SSH key, but I'm not sure how other programmers can also share the same project.

Thanks!

- Kevin

M.Rehberg 14-01-2010 14:44

Re: Why you should care about version control, and why I suggest git
 
Our team is using SubVersion (SVN) this year, and so far like the tight integration to WindRiver Workbench. We load TortiseSVN too, but don’t use it much anymore because the “team” tools in Workbench can checkout, branch, tag, merge, commit the code without leaving the development environment. SVN works well for us, but we do have high speed Internet service at the build site to stay connected to the repository. If we didn’t we could just put up a local SVN server, but that could lead to conflicts as the team does some of the coding from home.

I like the comments around git, and will take a look at it for next year. How do you use it with Workbench?

woodk 18-01-2010 23:54

Re: Why you should care about version control, and why I suggest git
 
I found the "add collaborators" button in github, but I still can't figure out how to stop WindRiver from trying to compile all the stuff in the .git folder. Does anyone know how to do that?

Thanks,

- Kevin

woodk 21-01-2010 09:57

Re: Why you should care about version control, and why I suggest git
 
Quote:

Originally Posted by woodk (Post 902025)
I found the "add collaborators" button in github, but I still can't figure out how to stop WindRiver from trying to compile all the stuff in the .git folder. Does anyone know how to do that?

I couldn't get the compiler to exclude the directory, so I moved the entire project into a subfolder, parallel to the .git folder. This seems to work.

- Kevin


All times are GMT -5. The time now is 16:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi