From Fedora Project Wiki

Revision as of 00:53, 16 December 2014 by Adamwill (talk | contribs) (update for the new cunning parameterized version)

This template records what is considered to be the 'current' Fedora test compose or release candidate. It is updated automatically by relval when the compose sub-command is used with the --current option. It can be edited by hand so long as the slightly complex format is kept.

When called with no parameter, the parameter full, or an invalid parameter, it will return the 'full' version of the compose currently nominated for testing - something like 22 Alpha TC1 for a TC/RC, or 22 20141208 for a nightly compose:

  • {{CurrentFedoraCompose}}
  • {{CurrentFedoraCompose|full}}
  • {{CurrentFedoraCompose|foobar}}

22 20141208

It can be called with various parameters: release, date, milestone, compose, rawhide:

  • {{CurrentFedoraCompose|release}}


  • {{CurrentFedoraCompose|date}}


  • {{CurrentFedoraCompose|milestone}}


  • {{CurrentFedoraCompose|compose}}


  • {{CurrentFedoraCompose|rawhide}}


If the current nominated compose is a nightly build, milestone and compose output will be empty; if the current nominated compose is a TC/RC, date output will be empty (you can take advantage of this to check which type the current nominated compose is, with the {{#ifeq:}} parser function). The rawhide output will be true if the current nominated compose is a nightly build from Rawhide rather than Branched.

It can be used in various ways; relval report-results uses it to guess the compose for which the user most likely wants to report results, and the validation testing instruction template uses it to display a note on result pages that are not for the current compose, warning that they are not for the current compose and linking to it, for example.