From Fedora Project Wiki

(Attempt to future proof this page by using {{FedoraVersion}} template in EOL section)
(Modify repoinfo instructions ... 'f15-updates' doesn't exist until release day)
Line 34: Line 34:
collection_name = devel
collection_name = devel
}}</li>
}}</li>
<li>Create new config sections for the current branch.  A section will be needed for each of the package repositories available.  For example, if branching for {{FedoraVersion|long|next}}, you would use the configuration listed below.  
<li>Create new config sections for the current branch.  A section will be needed for each of the package repositories available.  For example, if branching for {{FedoraVersion|long|next}}, you would add sections for <code>f{{FedoraVersion||next}}</code> and <code>f{{FedoraVersion||next}}-updates-testing</code>.  See the example below.
{{#tag:pre|
{{#tag:pre|
[f{{FedoraVersion||next}}]
[f{{FedoraVersion||next}}]
Line 41: Line 41:
collection_name = F-{{FedoraVersion||next}}
collection_name = F-{{FedoraVersion||next}}
composes = yes
composes = yes
[f{{FedoraVersion||next}}-updates]
path = {{FedoraVersion||next}}
url = %(updatesurl)s
parents = f{{FedoraVersion||next}}
collection_name = F-{{FedoraVersion||next}}


[f{{FedoraVersion||next}}-updates-testing]
[f{{FedoraVersion||next}}-updates-testing]
Line 59: Line 53:
When a new release of Fedora is available, the following changes are required.
When a new release of Fedora is available, the following changes are required.


<ol><li>''Update'' the existing configuration for the recently released version of Fedora.  For example, if {{FedoraVersion|long|next}} was just released, you would need to update the values for <code>path</code> and <code>url</code> as listed below.
<ol><li>''Update'' the <code>f{{FedoraVersion||current}}</code> section for the just released repository.  The values for <code>path</code> and <code>url</code> will need to be updated to reflect current values.
{{#tag:pre|
{{#tag:pre|
[f{{FedoraVersion||next}}]
[f{{FedoraVersion||current}}]
path = {{FedoraVersion||next}}
path = {{FedoraVersion||current}}
url = %(goldurl)s
url = %(goldurl)s
collection_name = F-{{FedoraVersion||next}}
collection_name = F-{{FedoraVersion||current}}
}}</li></ol>
}}</li>
<li>''Add'' a section for the <code>f{{FedoraVersion||current}}-updates</code> repository.  See the example below for reference.
{{#tag:pre|
[f{{FedoraVersion||current}}-updates]
path = {{FedoraVersion||current}}
url = %(updatesurl)s
parents = f{{FedoraVersion||current}}
collection_name = F-{{FedoraVersion||current}}
}}</li>
</ol>


== Fedora support ended ==
== Fedora support ended ==

Revision as of 21:38, 1 March 2011

QA.png


With each new development release of Fedora (aka Branched), new package repositories are available for testing. This page describes the changes to the AutoQA repoinfo.conf file needed to accommodate a new release of Fedora.

Introduction

Leading up to each release, the rawhide development stream is branched. Branching results in two parallel development streams, called rawhide and branched. As always, rawhide continues to track the latest and greatest development intended for future releases of Fedora. While, branched is intended for stabilization of the upcoming Fedora release.

The branch date can be found on the release engineering schedule.

When to Update

The repoinfo.conf file will need to change whenever a new package repository is available, the location of an existing repository changes or we no longer want to support an existing repository. The most common scenarios where this happens are:

  1. When Fedora branches to stabilize the upcoming Fedora release
  2. When Fedora is released
  3. When Fedora support has ended (it's EOL'd)

The AutoQA team will be notified by the release engineering or infrastructure teams when either of the above events occur. An AutoQA TRAC ticket will be filed to request the repoinfo.conf changes (see Mass_Branching_SOP#Update_AutoQA_repoinfo.conf, Release_Infrastructure_SOP#Step_5_.28AutoQA_repoinfo.conf.29 and End_of_life_SOP#AutoQA).

What To Update

New Fedora Branch

When a new Fedora branch release is available, the following changes are required.

  1. Update the the [rawhide] configuration. Change the value of tag to the koji tag for the next release. For example, if branching for Fedora 41, you would set tag - dist-f42 as shown below:
    [rawhide]
    arches = i386, x86_64
    path = development/rawhide
    url = %(rawhideurl)s
    tag = dist-f42
    collection_name = devel
    
  2. Create new config sections for the current branch. A section will be needed for each of the package repositories available. For example, if branching for Fedora 41, you would add sections for f41 and f41-updates-testing. See the example below.
    [f41]
    path = development/41
    url = %(rawhideurl)s
    collection_name = F-41
    composes = yes
    
    [f41-updates-testing]
    path = testing/41
    url = %(updatesurl)s
    parents = f41-updates, f41
    collection_name = F-41
    

New Fedora Release

When a new release of Fedora is available, the following changes are required.

  1. Update the f40 section for the just released repository. The values for path and url will need to be updated to reflect current values.
    [f40]
    path = 40
    url = %(goldurl)s
    collection_name = F-40
    
  2. Add a section for the f40-updates repository. See the example below for reference.
    [f40-updates]
    path = 40
    url = %(updatesurl)s
    parents = f40
    collection_name = F-40
    

Fedora support ended

When a Fedora release reaches its End of Life (EOL), the following changes are required.

  1. Remove the sections corresponding to the EOL'd release. For example, when Fedora 38 reaches EOL, the following sections would be removed:
    [f38]
    isactiverelease = yes
    path = 38
    url = %(goldurl)s
    collection_name = F-38
    
    [f38-updates]
    path = 38
    url = %(updatesurl)s
    parents = f38
    collection_name = F-38
    
    [f38-updates-testing]
    path = testing/38
    url = %(updatesurl)s
    parents = f38-updates, f38
    collection_name = F-38
    

How to Update

Please use git to generate and submit patches for review by the AutoQA development team. For information on AutoQA patch, please see AutoQA_Patch_Process#Patch_submission

Important.png
Updating repoinfo.conf manually
When manually updating the repoinfo.conf file on a running AutoQA instance, it is important to update the file on both the server and all test clients. Failing to update the configuration file on the clients will result in incorrect repository information when tests are executed on clients.