kubernetes-sigs / kubernetes-sigs/cli-utils

TechDebt: Merge Prune & Delete code & names

Open
#450 6 comments 0 reactions 0 assignees View on GitHub
lifecycle/frozen
Dominant language
Go
Stars
178
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Delete and Prune are used to mean the same thing. I think we should combine all the prune code into the delete code. This would reduce complexity and code to maintain. AFAICT their behavior is identical.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the prune and delete implementations in the cli-utils codebase, then compare their behavior and call sites before determining the scope of consolidating the two concepts; done means the duplicate prune code and naming are removed without changing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.