|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||
|
||||
|
Re: What does your team use to share code?
Does anyone know of any examples on how to use Github for FRC C++?
Last edited by frcteam2501 : 12-11-2014 at 17:33. |
|
#17
|
||||
|
||||
|
Re: What does your team use to share code?
My repositories are about 90% C/C++
.Feel free to check out every inch of it ![]() https://github.com/yash101 To download a repository, user@dev~/soft $ git clone <location of repository> |
|
#18
|
||||
|
||||
|
Re: What does your team use to share code?
Dropbox overwrites with the newest saved version. Thats why we just keep numbered versions (V1, V1.1, V2, V2.1).
|
|
#19
|
||||
|
||||
|
Re: What does your team use to share code?
Quote:
http://git-scm.com/book/en/v1/Getting-Started https://guides.github.com/introduction/flow/ https://guides.github.com/activities/hello-world/ https://www.atlassian.com/git/tutorials/ |
|
#20
|
|||||
|
|||||
|
Re: What does your team use to share code?
Dropbox actually does give you the ability to restore previously saved versions of a file.* But it isn't really set up for the kind of version control that would be useful for most teams.
Quote:
* That came in handy once when I accidentally saved an empty copy of my son's senior design project. I think he still isn't aware that it happened. |
|
#21
|
||||
|
||||
|
Re: What does your team use to share code?
During the season we use one of our facilities desktops as a SVN server. After the season ends we publish the code on our team's website.
|
|
#22
|
||||
|
||||
|
Re: What does your team use to share code?
Thanks for all the help!
I have been using GitHub for a few weeks and it has been working great! (They even gave our team bronze for free!) Now comes the hardest part, convincing the Programming Captain that GitHub is better than flash drives, he refuses to use GitHub (maybe because he's a Senior and a Sophomore set it up and knows more than him?) and I need to convince him that GitHub is easier to use and better for organizing the 10+ programmers we now have. Last edited by FRC2501 : 30-01-2015 at 09:27. |
|
#23
|
|||||
|
|||||
|
Re: What does your team use to share code?
That's easy, take the flash drive, and hide it.
|
|
#24
|
||||
|
||||
|
Re: What does your team use to share code?
I wish, he keeps 2 on his keychain
Last edited by FRC2501 : 30-01-2015 at 09:35. |
|
#25
|
||||
|
||||
|
Re: What does your team use to share code?
Send him over to this thread
Git is one of the primary version control technologies used in industry and it's good to get familiar with it, especially if you are going into a software engineering job. It allows you to see who changed what, have multiple people editing the same files at once, and rollback any major changes that create issues.Also, on a completely separate but relevant note: You may not want to use what I'm about to say if you've never used git before, but Atlasssian will provide Jira (a bug tracker) to FRC teams for free. It integrates with Github so you can link commits to specific bug. Just thought I would let some other people know if they didn't already. We use Jira constantly for managing our bugs and what everyone on our programming team is doing. I also use Jira at work and I have nothing but good things to say about it (other than a few more complicated features being ... well ... to complicated). |
|
#26
|
||||
|
||||
|
Re: What does your team use to share code?
Quote:
|
|
#27
|
||||
|
||||
|
Re: What does your team use to share code?
We use SVN. I personally prefer it to Git because I find the operations are simpler and more explicit... and like Git it is a full version control with merging code and marking revisions. In previous years we stored the repository on our team laptop and networked all the programmers' laptops with it using a router. This gave us full access to the history at competition on our team laptop if needed and in addition we make a back up to a flash drive of every version of code that is downloaded to the robot during the competition. This has been a saving grace a couple of times when someone in the pit moved the programming laptop and thought they didn't touch anything.
However, since this year's communications strategy lends itself to using Wifi, we have moved our repository to the cloud on SourceForge which works well with SVN. This will provide further flexibility for student programmers to grab updates at home and still fulfills our other needs. We will still be using the flashdrive backup occasionally during build season and most definitely everytime we deploy code at competition. There is nothing worse than not being sure what source code was used to generate the executable that is currently sitting on the robot. ![]() |
|
#28
|
|||
|
|||
|
Re: What does your team use to share code?
We use BitBucket for hosting all our code, but when we open source it we put it on GitHub. And of course we use git with each.
|
|
#29
|
||||
|
||||
|
Re: What does your team use to share code?
This season we have been testing Nitrous with Github integration. It allows us to edit code simultaneously in Nitrous' IDE similar to Google Docs (this function is still experimental and can be buggy but overall has been working pretty well). We save it in a box in Nitrous and when we're ready we push it to Github using Nitrous's console.
|
|
#30
|
|||
|
|||
|
Re: What does your team use to share code?
We keep the stick in a special drawer in the tool box. The team knows that there will be great trouble if anything happens to it.
Plus a copy goes on my drive immediately. If the development laptops could get to the internet we would take a shot at GitHub, but the school district's IT department is kind of tightly wound. Tim |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|