Skip to content
  • Duncan Coutts's avatar
    3e13931e
    InstallPlan util to replace a ready package with an installed one · 3e13931e
    Duncan Coutts authored and Mikhail Glushenkov's avatar Mikhail Glushenkov committed
    There are two cases in which we replace source packages with ones that
    are already installed: during planning when we improve the plan by
    replacing configured source packages with pre-existing packages from the
    store, but also there's just the case of skipping over a local package
    that is already built and up to date. In the latter case we're replacing
    a package in the Configured state not with one in the PreExisting state,
    but with one in the Installed state, as if it had been built and
    installed (which in a sense of course it has).
    
    This new util is for the latter case.
    
    (cherry picked from commit e869d803)
    3e13931e
    InstallPlan util to replace a ready package with an installed one
    Duncan Coutts authored and Mikhail Glushenkov's avatar Mikhail Glushenkov committed
    There are two cases in which we replace source packages with ones that
    are already installed: during planning when we improve the plan by
    replacing configured source packages with pre-existing packages from the
    store, but also there's just the case of skipping over a local package
    that is already built and up to date. In the latter case we're replacing
    a package in the Configured state not with one in the PreExisting state,
    but with one in the Installed state, as if it had been built and
    installed (which in a sense of course it has).
    
    This new util is for the latter case.
    
    (cherry picked from commit e869d803)
Loading