110 likes | 248 Views
SEE labo. Usefull information. Hosting op the projects. Team A: http://code.google.com/p/denayer-robocup-11-12-a/ Team B http ://code.google.com/p/denayer-robocup-11-12 -b / Projects last year http://code.google.com/p/denayer-robocup-a /
E N D
SEE labo Usefull information
Hosting op the projects • Team A: http://code.google.com/p/denayer-robocup-11-12-a/ • Team B http://code.google.com/p/denayer-robocup-11-12-b/ • Projects last year • http://code.google.com/p/denayer-robocup-a/ • http://code.google.com/p/denayer-robocup-b/
Login on computers A212 • Ubuntu Linux • Login: robocup • Password: robocup
Beagle board (Robot) • Angstromdistribution • Compiler, linker, make, … • Usb-ethernet stick works (only 1 available) • Wireless stick notsupported • Example code of motor driver present • Examplemakefile • Example classes
SVN • Why? • How?
SVN: Why? • Software development is notlinear • Codingerrors, so want to go back in time • Decisionsyouregret • … • Not a one-man project • Manydevelopers • Who has donewhat, commenting updates • Multiple versions • Stable • tests
SVN: Why? • Communication has been forgotten • In class X is changedbecause of class Y • Class X contained a bug, new versionssolveditbydoing … • Withmanybackups the overview of the project is lost • Differencesbetweenversionscanbeshown
SVN: What? • A version control system (subversion) thatmanages the different versions of your project • A (central) server that stores the code • Revisionnumbers is assignedeach time changes have been made • Comments on the revisiontellwhat has been changes, added, possibleproblems, … • Who has made the changes • …
SVN: How? • Get a svn-project • Alreadycreated: The google-code project of your team • Create a local directory toworkwith mkdirRobocupWorkingDirectory cd RobocupWorkingDirectory • Checkout the whole project, this is only the first time, whenyoualready have the project code in a local directory, youcanuse “update” • svncheckout
Google-code project Your own username SVN: How? • svncheckouthttps://denayer-robocup-11-12-a.googlecode.com/svn/trunk/ denayer-robocup-11-12-a –username username@gmail.com • Modidy, create, … files in yourlocal copy of the project • When a long time has past since last update/checkout, update yourlocalversion of the code with the latestversion online: svn update
SVN: How? • When new files are locallycreated, addthemto the project svnaddfilename.cpp • Commit the changes sotheybecomeavailable in the online repository svncommit –m “Comment on the changes made” –username your-google-username password: “Your password” • A new revisionnumber is createdforthisversion • Byusing the webinterface, youcan browse the code online tovalidateyour changes