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
-
Verify the package was not retired for any reason, such as legal or license issues, that would prevent it from being re-instated.
-
Ensure a bugzilla was filed to review the package for unretirement.
-
Verify with the the requestor exactly which tags they would like unblocked as part of the unretirement request.
Revert the Retirement Commit
-
Connect to one of the compose systems.
$ ssh compose-branched01.iad2.fedoraproject.org
-
Clone the dist-git package using the the proper release engineering credentials.
$ GIT_SSH=/usr/local/bin/relengpush fedpkg --user releng clone PACKAGENAME
-
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"
-
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
-
Check the current state of the branches in koji for the package.
$ koji list-pkgs --show-blocked --package=PACKAGENAME
-
Unblock each requested tag using koji.
$ koji unblock-pkg TAGNAME PACKAGENAME
Verify Package is Not Orphaned
-
Check package ownership
Navigate to https://src.fedoraproject.org/ and check package owner.
-
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. |
Want to help? Learn how to contribute to Fedora Docs ›