Bug 1140223 - Review Request: perl-Data-Dump-Color - Like Data::Dump, but with color
Summary: Review Request: perl-Data-Dump-Color - Like Data::Dump, but with color
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Dick
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1140222
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-10 14:07 UTC by Petr Šabata
Modified: 2014-11-05 16:10 UTC (History)
2 users (show)

Fixed In Version: perl-Data-Dump-Color-0.21-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-05 16:10:56 UTC
Type: ---
Embargoed:
ddick: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Petr Šabata 2014-09-10 14:07:16 UTC
Spec URL: https://psabata.fedorapeople.org/pkgs/perl-Data-Dump-Color/perl-Data-Dump-Color.spec
SRPM URL: https://psabata.fedorapeople.org/pkgs/perl-Data-Dump-Color/perl-Data-Dump-Color-0.21-1.fc20.src.rpm
Description:
This module aims to be a drop-in replacement for Data::Dump. It adds colors
to dumps. For more information, see Data::Dump. This documentation explains
what's different between this module and Data::Dump.
Fedora Account System Username: psabata

Comment 1 David Dick 2014-09-14 21:08:46 UTC
License is correct.

Package builds in rawhide at http://koji.fedoraproject.org/koji/taskinfo?taskID=7576674

rpmlint is clean

Indented evaled require of MIME::Base64 in lib/Data/Dump/Color.pm at line 696 will need a BuildRequires as well as a runtime Requires

Comment 2 Petr Šabata 2014-09-14 22:41:14 UTC
The dependency is optional and I left it out deliberately.  I can add it if you think it makes sense.

Comment 3 David Dick 2014-09-15 07:00:43 UTC
My reading of the code is that MIME::Base64 will be required if the user input contains more than 50 bytes AND is not UTF8.

eg. MIME::Base64 will be required for the following;

my $str = '';
$str .= chr ( rand ( 255) ) foreach ( 1 .. 100 );
dd("$str");

This will include things like inlined images, etc.

I think it's worth including.

Comment 4 Petr Šabata 2014-09-15 07:30:05 UTC
It is preferred for long input but not necessary.

Anyhow, updating.  Adding MIME::Base64 and chagning Data::Dump::Filtered and Data::Dump::FilterContext to runtime deps; this was actually a typo.

The test suite only checks if the module loads.

SPEC: https://psabata.fedorapeople.org/pkgs/perl-Data-Dump-Color/perl-Data-Dump-Color.spec
SRPM: https://psabata.fedorapeople.org/pkgs/perl-Data-Dump-Color/perl-Data-Dump-Color-0.21-2.fc20.src.rpm

Comment 5 David Dick 2014-09-15 08:22:15 UTC
Ok.  Approved.

Comment 6 Petr Šabata 2014-09-15 10:37:08 UTC
Thank you, David.

Comment 7 Petr Šabata 2014-09-15 10:38:10 UTC
New Package SCM Request
=======================
Package Name: perl-Data-Dump-Color
Short Description: Like Data::Dump, but with color
Upstream URL: http://search.cpan.org/dist/Data-Dump-Color/
Owners: psabata jplesnik ppisar
Branches: f21
InitialCC: perl-sig

Comment 8 Gwyn Ciesla 2014-09-15 12:23:01 UTC
Git done (by process-git-requests).

Comment 9 Fedora Update System 2014-09-24 16:48:13 UTC
perl-Data-Dump-Color-0.21-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/perl-Data-Dump-Color-0.21-2.fc21

Comment 10 Fedora Update System 2014-09-30 01:53:40 UTC
perl-Data-Dump-Color-0.21-2.fc21 has been pushed to the Fedora 21 stable repository.


Note You need to log in before you can comment on or make changes to this bug.