(revise for new rawhide/branched approach) |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This template records what is considered to be the 'current' compose nominated for testing by Fedora [[QA]]: either a [[QA:SOP_compose_request|test compose or release candidate]], or a [[Releases/Rawhide|Rawhide]] or [[Releases/Branched|Branched]] nightly compose. It is updated automatically by [https://www.happyassassin.net/wikitcms/ relval] when the {{command|compose}} sub- | {{Wikitcms_core}} | ||
This template records what is considered to be the 'current' compose nominated for testing by Fedora [[QA]]: either a [[QA:SOP_compose_request|test compose or release candidate]], or a [[Releases/Rawhide|Rawhide]] or [[Releases/Branched|Branched]] nightly compose. It is updated automatically by [https://www.happyassassin.net/wikitcms/ relval] when the {{command|compose}} or {{command|nightly}} sub-commands are used without the {{command|--no-current}} option. It can be edited by hand so long as the slightly complex format is kept, but it is usually safer to use {{command|relval}}. | |||
When called with no parameter, the parameter {{code|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: | When called with no parameter, the parameter {{code|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 Rawhide 20141208 for a nightly compose: | ||
* {{code|<nowiki>{{CurrentFedoraCompose}}</nowiki>}} | * {{code|<nowiki>{{CurrentFedoraCompose}}</nowiki>}} | ||
* {{code|<nowiki>{{CurrentFedoraCompose|full}}</nowiki>}} | * {{code|<nowiki>{{CurrentFedoraCompose|full}}</nowiki>}} | ||
* {{code|<nowiki>{{CurrentFedoraCompose|foobar}}</nowiki>}} | * {{code|<nowiki>{{CurrentFedoraCompose|foobar}}</nowiki>}} | ||
22 20141208 | 22 Rawhide 20141208 | ||
It can be called with various parameters: {{code|release}}, {{code|date}}, {{code|milestone}}, {{code|compose}}: | It can be called with various parameters: {{code|release}}, {{code|date}}, {{code|milestone}}, {{code|compose}}: |
Latest revision as of 23:18, 21 January 2015
This template records what is considered to be the 'current' compose nominated for testing by Fedora QA: either a test compose or release candidate, or a Rawhide or Branched nightly compose. It is updated automatically by relval when the compose
or nightly
sub-commands are used without the --no-current
option. It can be edited by hand so long as the slightly complex format is kept, but it is usually safer to use relval
.
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 Rawhide 20141208 for a nightly compose:
- {{CurrentFedoraCompose}}
- {{CurrentFedoraCompose|full}}
- {{CurrentFedoraCompose|foobar}}
22 Rawhide 20141208
It can be called with various parameters: release, date, milestone, compose:
- {{CurrentFedoraCompose|release}}
22
- {{CurrentFedoraCompose|date}}
20141208
- {{CurrentFedoraCompose|milestone}}
Alpha
- {{CurrentFedoraCompose|compose}}
TC1
If the current nominated compose is a nightly build, milestone will be Branched or Rawhide, 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 milestone output for nightly composes indicates whether the compose to be tested is from Rawhide or 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.