Skip to content
  • Michael Pyne's avatar
    dep-resolv: Fix wildcard handling for dependency-data. · 6b7decf8
    Michael Pyne authored
    The recent(-ish) switch to allow short name from a few months ago in the
    dependency-data files was buggy in the way it handles "catch all"
    dependencies.
    
    Dependency information was already shortened down to just the module
    name when it was compared against the wildcard dependency rules, which
    made it impossible for most of the rules to match (e.g. a dependency for
    kde/kdemultimedia/* wouldn't match against 'juk' anymore because at that
    portion of the code it's not clear that juk is actually a part of that
    set).
    
    I will still have to make some other fixes to permit wildcarded
    dependencies to work through indirect modules. E.g. a dependency exists
    for kde/foo/bar/bar* to "first-module". A second module depends on
    "bar-intermedia-module", which is really under kde/foo/bar/. If
    "bar-intermedia-module" is actually being built this is not an issue as
    the dependency resolver can read the full path to detect the recursive
    dependency onto "first-module". But if "bar-intermedia-module" is not
    being built then there's no way to tell that there's really a dependency
    on "first-module" since the wildcard dependency would not match.
    6b7decf8