Unretiring a package branch

Description

Sometimes, packagers request that we unretire a package branch that has previously been retired.

This typically happens on the rawhide branch, but could conceivably happen on any stable or arbitrary branch.

Action

Validate Package Ready for Unretirement

  1. Verify the package was not retired for any reason, such as legal or license issues, that would prevent it from being re-instated.

  2. Ensure a bugzilla was filed to review the package for unretirement.

  3. Verify with the the requestor exactly which tags they would like unblocked as part of the unretirement request.

Revert the Retirement Commit

  1. Connect to one of the compose systems.

    $ ssh compose-branched01.iad2.fedoraproject.org
  2. Clone the dist-git package using the the proper release engineering credentials.

    $ GIT_SSH=/usr/local/bin/relengpush fedpkg --user releng clone PACKAGENAME
  3. Enter the directory of the cloned package and configure the git user information.

    $ cd PACKAGENAME
    $ git config --local user.name "Fedora Release Engineering"
    $ git config --local user.email "releng@fedoraproject.org"
  4. Git revert the dead.package file commit in dist-git on the particular branch using its commit hash_id. Ensure the commit message contains a URL to the request in pagure.

    $ git revert -s COMMIT_HASH_ID
    $ GIT_SSH=/usr/local/bin/relengpush fedpkg --user releng push

Unblock the Package in Koji

  1. Check the current state of the branches in koji for the package.

    $ koji list-pkgs --show-blocked --package=PACKAGENAME
  2. Unblock each requested tag using koji.

    $ koji unblock-pkg TAGNAME PACKAGENAME

Verify Package is Not Orphaned

  1. Check package ownership

    Navigate to https://src.fedoraproject.org/ and check package owner.

  2. If the package is orphaned, then give the package to the requestor through the web interface.

Settings → Give Project

+

Note

This script requires the user to be a member of the group cvsadmin in FAS.