Bug 549286 - Review Request: rubygem-merb-core - Lightweight Ruby-based MVC framework for web development
Summary: Review Request: rubygem-merb-core - Lightweight Ruby-based MVC framework for ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 542559 544964
Blocks: 549624
TreeView+ depends on / blocked
 
Reported: 2009-12-21 07:57 UTC by Matthew Kent
Modified: 2010-09-12 22:55 UTC (History)
3 users (show)

Fixed In Version: 1.0.15-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-12 23:39:12 UTC
Type: ---
Embargoed:
mtasaka: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Matthew Kent 2009-12-21 07:57:30 UTC
Spec URL: http://magoazul.com/wip/SPECS/rubygem-merb-core.spec
SRPM URL: http://magoazul.com/wip/SRPMS/rubygem-merb-core-1.0.15-1.fc13.src.rpm
Description: Ruby-based MVC framework that is agnostic to ORM, JavaScript library, and template languages. Merb is plugin-based, so the core is small and well organized.

This package provides the core libraries that provide enough of Merb to run an application.

This package contains the merb binary and merb-core library.

---

For testing purposes I've put a demo application here http://magoazul.com/core-example.tgz it was created with merb-gen (will be another new package submission) as follows:

merb-gen core core-example
cd core-example
merb-gen controller helloworld

To run it:

wget http://magoazul.com/core-example.tgz
tar zxvf core-example.tgz
cd core-example
merb

To view it:
http://localhost:4000/helloworld

---

This is the first of many merb gem submissions - some of which are rather file intensive. If if expedites the process Debian packagers have just conducted a detailed file by file review of the entire merb repository and identified some improvements to the licenses; all documented here http://svn.debian.org/wsvn/pkg-ruby-extras/trunk/merb/debian/copyright 

They did not identify any areas of concern that are present in the shipped merb-core gem.

Comment 1 Matthew Kent 2009-12-21 08:02:08 UTC
Almost forgot the rpmlint!

mkent@fedora-devel-chef:~/rpmbuild/SPECS$ rpmlint /var/tmp/rpmbuild/SRPMS/rubygem-merb-core-1.0.15-1.magoazul.src.rpm /var/tmp/results/rubygem-merb-core-*
rubygem-merb-core-doc.noarch: W: no-documentation                                                                                                                                                                
rubygem-merb-core-doc.noarch: W: misspelled-macro /usr/lib/ruby/gems/1.8/doc/merb-core-1.0.15/ri/Merb/Rack/Console/reload%21-i.yaml %21
<snip misspelled-macro warnings in -doc>
4 packages and 0 specfiles checked; 0 errors, 100 warnings.

Comment 2 Mamoru TASAKA 2009-12-24 17:44:10 UTC
The example provided by you works for me.

Some remarks:

* Requires
  Would you check if the following dependencies are
  not needed?

  - ebb
    from lib/merb-core/rack/adapter/ebb.rb

  - ruby-debug
    from lib/merb-core/config.rb

  - ruby-prof
    from lib/merb-core/core_ext/kernel.rb
         lib/merb-core/rack/middleware/profiler.rb

  - swiftiply
    from lib/merb-core/rack/adapter/evented_mongrel.rb
         lib/merb-core/rack/adapter/swiftiplied_mongrel.rb

  - thin
    from lib/merb-core/rack/adapter/thin.rb

  - thin-turbo (could not find on gems.rubyforge.org)
    from lib/merb-core/rack/adapter/thin_turbo.rb

  - webrat
    from lib/merb-core/test.rb

  - webrick
    from lib/merb-core/rack/adapter/webrick.rb

Comment 3 Matthew Kent 2009-12-28 06:47:57 UTC
Thank you for the review!

(In reply to comment #2)
> The example provided by you works for me.
> 
> Some remarks:
> 
> * Requires
>   Would you check if the following dependencies are
>   not needed?
> 
>   - ebb
>     from lib/merb-core/rack/adapter/ebb.rb
> 

merb supports multiple frontend webservers via adapters and the -a parameter:

"The rack adapter to use to run merb (default is mongrel)[mongrel, emongrel, thin, ebb, fastcgi, webrick]"

As they use mongrel by default I chose to add it as a dependency and none of the others. Not having those gems installed doesn't inhibit functionality of the app.

The gem doesn't depend on any adapter at all oddly enough, though one could use webrick that ships with ruby itself.

>   - ruby-debug
>     from lib/merb-core/config.rb
> 

No package for this currently, though it looks useful. Doesn't look to block the main function of merb-core though and isn't listed as a primary or development dependency.

I'll add to my list of things to package.

>   - ruby-prof
>     from lib/merb-core/core_ext/kernel.rb
>          lib/merb-core/rack/middleware/profiler.rb
> 

No package for this currently, though it looks useful. Doesn't look to block the main function of merb-core though and isn't listed as a primary or development dependency.

I'll add to my list of things to package.

>   - swiftiply
>     from lib/merb-core/rack/adapter/evented_mongrel.rb
>          lib/merb-core/rack/adapter/swiftiplied_mongrel.rb
> 
>   - thin
>     from lib/merb-core/rack/adapter/thin.rb
> 
>   - thin-turbo (could not find on gems.rubyforge.org)
>     from lib/merb-core/rack/adapter/thin_turbo.rb
> 

See above note about adapters. Will look into the thin-turbo issue and file a ticket if necessary.

>   - webrat
>     from lib/merb-core/test.rb

The Rakefile lists it as a development dependency and I believe it's only required to run the merb test suite which isn't in this version. I'll be sure to revisit it when the next version of merb, which appears to come with the test suite, is released.

>   - webrick
>     from lib/merb-core/rack/adapter/webrick.rb  

This ships with ruby, though actually using it as an adapter doesn't seem to work with my example (404's each time). I should file an upstream bug for this.

Comment 4 Matthew Kent 2009-12-28 07:09:07 UTC
(In reply to comment #3)
> Thank you for the review!
> 
> (In reply to comment #2)
> >   - ruby-debug
> >     from lib/merb-core/config.rb
> > 
> 
> No package for this currently, though it looks useful. Doesn't look to block
> the main function of merb-core though and isn't listed as a primary or
> development dependency.
> 
> I'll add to my list of things to package.
> 

Scratch this - is available in Bug 532306

Comment 5 Mamoru TASAKA 2009-12-31 07:46:28 UTC
So would you tell me if rubygem-ruby-debug review request (or
other rubygem dependencies) are currently the strict blocker
for this review request or not?

Comment 6 Matthew Kent 2009-12-31 09:01:29 UTC
(In reply to comment #5)
> So would you tell me if rubygem-ruby-debug review request (or
> other rubygem dependencies) are currently the strict blocker
> for this review request or not?  

Nothing blocking right now. merb-core, as is, should be able to run applications with the listed dependencies in the spec file.

Comment 7 Mamoru TASAKA 2010-01-05 17:32:20 UTC
Thanks, so as the packaging itself is okay (and the test you
provided works), I can approve this one.

----------------------------------------------------------------
   This package (rubygem-merb-core) is APPROVED by mtasaka
----------------------------------------------------------------

Comment 8 Matthew Kent 2010-01-07 07:20:23 UTC
New Package CVS Request
=======================
Package Name: rubygem-merb-core
Short Description: Lightweight Ruby-based MVC framework for web development
Owners: mkent
Branches: F-11 F-12
InitialCC:

Comment 9 Kevin Fenzi 2010-01-09 04:34:09 UTC
cvs done.

Comment 10 Fedora Update System 2010-01-12 23:39:07 UTC
rubygem-merb-core-1.0.15-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-01-12 23:41:54 UTC
rubygem-merb-core-1.0.15-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Michael Stahnke 2010-09-10 20:16:49 UTC
Package Change Request
======================
Package Name: mkent
New Branches: el5 el6
Owners: stahnma

Comment 13 Michael Stahnke 2010-09-10 20:17:05 UTC
mkent is aware of request.

Comment 14 Kevin Fenzi 2010-09-11 19:48:32 UTC
I think the package name is not right here. ;) 

Please re-check and reset the fedora-cvs flag.

Comment 15 Michael Stahnke 2010-09-12 01:19:27 UTC
Package Change Request
======================
Package Name: rubygem-merb-core
New Branches: el5 el6
Owners: stahnma

Sorry about that. I did about 25 of these at once, figure I may have messed up a couple.

Comment 16 Kevin Fenzi 2010-09-12 22:55:23 UTC
Git done (by process-git-requests).


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