fsprojects / Paket

A dependency manager for .NET with support for NuGet packages and Git repositories.
https://fsprojects.github.io/Paket/
MIT License
1.99k stars 520 forks source link

process dependencytree from top to bottom #4249

Open vha-schleupen opened 3 months ago

vha-schleupen commented 3 months ago

The dependency tree should be processed from top to bottom. Up to now, the dependencies are processed in no particular order. If package 'A' is both directly and transitively dependent and an alias is configured for it, it can happen that the transitive dependency is processed first and therefore the alias setting is not taken into account.

The direct dependencies should be processed first.

forki commented 3 months ago

I think it's important to make sure that we do not add doublicates to the list. Could you please add some kind of "distinct" function