Difference between revisions of "Getting sources using subversion or directly from the snapshots"

From Wiki for iCub and Friends
Jump to navigation Jump to search
Line 10: Line 10:
   svn co https://github.com/robotology/yarp/trunk yarp  
   svn co https://github.com/robotology/yarp/trunk yarp  
   svn co https://github.com/robotology/iCub-main/trunk iCub-main
   svn co https://github.com/robotology/iCub-main/trunk iCub-main
== Using Subversion (Windows) ==
== Getting Subversion ==
This step is required only if you want to get the sources from our subversion repository. If you plan to use a snapshot you can skip this step.
Get a svn client for Windows, tortoisesvn is a good option, available from http://tortoisesvn.net/. <br> If you install this graphical client, remember to enable the "command line client tool" like shown in the picture.
[[File:Tortoise 2.jpeg|450px]]
If you are not familiar with svn we suggest at least you learn the basics. Some instructions are available from the sourceforge website:
  https://sourceforge.net/apps/trac/sourceforge/wiki/Subversion
A lot of more details (including a quick introduction) can be found instead here:
  http://svnbook.red-bean.com/
'''Important''': if you are a developer and are planning to commit to the repository don't forget to configure svn. Follow this link: [[Subversion_client_flags]].
== Using Subversion ==
Use file manager to browse to the location where you would like to download YARP (e.g. c:\yarp). Right click on an empty region of the window and select "SVN checkout" from the contextual menu.
Type the following string in the entry "URL of repository":
    https://github.com/robotology/yarp/trunk
No password or username will be required.
Now for icub-main use file manager to browse to the location where you would like to download the code (e.g. c:\icub-main). Right click on an empty region of the window and select "SVN checkout" from the contextual menu.
Type the following string in the entry "URL of repository":
    https://github.com/robotology/icub-main/trunk
No password or username will be required.

Revision as of 07:35, 12 June 2014

You can download YARP and iCub sources from any of the available snapshots or subversion.

Snapshots of the sources are available for YARP and iCub here: Downloads. Download the zip file and unpack it.

Using subversion (Linux)

Pick a directory where you would like to install the sources, e.g. /home/user

 cd /home/user
 svn co https://github.com/robotology/yarp/trunk yarp 
 svn co https://github.com/robotology/iCub-main/trunk iCub-main

Using Subversion (Windows)

Getting Subversion

This step is required only if you want to get the sources from our subversion repository. If you plan to use a snapshot you can skip this step.

Get a svn client for Windows, tortoisesvn is a good option, available from http://tortoisesvn.net/.
If you install this graphical client, remember to enable the "command line client tool" like shown in the picture.

Tortoise 2.jpeg

If you are not familiar with svn we suggest at least you learn the basics. Some instructions are available from the sourceforge website:

  https://sourceforge.net/apps/trac/sourceforge/wiki/Subversion

A lot of more details (including a quick introduction) can be found instead here:

  http://svnbook.red-bean.com/

Important: if you are a developer and are planning to commit to the repository don't forget to configure svn. Follow this link: Subversion_client_flags.

Using Subversion

Use file manager to browse to the location where you would like to download YARP (e.g. c:\yarp). Right click on an empty region of the window and select "SVN checkout" from the contextual menu.

Type the following string in the entry "URL of repository":

   https://github.com/robotology/yarp/trunk

No password or username will be required.

Now for icub-main use file manager to browse to the location where you would like to download the code (e.g. c:\icub-main). Right click on an empty region of the window and select "SVN checkout" from the contextual menu.

Type the following string in the entry "URL of repository":

   https://github.com/robotology/icub-main/trunk

No password or username will be required.