Difference between revisions of "Version control repository"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{CompileNav}}
{{CompileNav}}
 
{{Obsolete|This page used to describe the old Snowglobe process. Linden Lab no longer makes the Snowglobe sources available (they are too far out of date now to be helpful as a basis for development) - for current source code information, see [[Get source and compile]]}}
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 [http://svn.secondlife.com/trac/linden/browser the tracker] to browse more active branches, and [[source branches]] for an explanation of the branching system.
 
[[Snowglobe]] development branches:
* '''Snowglobe 2.x''': <nowiki>https://svn.secondlife.com/svn/linden/projects/2010/snowglobe/trunk</nowiki>
* '''Snowglobe 1.x''': <nowiki>https://svn.secondlife.com/svn/linden/projects/2009/snowglobe/trunk</nowiki>
 
Release branches:
* '''Snowglobe 2.0.1''': <nowiki>https://svn.secondlife.com/svn/linden/projects/2010/snowglobe/2.0</nowiki>
* '''Snowglobe 1.3.2''': <nowiki>https://svn.secondlife.com/svn/linden/projects/2009/snowglobe/1.3</nowiki>
 
Export branches:
* '''viewer-external''': <nowiki>https://svn.secondlife.com/svn/linden/branches/2010/viewer-external</nowiki>
* Trunk: <nowiki>https://svn.secondlife.com/svn/linden/trunk</nowiki> : The old exported trunk. Obsolete now. See viewer-external here above for the new exported trunk.
 
Other branches:
* RC branch: <nowiki>https://svn.secondlife.com/svn/linden/branches/viewer_1-23</nowiki>
* Viewer Maintenance: <nowiki>https://svn.secondlife.com/svn/linden/branches/maint-viewer</nowiki>
* Render Maintenance: <nowiki>https://svn.secondlife.com/svn/linden/branches/render-pipeline</nowiki>
* Featurettes!: <nowiki>https://svn.secondlife.com/svn/linden/branches/featurettes</nowiki>
* Interop: <nowiki>https://svn.secondlife.com/svn/linden/branches/interop-9</nowiki>
* l10n: <nowiki>https://svn.secondlife.com/svn/linden/branches/maint-l10n-1</nowiki>
* Shadows and Texture Projection: <nowiki>https://svn.secondlife.com/svn/linden/branches/render-pipeline</nowiki>
 
'''Viewer 2.0 and Snowglobe 2.0 branches''' use a new [[Linden Lab Repository Strategy|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:
 
<code>
python scripts/public_fetch_tarballs.py
</code>
 
== Browse source ==
 
[http://svn.secondlife.com/trac/linden/browser Browse source (using Trac)]
*  [http://svn.secondlife.com/trac/linden Other tools]
 
== Write access ==
 
Developers that have signed and submitted [http://secondlife.com/developers/opensource/submitting 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 ==
 
* [[Basic Workflow]]
* [[Creating_a_version_control_repository#The_.22Daggy.22_Fix|Daggy Fixes]]


== Unofficial repositories ==
== Unofficial repositories ==

Latest revision as of 04:21, 26 June 2011

KBwarning.png This article is out of date!
This page used to describe the old Snowglobe process. Linden Lab no longer makes the Snowglobe sources available (they are too far out of date now to be helpful as a basis for development) - for current source code information, see Get source and compile


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.