Improve fedretire #6783

Merged
jnsamyak merged 2 commits from fedretire into master 2026-06-08 03:12:33 +00:00
Contributor
  • support --dry-run
  • check if packages to be retired are orphaned
- support --dry-run - check if packages to be retired are orphaned
Contributor

we only allow packages to be retired in development fedora's and epel. we should put in some checks on the branch being able to be retired

we only allow packages to be retired in development fedora's and epel. we should put in some checks on the branch being able to be retired
Author
Contributor

PkgDB enforces this already (AFAIK) and block_retired.py only blocks
retired packages from the appropriate branch. Therefore there is little possible damage when trying to retire a pkg in a stable branch. This script is only useful there in two cases:

  1. to add a dead.package file for pkgs that
    are already retired and blocked if the dead.package file is missing
  2. to mark pkgs as retired in pkgdb if they are already blocked

If this is not good enough, how about adding a "--force" switch that is required for the latter two use cases when specifying a stable branch? However I rarely do this currently because it requires some non-automated steps to find the candidates currently.

PkgDB enforces this already (AFAIK) and block_retired.py only blocks retired packages from the appropriate branch. Therefore there is little possible damage when trying to retire a pkg in a stable branch. This script is only useful there in two cases: 1. to add a dead.package file for pkgs that are already retired and blocked if the dead.package file is missing 2. to mark pkgs as retired in pkgdb if they are already blocked If this is not good enough, how about adding a "--force" switch that is required for the latter two use cases when specifying a stable branch? However I rarely do this currently because it requires some non-automated steps to find the candidates currently.
Contributor

Pull-Request has been merged by ausil

Pull-Request has been merged by ausil
Contributor

pkgdb allows admins to retire any branch

pkgdb allows admins to retire any branch
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
releng/tickets!6783
No description provided.