The code for this is really crazy from #483. At the very least it needs a design doc.
The feature is trivial to implement in a naive way, but very difficult to support parallel dependency lookups
in an efficient way while both supporting bulk -a and bulk list.
There's definitely room for improvement here. Another queue or 2 could likely remove the "metadata" hack that was added.
488 makes it safer to refactor this code. It could in theory wait for _DEPENDSARGS support to come out but we'll likely keep it for building older ports trees.
The code for this is really crazy from #483. At the very least it needs a design doc.
The feature is trivial to implement in a naive way, but very difficult to support parallel dependency lookups in an efficient way while both supporting
bulk -a
andbulk list
.There's definitely room for improvement here. Another queue or 2 could likely remove the "metadata" hack that was added.
488 makes it safer to refactor this code. It could in theory wait for _DEPENDSARGS support to come out but we'll likely keep it for building older ports trees.