orphaned-packages: sync Maxwell's latest changes and add additional scripts #11931
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!11931
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "unblocked-orphans2"
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?
Should get_people be renamed to get_people_and_email?
...in the left...
I suppose it might be easier to call all_addresses.discard(...) here instead of with-suppress-remove.
The individual commits make sense. I don't know if we should keep the script here or not when it grows this way: what do relengs think?
The retire.py script could probably gain some SPDX-License-Identifier similarily to the original one.
Thanks for the feedback!
Yeah, I think that makes sense.
Good catch!
Ah, I didn't know about the discard set method. Thanks!
I'm fine with moving it to my own scripts repository if that's preferred. I already have some stuff in https://git.sr.ht/~gotmax23/fedora-scripts/tree/main/item/releng/orphaned_packages_process.
I'll add one.
4 new commits added
orphaned_packages_process: add license headers to retire.pyfind_unblocked_orphans: rename PagureInfo.get_people methodfixup! unblocked_orphans: don't send emails to the orphan userfixup! unblocked_orphans: add additional info to email headerPushed the changes. Please take another look.
Pushed the changes. Please take another look.
The new commits look good, feel free to autosquash fixups.
I'd probably squash the SPDX identifier to the commit that introduced the script, but not important.
18 new commits added
find_unblocked_orphans: rename PagureInfo.get_people methodorphaned_packages_process retire: add --log-file flagunblocked_orphans: don't send emails to the orphan userfind_unblocked_orphans: allow redirecting report to a fileorphaned_packages_process: add requirements.txtorphaned_packages_process: add tox env for lintersorphaned_packages_process: add retire.py scriptfind_unblocked_orphans: add a couple type annotationsorphaned_packages_process: add Dockerfilefind_unblocked_orphans: auto-format codefind_unblocked_orphans: add black and isort configfind_unblocked_orphans: add additional info to JSON outputfind_unblocked_orphans: remove deprecated utcnow() usageunblocked_orphans: add additional info to email headerunblocked_orphans: remove duplicate header definitionfind_unblocked_orphans: fix cache directory handlingfind_unblocked_orphans: add addresses to the JSON blobfind_unblocked_orphans: better handle group maintainersDone!
rebased onto
33769cf954Thanks!
Pull-Request has been merged by kevin
Thank you!