Bug 676608

Summary: Review Request: rubygem-delayed_job - Database-backed asynchronous priority queue system -- Extracted from Shopify
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: Package ReviewAssignee: Mo Morsi <mmorsi>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, mmorsi, notting
Target Milestone: ---Flags: mmorsi: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-26 11:11:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vít Ondruch 2011-02-10 12:07:29 UTC
Spec URL: http://people.redhat.com/vondruch/rubygem-delayed_job.spec
SRPM URL: http://people.redhat.com/vondruch/rubygem-delayed_job-2.1.3-1.fc14.src.rpm

Description: 
Delayed_job (or DJ) encapsulates the common pattern of asynchronously
executing longer tasks in the background. It is a direct extraction from
Shopify where the job table is responsible for a multitude of core tasks.
This gem is collectiveidea's fork
(http://github.com/collectiveidea/delayed_job).

Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=2829503

Comment 1 Mo Morsi 2011-07-21 19:30:13 UTC
Taking this one. Overall looks good

- the latest upstream release is 2.1.4, please consider updating

- could you remove references in the summary / description to 'shopify'

- the rspec2 components are now in fedora, can we drop the patch to the spec suite?

- there is one rpmlint warning to note:
rubygem-delayed_job.noarch: E: non-executable-script /usr/lib/ruby/gems/1.8/gems/delayed_job-2.1.3/lib/generators/delayed_job/templates/script 0644L /usr/bin/env

- defaultattr is no longer necessary in files section an should be removed

- the package should own the %dir %{geminstdir} should it not


Package builds fine in koji.

Comment 2 Vít Ondruch 2011-07-25 11:45:27 UTC
I have uploaded updated version of delayed_job:

Spec URL: http://people.redhat.com/vondruch/rubygem-delayed_job.spec
SRPM URL:
http://people.redhat.com/vondruch/rubygem-delayed_job-2.1.4-1.fc16.src.rpm

Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=3227264

(In reply to comment #1)
> Taking this one. Overall looks good
> 
> - the latest upstream release is 2.1.4, please consider updating

done
 
> - could you remove references in the summary / description to 'shopify'

done

> - the rspec2 components are now in fedora, can we drop the patch to the spec
> suite?

done

> - there is one rpmlint warning to note:
> rubygem-delayed_job.noarch: E: non-executable-script
> /usr/lib/ruby/gems/1.8/gems/delayed_job-2.1.3/lib/generators/delayed_job/templates/script
> 0644L /usr/bin/env

Actually this is Rails generator template, therefore it contains shebang, while it is not intended to be executed from current location, so the error is false positive.

> - defaultattr is no longer necessary in files section an should be removed

done

> - the package should own the %dir %{geminstdir} should it not

done

Comment 3 Mo Morsi 2011-07-25 16:59:13 UTC
Looks good. APPROVED.

Comment 4 Vít Ondruch 2011-07-26 08:19:16 UTC
Thank you for your review!


New Package SCM Request
=======================
Package Name: rubygem-delayed_job
Short Description: Database-backed asynchronous priority queue system
Owners: vondruch
Branches: 
InitialCC:

Comment 5 Gwyn Ciesla 2011-07-26 10:06:09 UTC
Git done (by process-git-requests).