Difference between revisions of "TinyOS CVS Repositories"

From TinyOS Wiki
Jump to: navigation, search
(See also)
m (TinyOS CVS access moved to (Deprecated) TinyOS CVS access: The CVS repo is now old and has been replaced by the SVN repo hosted at googlecode.com)
(No difference)

Revision as of 18:33, 10 January 2011

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