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

Central Repository: plugin install and sync #45

Merged

Commits on Feb 3, 2023

  1. Support discovery from the Central Repository

    When enabling the "features.global.central-repository" feature flag,
    it is now possible install plugins from a Central Repository.
    
    tanzu plugin install: working
    tanzu plugin clean: working
    tanzu plugin upgrade: working
    tanzu plugin describe: working
    tanzu plugin sync: working, now only syncs context plugins.
    tanzu plugin list: lists *all* plugins from the Central Repo.
                       This will be optimized in a follow-up commit.
    
    This first implementation fetches all plugins from the SQLite DB all the
    time. It is then the plugin manager that filters the list of plugins to
    find the correct one.  We took this approach to reduce the code changes
    necessary, but this will optimized in a follow-up effort.
    
    As part of this effort we create a new DiscoveryBackend interface.
    A DiscoveryBackend is the inventory management logic behind a plugin
    Discovery.  This commit creates a DiscoveryBackend implementation for
    the SQLite backend of the Central Repository.
    
    Signed-off-by: Marc Khouzam <kmarc@vmware.com>
    marckhouzam committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    32de66d View commit details
    Browse the repository at this point in the history