dotnet / dotnet/sdk-container-builds
Consider extracting duplicate code to one class
Open
refactoring
- Dominant language
- No language data
- Stars
- 197
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
`CreateNewImage` and `ContainerBuilder` logic is 80% same, except logging and output.
Consider extracting duplicate code in one class.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the CreateNewImage and ContainerBuilder implementations and comparing the duplicated logic, especially where logging and output differ. Trace their callers and existing tests, if present, to understand the shared behavior and confirm that both paths still produce the expected container image results after extraction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100