Difference between revisions of "Channel and Version Requirements"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== Setting a Channel and Version for an Open Source Viewer ==
== Setting a Version Identifier for an Open Source Viewer ==
1. Choose a channel name
A viewer's Version Identifier is unique to a particular release of a viewer. It is composed of three parts: the Version Name, the Version Variant, and the Version Number. The combination of the Version Name and the Version Variant form the Channel Name.
* The default channel name is "Second Life Release"
 
* Other standard Linden Lab channel names are "Second Life Release Candidate" and "Second Life First Look [Feature]". Please note that any channel name containing "Second Life" is reserved for use by Linden Lab.
1. Choose a Version Name
* The channel name can be any ASCII string. It should not violate [http://secondlife.com/corporate/brand/trademark/ Linden Lab's trademark policy]. We recommend that the channel name be the name of the Open Source Viewer.
* The default Version Name is "Second Life"
2. Choose a version number
2. Choose a Version Variant. The default variant is "Release"
* The version number is in the form Major.Minor.Patch.Build
* The combination of the Name and Variant should be combined to make the Channel Name.
* The version number can be any four numbers, separated by periods.
* The default Channel Name is "Second Life Release"
* Other standard Linden Lab Channel Names are "Second Life Release Candidate" and "Second Life First Look [Feature]". Please note that any Channel Name containing "Second Life" is reserved for use by Linden Lab.
* The Channel Name can be any ASCII string. It should not violate [http://secondlife.com/corporate/brand/trademark/ Linden Lab's trademark policy]. We recommend that the Channel Name be the name of the Open Source Viewer.
2. Choose a Version Number
* The Version Number is in the form Major.Minor.Patch.Build
* The Version Number can be any four numbers, separated by periods.
* We recommend using the Major, Minor, and Patch numbers from the most recently merged Linden Lab source code.
* We recommend using the Major, Minor, and Patch numbers from the most recently merged Linden Lab source code.
** Linden Lab uses an internal number from our source control system for the Build number.  
** Linden Lab uses an internal number from our source control system for the Build number.  
Line 13: Line 18:
** Modify LL_CHANNEL with the Channel Name
** Modify LL_CHANNEL with the Channel Name
** Modify LL_VERSION_BUILD with the appropriate build number
** Modify LL_VERSION_BUILD with the appropriate build number
* Update the version number in the following files:
* Update the Version Number in the following files:
** indra/newview/res/newViewRes.rc - ''"FileVersion" and "ProductVersion" in the Version section''
** indra/newview/res/newViewRes.rc - ''"FileVersion" and "ProductVersion" in the Version section''
** indra/newview/Info-SecondLife.plist - ''CFBundleVersion''
** indra/newview/Info-SecondLife.plist - ''CFBundleVersion''

Revision as of 18:35, 16 February 2010

Setting a Version Identifier for an Open Source Viewer

A viewer's Version Identifier is unique to a particular release of a viewer. It is composed of three parts: the Version Name, the Version Variant, and the Version Number. The combination of the Version Name and the Version Variant form the Channel Name.

1. Choose a Version Name

  • The default Version Name is "Second Life"

2. Choose a Version Variant. The default variant is "Release"

  • The combination of the Name and Variant should be combined to make the Channel Name.
  • The default Channel Name is "Second Life Release"
  • Other standard Linden Lab Channel Names are "Second Life Release Candidate" and "Second Life First Look [Feature]". Please note that any Channel Name containing "Second Life" is reserved for use by Linden Lab.
  • The Channel Name can be any ASCII string. It should not violate Linden Lab's trademark policy. We recommend that the Channel Name be the name of the Open Source Viewer.

2. Choose a Version Number

  • The Version Number is in the form Major.Minor.Patch.Build
  • The Version Number can be any four numbers, separated by periods.
  • We recommend using the Major, Minor, and Patch numbers from the most recently merged Linden Lab source code.
    • Linden Lab uses an internal number from our source control system for the Build number.

3. Set the Channel and Version in the code

  • Edit indra/llcommon/llversionviewer.h
    • Modify LL_CHANNEL with the Channel Name
    • Modify LL_VERSION_BUILD with the appropriate build number
  • Update the Version Number in the following files:
    • indra/newview/res/newViewRes.rc - "FileVersion" and "ProductVersion" in the Version section
    • indra/newview/Info-SecondLife.plist - CFBundleVersion
    • indra/newview/English.lproj/InfoPlist.strings - CFBundleShortVersionString
  • Build the code

Packaging for Distribution

Updating an Open Source Viewer

  • Anyone distributing an Open Source version of the Viewer is responsible for messaging updates to residents using that client.
  • We recommend using your login url for directing residents to updates.
  • Clients not based on the Linden viewer code base should ensure that the XMLRPC login connection sends:
    • channel = the channel name, e.g. "My Viewer"
    • version = the channel name and a four-part version, e.g. "My Viewer 1.2.3.4"

Linden Lab Updates

  • Linden Lab updates will not affect non Linden Lab channels. This includes optional and mandatory updates. It is the responsibility of other distributors to ensure that security patches are provided to residents using their client.
  • NOTE: If Linden Lab determines that a particular client distribution contains security vulnerabilities or exploits, Linden Lab may block that particular version of the client from logging in.
  • NOTE: If Linden Lab introduces a server update that requires a particular capability in order to connect to the server, Viewers that do not include the required capability will be unable to connect to regions running that version of the server. It is the intention of Linden Lab to make these required updates infrequent, and to make the Viewer code available well in advance of the server update.