Bug 468799 - Review Request: perl-MooseX-StrictConstructor - Make your object constructors blow up on unknown attributes
Summary: Review Request: perl-MooseX-StrictConstructor - Make your object constructors...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Extras Quality Assurance
URL: http://search.cpan.org/dist/MooseX-St...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-28 04:06 UTC by Chris Weyl
Modified: 2008-10-30 16:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-30 16:43:54 UTC
Type: ---
Embargoed:
j: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Chris Weyl 2008-10-28 04:06:12 UTC
SRPM URL: http://fedora.biggerontheinside.net/review/perl-MooseX-StrictConstructor-0.07-1.fc9.src.rpm
SPEC URL: http://fedora.biggerontheinside.net/review/perl-MooseX-StrictConstructor.spec

Description:
Simply loading this module makes your constructors "strict". If your
constructor is called with an attribute init argument that your class does
not declare, then it calls "Carp::confess()". This is a great way to catch
small typos.

Comment 2 Jason Tibbitts 2008-10-28 20:55:02 UTC
Not much to say.

* source files match upstream:
   830d02266bc03a338b6ea551da7acf2f63c2cff7680157db7fed10c72e25bf5b  
   MooseX-StrictConstructor-0.07.tar.gz
* package meets naming and versioning guidelines.
* specfile is properly named, is cleanly written and uses macros consistently.
* summary is OK.
* description is OK.
* dist tag is present.
* build root is OK.
* license field matches the actual license.
* license is open source-compatible.
* license text not included upstream.
* latest version is being packaged.
* BuildRequires are proper.
* %clean is present.
* package builds in mock (rawhide, x86_64).
* package installs properly.
* rpmlint is silent.
* final provides and requires are sane:
   perl(MooseX::StrictConstructor) = 0.07
   perl(MooseX::StrictConstructor::Role::Meta::Method::Constructor)
   perl(MooseX::StrictConstructor::Role::Object)
   perl-MooseX-StrictConstructor = 0.07-1.fc10
  =
   perl(:MODULE_COMPAT_5.10.0)
   perl(Carp)
   perl(Class::MOP)
   perl(Moose) >= 0.56
   perl(Moose::Exporter)
   perl(Moose::Role)
   perl(Moose::Util::MetaRole)
   perl(MooseX::StrictConstructor::Role::Meta::Method::Constructor)
   perl(MooseX::StrictConstructor::Role::Object)
   perl(strict)
   perl(warnings)

* %check is present and all tests pass:
  All tests successful.
  Files=3, Tests=15,  1 wallclock secs ( 0.01 usr  0.01 sys +  0.19 cusr  0.02 
   csys =  0.23 CPU)
  Result: PASS

* owns the directories it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* no generically named files
* code, not content.
* documentation is small, so no -doc subpackage is necessary.
* %docs are not necessary for the proper functioning of the package.

APPROVED

The package review process needs reviewers!  If you haven't done any package
reviews recently, please consider doing one.

Comment 3 Chris Weyl 2008-10-29 05:43:12 UTC
New Package CVS Request
=======================
Package Name: perl-MooseX-StrictConstructor
Short Description: Make your object constructors blow up on unknown attributes
Owners: cweyl
Branches: F-8, F-9, devel
InitialCC: perl-sig

Comment 4 Kevin Fenzi 2008-10-29 21:29:56 UTC
cvs done.

Comment 5 Chris Weyl 2008-10-30 16:43:54 UTC
Imported and built in devel.  Thanks for the review! :-)


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