模板:EcosystemRelease/Revision

来自百问网嵌入式Linux wiki

Usage

The EcosystemRelease/Revision template returns the status for an ecosystem release revision in the flow associated with this wiki (e.g. v1.y.z ,or v2.y.z, or...), or the revision (x.y.z) of the latest ecosystem release.

Usage: {{EcosystemRelease/Revision | revision=<revision>}}

Where:

  • <revision> is the mandatory revision of the ecosystem release for which a status is requested. The possible values are:
    • latest to get the revision (x.y.z) of the latest ecosystem release.
    • 2.0.0 (June 2020 ecosystem release revision).
    • 2.1.0 (November 2020 ecosystem release revision).
    • x.0.0, x.1.0, x.2.0 and 0.y.0 values are reserved to the examples and the helper files.

The returned value is:

  • x.y.z (revision of the latest ecosystem release), if <revision> is set to latest.
  • latest, if <revision> is the latest one, in the flow associated with this wiki.
  • legacy, if <revision> is a legacy one, in the flow associated with this wiki.
  • next, if <revision> is a planned one, in the flow associated with this wiki.
  • former, if <revision> is part of a former flow that is not the one associated with this wiki.
  • unknown, if <revision> is not supported.

Basic examples

You type You get
vx.0.0 revision (legacy)
{{EcosystemRelease/Revision | revision=x.0.0}}

legacy

Revision (x.y.z) of the latest ecosystem release
{{EcosystemRelease/Revision | revision=latest}}

2.0.0

More examples

You type You get
vx.2.0 revision (next)
{{EcosystemRelease/Revision | revision=x.2.0}}

next

vx.1.0 revision (latest)
{{EcosystemRelease/Revision | revision=x.1.0}}

latest

v0.y.0 revision (former)
{{EcosystemRelease/Revision | revision=0.y.0}}

former

Unknown revision
{{EcosystemRelease/Revision | revision=10.20.30}}

unknown

Unspecified revision
{{EcosystemRelease/Revision}}

unknown

Code

unknown