Version control repository

From Second Life Wiki
Revision as of 05:46, 1 August 2010 by Aleric Inglewood (talk | contribs) (Add 1.4)
Jump to navigation Jump to search

Linden Lab runs an official Subversion repository that contains snapshots from the internal Linden Lab source repository as well as Snowglobe active development trunk and releases.

Check Out From Source Control

To check out sources from the subversion source control system, choose a working directory name (the directory name must not contain any spaces - most Linden Lab developers use ~/linden), and check out the sources. Under your command line environment, navigate to the folder you want to contain your local source tree and type:

svn co repository-url linden

where

repository-url
is the url for the appropriate branch; see Repository URLs (branches) here under for a list of such URLs.
linden
is your local working directory name (you do not need to create this directory before doing the checkout)

Repository URLs (branches)

Here under is a list of the active and most recommended svn repositories.

See the tracker to browse more active branches, and source branches for an explanation of the branching system.

Viewer 2.0 and Snowglobe 2.0 branches use a new branching strategy that'll allow us to develop more things in an open way.

Snowglobe Development branches:

  • Snowglobe 2.x: https://svn.secondlife.com/svn/linden/projects/2010/snowglobe/trunk
  • Snowglobe 1.x: https://svn.secondlife.com/svn/linden/projects/2009/snowglobe/trunk

Snowglobe Release branches:

  • Snowglobe 2.0.1: https://svn.secondlife.com/svn/linden/projects/2010/snowglobe/2.0
  • Snowglobe 1.4.1 (RC1): https://svn.secondlife.com/svn/linden/projects/2009/snowglobe/1.4
  • Snowglobe 1.3.2: https://svn.secondlife.com/svn/linden/projects/2009/snowglobe/1.3

Linden Export branches:

  • viewer-external: https://svn.secondlife.com/svn/linden/branches/2010/viewer-external
  • Trunk: https://svn.secondlife.com/svn/linden/trunk : The old exported trunk. Obsolete now. See viewer-external here above for the new exported trunk.

Other branches:

  • RC branch: https://svn.secondlife.com/svn/linden/branches/viewer_1-23
  • Viewer Maintenance: https://svn.secondlife.com/svn/linden/branches/maint-viewer
  • Render Maintenance: https://svn.secondlife.com/svn/linden/branches/render-pipeline
  • Featurettes!: https://svn.secondlife.com/svn/linden/branches/featurettes
  • Interop: https://svn.secondlife.com/svn/linden/branches/interop-9
  • l10n: https://svn.secondlife.com/svn/linden/branches/maint-l10n-1
  • Shadows and Texture Projection: https://svn.secondlife.com/svn/linden/branches/render-pipeline

Artwork and Library Bundles

Even when using a version control repositories, there are files that need to be downloaded as bundles (tar and zip files), decompressed and dropped into the local source tree.

For each repository, the relevant bundles are listed in doc/asset_urls.txt. On your working tree, you will need to download, decompress and drop the artwork bundle (SLASSET_ART) and the library bundle (SLASSET_LIBS_<platform>).

You can do that manually or use the provided public_fetch_tarballs script. Using the command line, navigate to the root folder containing your repository and invoke the script:

python scripts/public_fetch_tarballs.py

Browse source

Write access

Developers that have signed and submitted a contribution agreement are eligible (not guaranteed) for write access to the repository. Other considerations, such as patches submitted and reasons access is requested will also come into play.

Mercurial Tips & Tricks

Unofficial repositories

Below are repositories maintained by individuals outside Linden Lab. These repositories are not affiliated with Linden Lab in any way.

Debian

Git repository for packaging the viewer for Debian, Ubuntu, Arch and Gentoo (so far), maintained by Robin Cornelius

please see http://omvviewer.byteme.org.uk/ for details

Hippo OpenSim Viewer

SVN repository of the Hippo OpenSim Viewer, a modified Second Life viewer targeted at OpenSim users.

See http://forge.opensimulator.org/gf/project/opensim-viewer/scmsvn/?action=AccessInfo for details.