From b773b65d724d31b87e0e1fb2f8e8c07aaae274f7 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Tue, 20 Mar 2012 15:25:14 +0100 Subject: Add documentation of regular expressions for version numbers in appup --- lib/sasl/doc/src/appup.xml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'lib/sasl/doc/src') diff --git a/lib/sasl/doc/src/appup.xml b/lib/sasl/doc/src/appup.xml index 770b7c2492..bacfaa76ef 100644 --- a/lib/sasl/doc/src/appup.xml +++ b/lib/sasl/doc/src/appup.xml @@ -4,7 +4,7 @@
- 19972011 + 19972012 Ericsson AB. All Rights Reserved. @@ -56,12 +56,20 @@ the application.

-

UpFromVsn = string() is an earlier version of - the application to upgrade from.

+

UpFromVsn = string() | binary() is an earlier + version of the application to upgrade from. If it is a + string, it will be interpreted as a specific version + number. If it is a binary, it will be interpreted as a + regular expression which can match multiple version + numbers.

-

DownToVsn = string() is an earlier version of - the application to downgrade to.

+

DownToVsn = string() | binary() is an earlier + version of the application to downgrade to. If it is a + string, it will be interpreted as a specific version + number. If it is a binary, it will be interpreted as a + regular expression which can match multiple version + numbers.

Instructions is a list of release upgrade instructions, see below. It is recommended to use @@ -70,6 +78,12 @@ creating the relup file.

+

In order to avoid duplication of upgrade instructions it is + allowed to use regular expressions to specify the UpFromVsn + and DownToVsn. To be considered a regular expression, the + version identifier must be specified as a binary, e.g.

+ <<"2\\.1\\.[0-9]+">> +

will match all versions 2.1.x, where x is any number.

-- cgit v1.2.3