Revision

1 Usage[edit source]

The X-LINUXRelease/Revision template returns the version of an expansion package delivered on top of an ecosystem release revision of the flow associated with this wiki.

Usage: {{X-LINUXRelease/Revision | revision=<revision> | name=<name> | type=<type>}}

Where:

  • <revision> is the mandatory revision of the ecosystem release, on top of which the expansion package is delivered.
  • <name> is the mandatory name of the expansion package delivered on top of the ecosystem release revision, for which the version is requested. The possible values are:
    • AI
  • <type> is the optional parameter that allows to select the way the version is displayed. Per default (if <type> is not set), the full name of the expansion package version (e.g., "X-LINUX-AI vx.y.z") is displayed. The possible values for <type> are:
    • tag: the expansion package tag (e.g., "vx.y.z") is displayed
    • release: the expansion package release (e.g., "x.y.z") is displayed
Warning DB.png Important
Use the value latest for <revision> with caution: be aware that the returned string will vary depending on the latest ecosystem release.

The returned value is:

  • a string that contains the version of the expansion package delivered on top of the ecosystem release revision.
  • an empty string, if the expansion package is not delivered on top of the ecosystem release revision.
  • "unknown revision", if <revision> is not supported.
  • "unknown expansion package", if <name> is not supported.

2 Basic examples[edit source]

You type You get
All expansion packages on top of the v5.0.0 revision requested
Full names:<br />
{{X-LINUXRelease/Revision | revision=5.0.0 | name=AI}}<br />
Tag names:<br />
{{X-LINUXRelease/Revision | revision=5.0.0 | name=AI | type=tag}}<br />
Release names:<br />
{{X-LINUXRelease/Revision | revision=5.0.0 | name=AI | type=release}}

Full names:
X-LINUX-AI v5.0.0
Tag names:
v5.0.0
Release names:
5.0.0

All expansion packages on top of the latest revision requested
Full names:<br />
{{X-LINUXRelease/Revision | revision=latest | name=AI}}<br />
Tag names:<br />
{{X-LINUXRelease/Revision | revision=latest | name=AI | type=tag}}<br />
Release names:<br />
{{X-LINUXRelease/Revision | revision=latest | name=AI | type=release}}

Full names:
X-LINUX-AI v5.0.0
Tag names:
v5.0.0
Release names:
5.0.0

3 More examples[edit source]

You type You get
All expansion packages on top of the vx.0.0 revision (legacy) requested
{{X-LINUXRelease/Revision | revision=x.0.0 | name=AI}}<br />
{{X-LINUXRelease/Revision | revision=x.0.0 | name=AI | type=tag}}<br />
{{X-LINUXRelease/Revision | revision=x.0.0 | name=AI | type=release}}

Full names:
X-LINUX-AI vx.y.z
vx.y.z
x.y.z

All expansion packages on top of the vx.1.0 revision (latest) requested
{{X-LINUXRelease/Revision | revision=x.1.0 | name=AI}}<br />
{{X-LINUXRelease/Revision | revision=x.1.0 | name=AI | type=tag}}<br />
{{X-LINUXRelease/Revision | revision=x.1.0 | name=AI | type=release}}

X-LINUX-AI vx.y.z
vx.y.z
x.y.z

All expansion packages on top of the vx.2.0 revision (next) requested
{{X-LINUXRelease/Revision | revision=x.2.0 | name=AI}}<br />
{{X-LINUXRelease/Revision | revision=x.2.0 | name=AI | type=tag}}<br />
{{X-LINUXRelease/Revision | revision=x.2.0 | name=AI | type=release}}

X-LINUX-AI vx.y.z
vx.y.z
x.y.z

All expansion packages on top of the v0.y.0 revision (former) requested
{{X-LINUXRelease/Revision | revision=0.y.0 | name=AI}}<br />
{{X-LINUXRelease/Revision | revision=0.y.0 | name=AI | type=tag}}<br />
{{X-LINUXRelease/Revision | revision=0.y.0 | name=AI | type=release}}

unknown revision
unknown revision
unknown revision

All expansion packages on top of an unspecified revision requested
{{X-LINUXRelease/Revision | name=AI}}<br />
{{X-LINUXRelease/Revision | name=AI | type=tag}}<br />
{{X-LINUXRelease/Revision | name=AI | type=release}}

unknown revision
unknown revision
unknown revision

All expansion packages on top of an unknown revision requested
{{X-LINUXRelease/Revision | revision=10.20.30 | name=AI}}<br />
{{X-LINUXRelease/Revision | revision=10.20.30 | name=AI | type=tag}}<br />
{{X-LINUXRelease/Revision | revision=10.20.30 | name=AI | type=release}}

unknown revision
unknown revision
unknown revision

Unspecified expansion package
{{X-LINUXRelease/Revision | revision=x.0.0}}<br />
{{X-LINUXRelease/Revision | revision=x.0.0 | type=tag}}<br />
{{X-LINUXRelease/Revision | revision=x.0.0 | type=release}}

unknown expansion package
unknown expansion package
unknown expansion package

Unknown expansion package
{{X-LINUXRelease/Revision | revision=x.0.0 |  name=not supported}}<br />
{{X-LINUXRelease/Revision | revision=x.0.0 |  name=not supported | type=tag}}<br />
{{X-LINUXRelease/Revision | revision=x.0.0 |  name=not supported | type=release}}

unknown expansion package
unknown expansion package
unknown expansion package

Unknown value for type: the full name is displayed
{{X-LINUXRelease/Revision | revision=x.0.0 |  name=AI | type=version}}

X-LINUX-AI vx.y.z

4 Code[edit source]

unknown expansion package

No categories assignedEdit