Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/cli: resolve --plugins/layout value by semantic version #1536

Merged

Commits on Jun 2, 2020

  1. A CLI is now able to resolve a key to one plugin for a project version

    containing multiple plugins of the same name (different versions) or
    same short name (different fully-qualified names).
    
    For example, when a CLI containing plugins "go.kubebuilder.io/v2.0"
    and "go.kubebuilder.io/v2.1" with a default of the latter is passed
    a either config with "layout: go/v2.0", a config with "layout: go/v2.1",
    or "--plugins go", it should resolve each successfully.
    
    pkg/cli: resolve default plugins first so that, if a key matches a
    default plugin, the correct plugin is always returned. If a user wants
    non-default behavior they must specify the exact plugin they want.
    estroz committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    cb81777 View commit details
    Browse the repository at this point in the history