Bug 1088950 - Review Request: perl-MouseX-SimpleConfig - A Mouse role for setting attributes from a simple configfile
Summary: Review Request: perl-MouseX-SimpleConfig - A Mouse role for setting attribute...
Keywords:
Status: CLOSED ERRATA
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: 1088946
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-17 13:33 UTC by Paul Howarth
Modified: 2014-05-06 03:35 UTC (History)
2 users (show)

Fixed In Version: perl-MouseX-SimpleConfig-0.11-2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-06 03:28:37 UTC
Type: ---
Embargoed:
ddick: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Paul Howarth 2014-04-17 13:33:38 UTC
Spec URL: http://subversion.city-fan.org/repos/cfo-repo/perl-MouseX-SimpleConfig/branches/fedora/perl-MouseX-SimpleConfig.spec
SRPM URL: http://www.city-fan.org/~paul/extras/perl-MouseX-SimpleConfig/perl-MouseX-SimpleConfig-0.11-1.fc21.src.rpm

Description:
This role loads simple configfiles to set object attributes. It is based on the
abstract role MouseX::ConfigFromFile, and uses Config::Any to load your
configfile. Config::Any will in turn support any of a variety of different
config formats, detected by the file extension. See Config::Any for more
details about supported formats.

Like all MouseX::ConfigFromFile-derived configfile loaders, this module is
automatically supported by the MouseX::Getopt role as well, which allows
specifying -configfile on the commandline.

Fedora Account System Username: pghmcfc

Comment 1 David Dick 2014-04-25 02:47:44 UTC
Licensing is correct

MUST FIX:

BR: perl(Test::Script) # line 52 of t/00-compile.t
BR: perl(File::Find) # line 21 of t/00-compile.t

OPTIONAL

I can't see any reference that requires

BR: perl(Test::Pod::Content)

this can probably be removed.

rpmlint notes the incorrect-fsf-address issue with this package.  If you want, you can inform upstream.

As the other EL5 stuff has been removed, you can remove 

rm -rf %{buildroot}

as well

Notes

perl(YAML) correctly not required b/c perl(YAML::Syck) is preferred by module author

Comment 2 David Dick 2014-04-25 02:50:57 UTC
koji build at http://koji.fedoraproject.org/koji/taskinfo?taskID=6776517

Comment 3 Paul Howarth 2014-04-25 10:06:32 UTC
(In reply to David Dick from comment #1)
> Licensing is correct
> 
> MUST FIX:
> 
> BR: perl(Test::Script) # line 52 of t/00-compile.t
> BR: perl(File::Find) # line 21 of t/00-compile.t

Added perl(File::Find) to the test suite buildreqs and perl(Test::Script) to the optional tests buildreqs, though it never gets run as this dist doesn't include any scripts.

> OPTIONAL
> 
> I can't see any reference that requires
> 
> BR: perl(Test::Pod::Content)
> 
> this can probably be removed.

Without it, you get this:

$ make test RELEASE_TESTING=1
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t .................. skipped: no tests to run
t/01use.t ....................... ok
t/10simple.t .................... ok
t/11default.t ................... ok
t/12config_any_args.t ........... ok
t/author-critic.t ............... skipped: these tests are for testing by the author
t/multiple.t .................... ok
t/release-check-changes.t ....... ok
# Test::Pod::Content required to test POD version consistency
# Distribution version: 0.11
t/release-consistent-version.t .. ok
# Unable to parse MANIFEST.SKIP file:
# No such file or directory
# Using default skip data from ExtUtils::Manifest 1.63
t/release-dist-manifest.t ....... ok
t/release-distmeta.t ............ ok
t/release-eol.t ................. ok
t/release-has-version.t ......... ok
t/release-kwalitee.t ............ ok
t/release-minimum-version.t ..... ok
t/release-no-tabs.t ............. ok
t/release-pod-coverage.t ........ ok
t/release-pod-syntax.t .......... ok
t/release-portability.t ......... ok
t/release-unused-vars.t ......... ok
All tests successful.

I guess Test::Pod::Content should be a dependency of the Test::ConsistentVersion package really (Bug #1091285).

> rpmlint notes the incorrect-fsf-address issue with this package.  If you
> want, you can inform upstream.

Probably no need; upstream uses Dist::Zilla, which should fix it automatically next time a release is done (this release is from 2011).

> As the other EL5 stuff has been removed, you can remove 
> 
> rm -rf %{buildroot}
> 
> as well

Done.

> Notes
> 
> perl(YAML) correctly not required b/c perl(YAML::Syck) is preferred by
> module author

Indeed.

All addressed in -2:

Spec URL: http://subversion.city-fan.org/repos/cfo-repo/perl-MouseX-SimpleConfig/branches/fedora/perl-MouseX-SimpleConfig.spec
SRPM URL: http://www.city-fan.org/~paul/extras/perl-MouseX-SimpleConfig/perl-MouseX-SimpleConfig-0.11-2.fc21.src.rpm

Comment 4 David Dick 2014-04-25 10:13:47 UTC
(In reply to Paul Howarth from comment #3)
>
> I guess Test::Pod::Content should be a dependency of the
> Test::ConsistentVersion package really (Bug #1091285).

Fair enough.  I didn't see that.  I'm fine if you want to re-include BR perl(Test::Pod::Content) or leave it as it is.

Anyway, package APPROVED!

Comment 5 Paul Howarth 2014-04-25 10:25:29 UTC
New Package SCM Request
=======================
Package Name: perl-MouseX-SimpleConfig
Short Description: A Mouse role for setting attributes from a simple configfile
Owners: pghmcfc
Branches: f19 f20 epel7
InitialCC: perl-sig

Thanks for the review David.

I'll leave perl(Test::Pod::Content) out for now as that seems to be the right thing to do, and add it back in if Bug #1091285 is rejected.

Comment 6 Gwyn Ciesla 2014-04-25 12:23:58 UTC
Git done (by process-git-requests).

Comment 7 Fedora Update System 2014-04-25 13:45:31 UTC
perl-MouseX-SimpleConfig-0.11-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-MouseX-SimpleConfig-0.11-2.fc19

Comment 8 Fedora Update System 2014-04-25 13:45:40 UTC
perl-MouseX-SimpleConfig-0.11-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-MouseX-SimpleConfig-0.11-2.fc20

Comment 9 Fedora Update System 2014-04-26 09:18:36 UTC
perl-MouseX-SimpleConfig-0.11-2.fc20 has been pushed to the Fedora 20 testing repository.

Comment 10 Fedora Update System 2014-05-06 03:28:37 UTC
perl-MouseX-SimpleConfig-0.11-2.fc20 has been pushed to the Fedora 20 stable repository.

Comment 11 Fedora Update System 2014-05-06 03:35:19 UTC
perl-MouseX-SimpleConfig-0.11-2.fc19 has been pushed to the Fedora 19 stable repository.


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