TinyOS CVS Repositories

From TinyOS Wiki
Revision as of 06:35, 3 November 2010 by Rbornet (talk | contribs) (See also)
Jump to: navigation, search

The TinyOS source code is hosted on Sourceforge. This page shows how to access to the TinyOS source code and the TinyOS contribution with CVS.

Browsing

The last CVS repository of TinyOS can be browsed here. This version corresponds to the one currently developed and can be unstable.

Anonymous CVS Access

To download the whole tinyos repository you can execute this command:

cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos checkout .

To download the Contributed TinyOS 2.x projects you can use this command:

cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos checkout -P tinyos-2.x-contrib

To download only one project of the contributed code you can use this command:

cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos checkout -P tinyos-2.x-contrib/PROJECT_NAME

Where PROJECT_NAME is the folder name of the project. This previous commands will not allows you to modify the source code.

Developer CVS Access via SSH

If you have been granted developer access for one of the contributed project you can download all the Contributed TinyOS 2.x projects with these commands:

export CVS_RSH=ssh
cvs -z3 -d:ext:USERNAME@tinyos.cvs.sourceforge.net:/cvsroot/tinyos checkout tinyos-2.x-contrib

Where USERNAME is your Sourceforge login. Your password will be asked.

To download only your project code you can enter:

export CVS_RSH=ssh
cvs -z3 -d:ext:sis-sou@tinyos.cvs.sourceforge.net:/cvsroot/tinyos checkout tinyos-2.x-contrib/PROJECT_NAME

See also

External links