Commit Graph

2 Commits

Author SHA1 Message Date
Vineet Naik bcee1a4e8e Fix profile based integration tests
No change in code. The expected output files need to be fixed due to
unpinned dependencies (both transient and specified in
requirements.txt)
2020-06-05 01:12:24 +05:30
Vineet Naik 917c880eeb Fix the behaviour of --reverse and --packages options together
The Tree class is completely agnostic of any notion of a dependency
tree. So it's filter and reverse methods purely work on the given
datastructure which is a map. So the combination of '--reverse' and
'--packages' options require the reverse method to be called before
filter. If done the other way, when reverse is called, it will have
only partial tree resulting in incorrect behaviour in the context of
this script.

Added documentation on the tree class and it's methods accordingly.
2020-04-12 13:27:59 +05:30