Skip to content

Conversation

@qwerty287
Copy link
Contributor

From #5852

Added UI and docs.

@qwerty287 qwerty287 requested a review from a team January 20, 2026 07:46
@qwerty287 qwerty287 added server feature add new functionality labels Jan 20, 2026
@woodpecker-bot
Copy link
Contributor

woodpecker-bot commented Jan 20, 2026

Surge PR preview deployment succeeded. View it at https://woodpecker-ci-woodpecker-pr-5993.surge.sh


// NewWithExtension returns a registry service that combines a base service with an HTTP extension.
// The extension is called during RegistryListPipeline to fetch additional registry credentials.
func NewWithExtension(base Service, extension *httpExtension) Service {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

combined should be doing the same thing

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, because it's the other way round:
Combined uses the base service for everything, while the other services are read only. And the base one has priority.
Here it has to use the read only services first. Of course this can be implemented with some extra boolswitch, should I do this? Not sure how easy this will be in combined though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't you achieve this by just swapping the registries passed to combined already 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No because combined has a list of readonly services (that are not prioritized) and only one full service (that is prioritized).

Here we need one readonly that's prioritized.

qwerty287 and others added 2 commits January 20, 2026 09:30
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
@qwerty287 qwerty287 requested a review from anbraten January 22, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature add new functionality server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants