Pinto icon indicating copy to clipboard operation
Pinto copied to clipboard

Better information about what is generating a dependency

Open schwern opened this issue 11 years ago • 3 comments

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");

schwern avatar Apr 05 '13 00:04 schwern

,jb ,j

fesail avatar Apr 05 '13 03:04 fesail

Yes, it'd helpful for me too.

melezhik avatar Jul 11 '13 13:07 melezhik

+1 had the same problem the last few days. It would be great to see text dependency tree like you get with cpanm --scandeps

holybit avatar Jul 11 '13 22:07 holybit