Pinto
Pinto copied to clipboard
Better information about what is generating a dependency
I ran into a situation updating PPI from 1.213 to 1.215 where something in its dependency stack was trying to update MakeMaker and Test::More (they were pinned) but it was unclear where that dependency was coming from.
The normal error message doesn't say where a dependency comes from, it would be very helpful if it did.
Neither -v -v
helped nor PINTO_DEBUG
because there's no logging which says where a dependency is coming from. I put a message in Pinto::Schema::Result::Prerequisite->as_spec
and that finally told me what I needed to know. Something like this would be helpful.
$self->info("$dist_name depends on $pkg_name / $pkg_version");
,jb ,j
Yes, it'd helpful for me too.
+1 had the same problem the last few days. It would be great to see text dependency tree like you get with cpanm --scandeps