Changes between Version 5 and Version 6 of Development/YumAndSPMA


Ignore:
Timestamp:
Mar 29, 2013, 5:33:31 PM (13 years ago)
Author:
munoz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/YumAndSPMA

    v5 v6  
    7979Imagine this dependency graph, where green nodes are in the profile, yellow ones are dependencies that are not specified directly in the profile and red nodes are nodes that shall be removed:
    8080
     81[[Image(deps.png)]]
    8182
    8283Both smithers and mrburns are specified directly in the profile.  But the distribution recalls that smithers depends on mrburns, so it adds a dependency. At the same time, we decide mrburns is not a critical part of our infrastructure, so we remove it from the profile:
    8384
    84 When the component kicks in, it looks at ''leaf'' packages that are not in the profile. Since `smithers` hasn't been updated, it runs this check against a system that looks like this:
     85[[Image(deps-updated.png)]]
     86
     87When the component kicks in, it looks at ''leaf'' packages that are not in the profile.  These are the candidates to be removed. Since `smithers` hasn't been updated, it runs this check against a system that looks like this:
     88
     89[[Image(deps-intermediate.png)]]
    8590
    8691Thus, we'll schedule mrburns for removal. Our transaction will thus be:
     
    9297
    9398Which means this dependency graph:
     99
     100[[Image(deps-transaction.png)]]
    94101
    95102We cannot update smithers because mrburns will be removed!!  Curretly this requires manual intervention, or intermediate deployments.  Neither option is acceptable.