Add a script to "retire" a packager #9633
No reviewers
Labels
No labels
after freeze
automation
backlog
blocked
change-ack
change-nak
change-noreleng
changes
Closed As
Can't Fix
Closed As
Duplicate
Closed As
Fixed
Closed As
Fixed with Explanation
Closed As
Get back later
Closed As
Grooming
Closed As
Insufficient data
Closed As
Invalid
Closed As
It's all good
Closed As
taiga
Closed As
upstream
day-to-day
dev
docs
easyfix
epel
f26
f27
f28
f29
f30
f31
f32
f33
f34
f35
f36
f37
f38
f39
f40
f41
f42
f43
f44
f45
fedora
groomed
high-gain
high-trouble
in-progress
in-review
investigation
legal
low-gain
low-trouble
mass rebuild
medium-gain
medium-trouble
meeting
mini-initiative
new_artifact
ops
pdc_retirement
rawhide
RCA
review
script
sidetarget
sprint-0
sprint-1
sprint-2
sprint-3
sprint-4
sprint-5
unfrozen
waiting on external
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
releng/tickets!9633
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Basically, this script lists who maintains what and if given the
--retireargument, it will orphan all the packages for which thepackager(s) is/are main admin, it will remove the ACL for the
packager(s) on packages they have commit on and will reset their watch
status for everything they watch.
This script can be used when someone goes MIA and we want to mass-orphan
their packages. It can also be used when an account no longer has a valid
bugzilla account associated with their email in FAS.
Finally, the script can also only lists/acts on packages the packagers
maintain (via the
--maintainargument) or only packages they watch(via the
--watchargument). Allowing to better tune the actionperformed.
The second commit removes the
who_maintains_whatscript whosefunctionality is included in
distgit/retire_packagers.py.rebased onto e221c00412aac2f79666df1c4a5d3553bad7e2ef
rebased onto 0a2f00ae2b2674c22cbe9fb26c46d556beea9654
rebased onto
967a3a582fLGTM
Pull-Request has been merged by humaton
@churchyard hm, is that a problem? My understanding is that this is pagure API behavior.
I am testing this further. Could the token be read from a "standard" location? AFAIK
give-package.pyreads it from~/.config/fedscm-admin/config.inisomehow.I assume this is a missing scope problem?
OTOH, the token has "Modify an existing project" ACL.
I actually fixed this in a subsequent push, the version that has been merged shouldn't have this problem
Apparently nope, submitting a new PR for this