|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
What does your team use to share code?
Our team uses C++ and sinced we have grown from a programming team of 1 to a team of 5, we need to find a program that we can use to share our code with each other. Anyone have a suggestions on what to use?
|
|
#2
|
||||
|
||||
|
Re: What does your team use to share code?
Use GitHub and fork/push/pull the code for development. They have a great set of tutorials to help learn the process and the give each FIRST team a free private repository.
|
|
#3
|
|||
|
|||
|
Re: What does your team use to share code?
Seconding github.
They'll give FRC teams more than one private repo if you ask. I know 79 has at least 5. |
|
#4
|
||||
|
||||
|
Re: What does your team use to share code?
Github. Though we personally use flash drives.
|
|
#5
|
||||
|
||||
|
Re: What does your team use to share code?
Our GitHub Settings shows that we were given a free Bronze account, providing 10 free private repositories.
|
|
#6
|
||||
|
||||
|
Re: What does your team use to share code?
We currently use GitHub as well, but in the past we've simply done all of our robot programming on one laptop (with a second laptop serving as a backup). There are disadvantages to that, but it makes sure there's only one copy of the code.
|
|
#7
|
||||
|
||||
|
Re: What does your team use to share code?
adding another one for github, but when its very simple code we just use pastebin
|
|
#8
|
|||
|
|||
|
Re: What does your team use to share code?
Another for github. A bit of a learning curve to get used to it, but the features are super powerful. Also hip and new
it's what all the cool kids use. |
|
#9
|
|||
|
|||
|
Re: What does your team use to share code?
One last thing about git is that it allows for access to your complete history even without internet access, which can be very helpful at most competitions -- not that we ever have to edit our code at competition :-)
|
|
#10
|
||||
|
||||
|
Re: What does your team use to share code?
Thanks for all the help!
On our team it seems like every programmer brings their own computer to work on so we will try using Github, the problem we've been having with flash drives is that you can't easily merge codes, does Github merge codes if 2 people are working at once? (anyone have a link to a tutorial on how to use it for FRC?) |
|
#11
|
|||
|
|||
|
Re: What does your team use to share code?
Yes, git (the software one uses to publish changes to github and to manage changes made to software locally) is very good at handling merges. See http://git-scm.com/book/en/v2/Git-Br...ng-and-Merging
|
|
#12
|
||||
|
||||
|
Re: What does your team use to share code?
Quote:
Github is also one of the largest hosted source control products used today. It's a good skill to have (ability to use git) as you will need to use it out in the professional world. Pull requests are one feature Github has which enable teams to do code review (aka before code enters the main code base, another person has to look over it first). This is a really good practice to get into and Github makes it very easy to do. https://help.github.com/articles/using-pull-requests/ Lastly, Github gives FRC teams a free silver organization (https://github.com/pricing). You can request it at https://github.com/edu. |
|
#13
|
||||
|
||||
|
Re: What does your team use to share code?
We use dropbox. Any programmers, or anyone who might just use the code is invited to a shared dropbox folder. If you download the dropbox program is shows up like any other folder on your device, and you can save just like normal. Everyone will have access to the newest code immediately after its saved on whatever device last worked on it.
|
|
#14
|
||||
|
||||
|
Re: What does your team use to share code?
We just use a flash drive that we lock up every night. it is kind of old fashioned but it keeps all of our code safe and gives us easy access to all of our code going back several years and we have daily backups of code to go back to if a file is corrupted.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|