Difference between revisions of "Version control repository"

From Second Life Wiki
Jump to navigation Jump to search
(Add fetch tarball script)
(Add svn checkout instructions)
Line 1: Line 1:
{{CompileNav}}
{{CompileNav}}


Linden Lab runs an official Subversion repository that contains occasional snapshots from the internal Linden Lab source repository.   
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) ==
== Repository URLs (branches) ==

Revision as of 19:12, 8 July 2010

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)

In order to check out one of the repository branches, create a location on your hard drive to check out the code (e.g. $HOME/src/secondlife/snowglobe). Select which branch you'd like to check out. See the tracker to browse currently-active branches, and source branches for an explanation.

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

Release branches:

  • Snowglobe 2.0.1: https://svn.secondlife.com/svn/linden/projects/2010/snowglobe/2.0
  • Snowglobe 1.3.2: https://svn.secondlife.com/svn/linden/projects/2009/snowglobe/1.3

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

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.

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.