Bug 1086664 - Review Request: rubygem-actionview - Rendering framework putting the V in MVC (part of Rails)
Summary: Review Request: rubygem-actionview - Rendering framework putting the V in MVC...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-11 09:26 UTC by Josef Stribny
Modified: 2016-01-04 05:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-02 11:09:32 UTC
Type: ---
Embargoed:
vondruch: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Josef Stribny 2014-04-11 09:26:39 UTC
Spec URL: http://data-strzibny.rhcloud.com/rubygem-actionview.spec
SRPM URL: http://data-strzibny.rhcloud.com/rubygem-actionview-4.1.0-1.fc21.src.rpm
Description: Simple, battle-tested conventions and helpers for building web pages.
Fedora Account System Username: jstribny

* Note: It already leverages the new packaging guidelines[1] and since it will be part of rails 4.1 update[2], you need updated rubygem-tzinfo and rubygem-activesupport packages. I built those updates locally [3,4] for testing this package. To run the test suite we would need other rails dependencies that depends on this package in runtime. This can be enabled after those components get updated during rails 4.1 change.


[1] https://fedorahosted.org/fpc/ticket/409
[2] https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_4.1
[3] http://data-strzibny.rhcloud.com/rubygem-tzinfo-1.1.0-1.fc21.noarch.rpm
[4] http://data-strzibny.rhcloud.com/rubygem-activesupport-4.1.0-1.fc21.noarch.rpm

Comment 1 Vít Ondruch 2014-04-11 09:38:52 UTC
I'll take it for a review.

Comment 2 Vít Ondruch 2014-04-11 11:25:34 UTC
* Test suite
  - I would suggest to expand the test suite in %check section (see activemodel
    for example).
  - If you don't like the %check section, then you should move it into the %prep
    section, though there are no directories prepared yet, so it would be weird.
    %build section is definitely wrong place.

* %{bootstrap} macro
  - Be sure to don't forget to re-enable the bootstrap macro.
  - Actually, I am not sure why you suggest updated activesupport, but you are
    not mentioning actionpack and activerecord, which are listed as BR of this
    package. It doesn't look I can test the package without them.

Comment 3 Josef Stribny 2014-04-15 13:16:04 UTC
I moved the test suite unpacking into %prep and I made necessary changes that will be required to run all the tests when the build dependencies are updated. 

Spec URL: http://data-strzibny.rhcloud.com/rubygem-actionview.spec
SRPM URL: http://data-strzibny.rhcloud.com/rubygem-actionview-4.1.0-2.fc21.src.rpm

Comment 5 Vít Ondruch 2014-04-16 16:03:11 UTC
* Test suite
  - You should run the test suite from "pushd .%{gem_instdir}". That way you
    don't need to delete the test suite, i.e. you can remove the 'rm -rf test/'.
  - Please remove the '&&' at the end of the first batch of tests. It makes the
    testsuite to pass even if it fails.

* Useless provide
  - You package has "Provides: rubygem(%{gem_name})" but it is now
    autogenerated. Please remove the provide (it will avoid also one rpmlint
    complaint).

* rpmlint
  - rubygem-actionview-doc.noarch: W: summary-ended-with-dot C Documentation for
    rubygem-actionview.

Otherwise the package looks good => APPROVED. Please fix the above mentioned minor nits prior importing and don't forget to disable bootstrap after first successful build.

Comment 6 Josef Stribny 2014-04-17 11:28:07 UTC
Thanks, I will.

New Package SCM Request
=======================
Package Name: rubygem-actionview
Short Description: Rendering framework putting the V in MVC (part of Rails)
Owners: jstribny
Branches:
InitialCC:

Comment 7 Gwyn Ciesla 2014-04-18 11:50:49 UTC
Git done (by process-git-requests).

Comment 8 Josef Stribny 2014-04-18 12:39:10 UTC
Built with f21-ruby target in rawhide for now.


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