You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
13:11 @xdg ether, see http://www.cpan.org/authors/id/E/ET/ETHER/CHECKSUMS
13:12 @xdg of course, having CHECKSUMS in a more easily searchable form would be nice
13:23 @ether xdg: right, so PAUSE already has checksums.. so the other part is an interface to calculate that on the client side, for comparing to (and, a nicer interface to fetch the checksum on PAUSE)
13:24 @xdg ether, path($tarball)->digest?
13:24 @xdg :-)
13:24 @xdg but, the github issue was to remind me to figure out how to make that checksum easier to retrieve
13:25 @xdg AUTHOR/TARBALL.md5 as a file would have been awfully convenient :-/
13:25 @xdg so we can fake it with CPAN::Common::Index
13:43 @ether xdg: I guess that was my point - it wasn't clear that that is indeed the mechanism by which the checksum is calculated
13:44 @ether that would do nicely as an interface in Dist::Metadata
13:57 @xdg ether, I'm not 100% sure, I'd have to check the CPAN.pm code
13:58 @xdg If not, we ought to get Andreas to calculate it the right way!
14:01 * xdg has checked. It looks like straightforward Digest::SHA 256bit check, albeit done in a roundabout way.
14:01 @xdg CPAN::Distribution::CHECKSUM_check_file is the sub if you want to see it
Could we make it easy to get the checksum on a tarball?
The text was updated successfully, but these errors were encountered: