Red Hat Bugzilla – Bug 491029
Review Request: perl-Data-Denter - An alternative to Data::Dumper and Storable
Last modified: 2009-03-21 19:31:58 EDT
Spec URL: http://fedorapeople.org/~cweyl/review/perl-Data-Denter.spec
SRPM URL: http://fedorapeople.org/~cweyl/review/perl-Data-Denter-0.15-1.fc10.src.rpm
The main problem with Data::Dumper (one of my all-time favorite modules)
is that you have to use 'eval()' to deserialize the data you've dumped.
This is great if you can trust the data you're evaling, but horrible if
you can't. A good alternative is Storable.pm. It can safely thaw your
frozen data. But if you want to read/edit the frozen data, you're out of
luck, because Storable uses a binary format. Even Data::Dumper's output
can be a little cumbersome for larger data objects. Enter Data::Denter.
Data::Denter is yet another Perl data serializer/deserializer. It formats
nested data structures in an indented fashion. It is optimized for human
readability/editability, safe deserialization, and (eventually) speed.
Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1249237
+ package builds in mock (rawhide).
koji build => http://koji.fedoraproject.org/koji/taskinfo?taskID=1249237
+ rpmlint is silent for SRPM and for RPM.
+ source files match upstream url
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
+ License text is included in package.
+ %doc is present.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ no .pc file present.
+ no -devel subpackage
+ no .la files.
+ no translations are available
+ Does owns the directories it creates.
+ no scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ make test outputs
Provides: perl(Data::Denter) = 0.15
Requires: perl(Carp) perl(Exporter) perl(strict) perl(vars)
New Package CVS Request
Package Name: perl-Data-Denter
Short Description: An alternative to Data::Dumper and Storable
Branches: F-9 F-10 devel
Thanks for the review! :-)