The OpenSG source code is currently stored in two repositories. Unless you have old code that for whatever reason you cannot (or don't want to) port over we recommend to work with OpenSG 2, as it is easier to use and the more future-proof alternative.
If you would like to make a contribution, request a feature or submit a bug report, please use the ticket system.
Build instructions can be found here.
OpenSG 2.0 repository
To simply obtain a read-only clone of the repository use the following command:
git clone git://git.code.sf.net/p/opensg/code opensg
(Note: The above URL changed on 2013-04-12 when SourceForge updated the project pages, the previous URL was: git://opensg.git.sourceforge.net/gitroot/opensg/opensg)
This will create a local directory named opensg containing your working copy of the sources.
To update and existing clone to the latest upstream code (from a directory inside your clone):
The latest coding is available from subversion (aka. svn) which is hosted on this server. If you just want to see the sources, you can just browse through the code.
The summary is to check out code with the following command:
svn co http://www.opensg.org/svn_repo/trunk opensg This will retrieve the most recent version of OpenSG and place it in a local directory named opensg. If the usernames on your local machine and on this Trac are different, just use 'user@…' in the URL.
OpenSG 1.x repository
The summary is to check out code with the following two commands (if prompted for a password for the anonymous account, simply press the Enter key):
cvs -d:pserver:email@example.com:/cvsroot/opensg login cvs -z3 -d:pserver:firstname.lastname@example.org:/cvsroot/opensg co -P OpenSG
This will retrieve the latest code in the OpenSG 1.x series and place it in a local directory named OpenSG.
Sourceforge recently experienced a CVS service outage and the 1.x codebase is temporarily available via git from https://github.com/vossg/OpenSGCVSTree.
Please note that the git repository is only expected to be up to date until 2011-03-01 (sourceforge CVS service has been restored).
git clone git://github.com/vossg/OpenSGCVSTree.git OpenSG
git clone https://github.com/vossg/OpenSGCVSTree.git OpenSG
The certificate we use for subversion access is not signed by a certificate authority. Because of this you will need to accept the certificate manually when you see a message along these lines:
Error validating server certificate for 'https://www.opensg.org:443': - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! - The certificate hostname does not match. - The certificate has expired. Certificate information: - Hostname: external.lite3d.com - Valid: from Apr 8 16:45:25 2002 GMT until Sep 24 16:45:25 2004 GMT - Issuer: lite3d.comopensg.org, Lafayette, LA, US - Fingerprint: 01:27:d9:6a:b8:db:63:f3:24:e3:41:c8:15:0a:f8:93:f6:7c:0f:11 (R)eject, accept (t)emporarily or accept (p)ermanently?
Just accept it permanently and you should not have to deal with this message again.