action #73345
closed[u] Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle
0%
Description
Motivation¶
In very active needle repos like we have for SLE and also openSUSE outdated needles should be deleted from time to time when they are not matched or used for long. If nobody wants to do it everything becomes worse. Also see https://chat.suse.de/channel/testing?msg=rYLtgxCr4a7GeKTsh and following messages
Acceptance criteria¶
- AC1: Cleanup over sensible time range has been conducted on OSD
- AC2: Same as AC1 for o3
Suggestions¶
- Look for needles that have not been matched and not used on OSD since 2 years, select all, review if the selection is sane or if there is too much deleted, then delete
- Same for 1 year or smaller period than before
- Same on o3
Updated by szarate about 4 years ago
- Subject changed from Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle to [u] Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle
- Status changed from Workable to In Progress
- Assignee set to szarate
Updated by szarate about 4 years ago
- Status changed from In Progress to Feedback
For the time being, I deleted needles whose last use was before 2019-01-01T13:12:03
and those whose last match was before that (Leaving only some of the opensuse ones alive)
For o3: https://github.com/os-autoinst/os-autoinst-needles-opensuse/commits?author=foursixnine&since=2020-10-13&until=2020-10-14
For osd: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/-/commits/master?author=Santiago%20Zarate&since=2020-10-13&until=2020-10-14
I think I can leave AC3 for you guys :)
Updated by okurz about 4 years ago
this is great news. Thanks for doing that and picking up a task that helps everybody. You can keep the ticket on you in Feedback to wait for any fallout :) I will create another ticket for AC3 and improvement ideas.
Updated by okurz about 4 years ago
- Copied to action #73387: Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle added
Updated by okurz about 4 years ago
- Description updated (diff)
- Target version changed from Ready to future
Updated by szarate about 4 years ago
- Status changed from Feedback to Resolved
Thanks for extracting AC3,
Here's some leftovers: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/-/commit/6788aa122c61372c0e1bc8c6a25c099a21f658a1
on o3, looks like everything is moving smoothly, so I call it resolved for the time being :)