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

Cache loaded repos in ProvisioningContext #517

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 26, 2024

  1. Cache loaded repos in ProvisioningContext

    Currently if fetching updates the provision context is queried multiple
    times leading to the repositories loaded multiple times, even though
    this is usually faster as repo are cached this still produces
    unnecessary workload, especially if there is one failed repository it
    will be tried to be loaded over and over again.
    
    This now caches the repositories loaded on first access to speed that
    up.
    laeubi authored and HannesWell committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    dab6dd0 View commit details
    Browse the repository at this point in the history
  2. Fix ProvisioningContextTest.testFollowHelpsResolve is violating API

    Currently ProvisioningContextTest.testFollowHelpsResolve() assumes it
    can modify the context repositories after using the context but this is
    not valid according to API.
    laeubi authored and HannesWell committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    5bc1d2d View commit details
    Browse the repository at this point in the history