Final Release candidate

When Quality Engineering (QE) requests a Release Candidate (RC) they do so by opening an issue in the releng repository on pagure. Release candidate composes are not currently automated.

Compose Name Configuration File Compose Script




Make pungi config changes

Create fedora-final.conf on the branched release branch, For inspiration look at This PR

make sure to set runroot_tag in general.conf to current branched make sure all ostree releases have config_branch set to the branched release make sure that if new artifacts are introduced in the release, they are part of the final config. use grep to find any references to rawhide.

Review Compose Tags

  1. List any pre-existing builds in the current compose tag

    $ koji list-tagged f40-compose
  2. Verify pre-existing builds are in compose tags

    The tagged builds from the previous composes should all be present in the output from the previous step. Consult the request ticket for the list of builds expected in this output.

    The very first run of an GA compose should have no builds listed under the compose tag. It is important to clear pre-existing builds from the compose tag when moving between the Beta and RC composes. Verify that these builds were removed.

    $ koji list-tagged f40-compose
    $ koji untag-build --all f40-compose [build1 build2 ...]

    The order in which packages are added into the f40-compose tag matter. If the builds are untagged erroneously then special attention should be given to adding them back correctly.

  3. Add builds specified by QE to the current compose tag

    $ koji tag-build f40-compose [build1 build2 ...]

    These steps may be completed on a local machine as long as the user has appropriate permissions in the koji tool.

Running the Compose

  1. Update the pungi-fedora config file Composes use a configuration file to construct the compose. Each compose uses its own configuration. The global_release variable should start from 1.1 and the second number should increment each time a new compose is created.

    • GA - fedora-final.conf

  2. Log into the compose backend

    $ ssh
  3. Open a screen session

    $ screen
  4. Obtain the pungi-fedora branch for the current compose

    The first time any user account executes a compose the pungi-fedora git repository must be cloned. The compose candidate script that invokes pungi should be run from

    $ git clone ssh://

    Enter the pungi-fedora directory.

    $ cd pungi-fedora

    If the clone step above was not required then fully update the existing repository checkout from pagure.

    $ git fetch origin
    $ git checkout f40
    $ git pull origin f40
  5. Run the compose

    $ sudo ./ RC-#.#

    The numbering scheme begins with 1.1 and the second number is incremented after each compose.

    Pungi requires numbers in the format . as an argument. It is because of this that composes always start with the number 1 and the second number is incremented with each compose.

    If the compose fails with a directory missing error, then create the compose directory with mkdir /mnt/koji/compose/40

Syncing the Compose

We sync the compose to /pub/alt/stage to enable faster access to new content for QA and the larger Fedora community.

  1. Log into the compose backend

    $ ssh
  2. Open a screen session

    $ screen
  3. Check the status of the compose

    $  cat /mnt/koji/compose/40/[compose_id]/STATUS

    Do not continue with any further steps if the output above is DOOMED.

  4. Create the directory targeted for the copy :

    $ sudo -u ftpsync mkdir -m 750 -p /pub/alt/stage/40_RC-[#.#]
  5. Locate the compose directory that will be the copy source :

    $ ls /mnt/koji/compose/40/[compose_id]

    Take care executing the synchronization if the next compose is already running. Be sure to grab the correct directory.

    If in doubt, check /mnt/koji/compose/40/[compose_id]/STATUS to be sure it is finished.

  6. Run the synchronization one-liner

    The synchronization of the completed compose to the public domain is currently a one-liner shell script. Pay close attention to what needs replaced in the example below.

    $ sudo -u ftpsync sh -c 'for dir in Everything Cloud Container Kinoite Labs Modular Server Silverblue Spins Workstation metadata; do rsync -avhH /mnt/koji/compose/40/Fedora-40-20190911.0/compose/$dir/ /pub/alt/stage/40_RC-1.1/$dir/ --link-dest=/pub/fedora/linux/development/40/Everything/ --link-dest=/pub/alt/stage/40_RC-1.1/Everything/; done'

    If multiple composes are run like 1.2, 1.3, add multiple --link-dest arguments above with multiple composes

  7. Set the permissions of the synced compose :

    $ sudo -u ftpsync chmod 755 /pub/alt/stage/40_RC-[#.#]
  8. Update the issue in the releng pagure repository

    Once the compose and sync is complete the issue in pagure should be updated and closed.


The method for verifying a compose has completed is checking /mnt/koji/compose/40/[compose_dir]/STATUS. Any status other than DOOMED is OK.