From 97816f8c901bf56e3b29bdbd5f8e320de352f45f Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 11 Nov 2008 17:02:46 +0000 Subject: * Implement basic region filtering as described in https://lists.berlios.de/pipermail/opensim-dev/2008-November/003468.html * This is done by sending a 'major interface version' number on sim registration. Developers must increment this every time they make a change that would make the previous OpenSim revision failure incompatible with the new one (non-fatal incompatibilities are fine). * This number resides in OpenSim.Framework.Servers.VersionInfo.MajorInterfaceVersion * This allows the grid service to stop older, incompatible regions from connecting --- OpenSim/Framework/Servers/VersionInfo.cs | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/Servers/VersionInfo.cs') diff --git a/OpenSim/Framework/Servers/VersionInfo.cs b/OpenSim/Framework/Servers/VersionInfo.cs index 8f84859..c6a43ec 100644 --- a/OpenSim/Framework/Servers/VersionInfo.cs +++ b/OpenSim/Framework/Servers/VersionInfo.cs @@ -27,11 +27,27 @@ namespace OpenSim { - /// - /// This is the OpenSim version string. Change this if you are releasing a new OpenSim version. - /// public class VersionInfo { + /// + /// This is the OpenSim version string. Change this if you are releasing a new OpenSim version. + /// public readonly static string Version = "OpenSimulator Server 0.6.0"; // stay with 27 chars (used in regioninfo) + + /// + /// This is the external interface version. It is separate from the OpenSimulator project version. + /// + /// This version number should be + /// increased by 1 every time a code change makes the previous OpenSimulator revision incompatible + /// with the new revision. This will usually be due to interregion or grid facing interface changes. + /// + /// Changes which are compatible with an older revision (e.g. older revisions experience degraded functionality + /// but not outright failure) do not need a version number increment. + /// + /// Having this version number allows the grid service to reject connections from regions running a version + /// of the code that is too old. + /// + /// + public readonly static int MajorInterfaceVersion = 0; } } -- cgit v1.1