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

refactor!: streamline package manager initialization #727

Merged
merged 1 commit into from
Sep 8, 2023

Commits on Aug 16, 2023

  1. refactor(packmanager): streamline package manager initialization

    Create a singleton for the umbrella package manager and use it instead
    of global package-scoped maps. Use more dependency injection.
    
    Move the scattered init() calls to RegisterPackageManager into one
    place. Create a bootstrap package for handling flag/zip registration.
    
    Use the bootstrapping package in main(). Propagate errors up and report
    them if initialization fails.
    
    This should make things a bit more testable in the future.
    
    GitHub-Fixes: unikraft#425
    
    Signed-off-by: Jakub Ciolek <jakub@ciolek.dev>
    jake-ciolek committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    b134feb View commit details
    Browse the repository at this point in the history