Bug 1136389 - Review Request: rubygem-rspec2-core - Rspec-2 runner and formatters
Summary: Review Request: rubygem-rspec2-core - Rspec-2 runner and formatters
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Josef Stribny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1136390
TreeView+ depends on / blocked
 
Reported: 2014-09-02 13:23 UTC by Mamoru TASAKA
Modified: 2016-01-04 05:53 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-12 02:15:13 UTC
Type: ---
Embargoed:
jstribny: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Mamoru TASAKA 2014-09-02 13:23:09 UTC
Spec URL: https://mtasaka.fedorapeople.org/Review_request/rspec2/rubygem-rspec2-core.spec
SRPM URL: https://mtasaka.fedorapeople.org/Review_request/rspec2/rubygem-rspec2-core-2.14.8-2.fc22.src.rpm
Description: 
Behaviour Driven Development for Ruby.
Fedora Account System Username: mtasaka

Comment 1 Mamoru TASAKA 2014-09-02 13:23:24 UTC
Note that to this package needs bootstap to enable test suite (see %need_bootstrap_set)

Comment 2 Josef Stribny 2014-09-08 08:58:34 UTC
I will take it for a review.

Comment 3 Josef Stribny 2014-09-08 10:01:53 UTC
1, Fix spelling:

"Rspec-2 runner and formatters" should be probably "RSpec 2 runner and formatters"

2, Fix upstream URL to https://github.com/rspec/rspec-core

3, Why do you need two macros for bootstrapping? Isn't need_bootstrap enough?

4, Unnecessary requires and provides: it's auto-generated now.

Comment 4 Mamoru TASAKA 2014-09-21 15:41:58 UTC
Thank you for comments:

(In reply to Josef Stribny from comment #3)
> 4, Unnecessary requires and provides: it's auto-generated now.

- Requires: rubygem(rake) is not from gemspec Requires searcher
  (see comments in the spec file)
- Provides: rubygem(%{rpmgem_name}) = %{version}-%{release}
  (note: rpmgem_name is "rspec2", not "rspec") is not frpm
  gemspec Provides searcher (gem name is "rspec")

https://mtasaka.fedorapeople.org/Review_request/rspec2/rubygem-rspec2-core-2.14.8-3.fc.src.rpm
https://mtasaka.fedorapeople.org/Review_request/rspec2/rubygem-rspec2-core.spec

* Wed Sep 17 2014 Mamoru TASAKA <mtasaka> - 2.14.8-3
- Modify summary, URL
- Kill redundant macro

Comment 5 Josef Stribny 2014-09-22 05:27:19 UTC
Mamoru, I talked with Vit briefly and we discussed the naming scheme for these RSpec 2 packages. Don't you think it would be better to name them as:

rubygem-rspec-core2
rubygem-rspec-expectation2
rubygem-rspec-mocks2

?

That would match the convention we use for all the other packages. Also, when looking for rubygem-rspec in package db, one would immediately see that the old 2.x version is around. What do you think? Could you change it? The naming scheme you have chosen implies more that core, expectation and mocks are sub-packages of rspec package.

Comment 6 Mamoru TASAKA 2014-09-22 14:26:16 UTC
(In reply to Josef Stribny from comment #5)
> Mamoru, I talked with Vit briefly and we discussed the naming scheme for
> these RSpec 2 packages. Don't you think it would be better to name them as:
> 
> rubygem-rspec-core2
> rubygem-rspec-expectation2
> rubygem-rspec-mocks2
> 
> ?

You already said here "the naming scheme for these >RSpec 2 packages<",
so it should mention "rspec2", not "core2" or "expectation2".
Some similar namings are "python2-foo" v.s. "python3-foo", not "python-foo2"
or "python-foo3".

> That would match the convention we use for all the other packages. 

No, it is opposite.

> Also,
> when looking for rubygem-rspec in package db, one would immediately see that
> the old 2.x version is around. What do you think? Could you change it? The
> naming scheme you have chosen implies more that core, expectation and mocks
> are sub-packages of rspec package.

Essentially so, because even currently when we do "yum install rubygem-rspec",
it pulls in -core, -expectations, -mocks. Similarly, when we do
"yum install rubygem-rspec2", it should pull in "-rspec2-core", "-mocks",
"-expectations", and it almost looks like these are subpackages of
rubygem-rspec2.

Comment 7 Mamoru TASAKA 2014-09-22 14:33:25 UTC
IMO if user do "yum install rubygem(rspec2)" and then pull in
rubygem-rspec-expection2 or so, it is more confusing.

Comment 8 Josef Stribny 2014-10-09 08:20:12 UTC
Ok, the naming is imperfect in either case and there are other packages that follow this "convention" so I agree.

==> APPROVED.

Comment 9 Mamoru TASAKA 2014-11-04 06:33:05 UTC
Sorry for LOOOOONG delay. Thank you for review.

New Package SCM Request
=======================
Package Name: rubygem-rspec2-core
Short Description: Rspec-2 runner and formatters
Upstream URL: http://github.com/rspec/rspec-core
Owners: mtasaka
Branches: 
InitialCC:

Comment 10 Gwyn Ciesla 2014-11-05 12:02:42 UTC
Git done (by process-git-requests).

Comment 11 Mamoru TASAKA 2014-11-12 02:15:13 UTC
Imported, closing.

Thank you for review and git procedure.


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