dotnet / dotnet/sdk-container-builds

Refactor supported registered as providers

Open
#435 0 comments 0 reactions 0 assignees View on GitHub
refactoring
Dominant language
No language data
Stars
197
Forks
53
PR merge metrics
No merged PRs in 30d

Description

currently `Registry` class contains a lot of logic related to specific registry: Amazon, Google etc.

it gets hard to handle all the specifics of registries in one class.

Implement "provider" approach for well-known registries based on common interface/base class. Customization points:
- supporting parallel upload
- supporting chunked upload
- size of the chunk
- auth specifics
- provider-specific guidance/options for fixing auth

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Registry class and inventory its Amazon- and Google-specific logic. Trace how upload, chunking, authentication, and guidance options are currently selected. Done means well-known registries are handled through a common provider interface with the listed customization points, without keeping their specifics centralized in Registry.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
build-system, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.