How to update yumrepoinfo.conf in Taskotron

From FedoraProject

Jump to: navigation, search
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 Taskotron yumrepoinfo.conf file needed to accommodate a new release of Fedora.

Contents

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 in the release schedule.

When to Update

The yumrepoinfo.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 Taskotron team will be notified by the release engineering or infrastructure teams when either of the above events occur. A Taskotron ticket will be filed to request the yumrepoinfo.conf changes (see Mass Branching SOP#Taskotron, Infra Releases SOP and End of life SOP#Taskotron_tasks).

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 23, you would set tag = f24 as shown below:
    [rawhide]
    url = %(rawhideurl)s
    path = development/rawhide
    tag = f24
    release_status = rawhide
    
  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 23, you would use the configuration listed below.
    [f23]
    url = %(rawhideurl)s
    path = development/23
    release_status = branched
    
    [f23-updates]
    url = %(updatesurl)s
    path = 23
    parent = f23
    
    [f23-updates-testing]
    url = %(updatesurl)s
    path = testing/23
    parent = f23-updates
    

New Fedora Release

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

  1. Update the existing configuration for the recently released version of Fedora. For example, if Fedora 22 was just released, you would need to update the values for path and url as listed below.
    [f22]
    url = %(goldurl)s
    path = 22
    release_status = stable
    

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 20 reaches EOL, the following sections would be removed:
    [f20]
    url = %(goldurl)s
    path = 20
    release_status = stable
    
    [f20-updates]
    url = %(updatesurl)s
    path = 20
    parent = f20
    
    [f20-updates-testing]
    url = %(updatesurl)s
    path = testing/20
    parent = f20-updates