-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
addendum: overrides apply if value matches, as well as key
Found a pretty serious problem with overrides while starting implementation. Namely, it is in many cases impossible to determine whether a node in a reified tree was subject to an override or not. The edge case is described in this patch, and a fix proposed: > **If a dependency matches the `key` in an overrides object _or_ it > matches the `"."` value specifier, then the override ruleset will > apply.** By doing this, it prevents version-swapping, makes infinite regress even more impossible, and ensures that the resulting package tree can always be properly examined, without any out of band bookkeeping. cc: @nlf
- Loading branch information
Showing
1 changed file
with
173 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters