Migration from RSpec 1.3 to RSpec 2.x
by Vít Ondruch
Hi guys,
Since February, there are available RSpec 2.x in Fedora repositories.
However, as of now, the main package rubygem-rspec was not migrated to
RSpec 2.x and still provides RSpec 1.3 functionality. It would be nice,
if we could finish the migration to RSpec 2.x lets say in F17 time
frame. What are your opinions? The list of packages which depends on
RSpec 1.3 is attached bellow.
If you wonder how to use RSpec 2.x for your package, it is usually quite
easy. In you spec just replace
BuildRequires: rubygem(rspec)
with
# Use rspec-core until rspec are migrated to RSpec 2.x
BuildRequires: rubygem(rspec-core)
and in you %check section, if you are not using Rake, replace call to
'spec' with 'rspec'. As an example, you can take a look on one of mine
rubygems, e.g. rubygem-regin, rubygem-pg.
Once we will migrate all packages into RSpec 2.x, we can migrate also
the rubygem-rspec and change the BR back to rubygem(rspec).
Vit
-------- Pu*vodní zpráva --------
Pr(edme(t: Re: aeolus conductor / rails 3 / F16 integration path
Datum: Tue, 12 Jul 2011 10:47:36 -0400
Od: Mo Morsi <mmorsi(a)redhat.com>
Komu: Vít Ondruch <vondruch(a)redhat.com>
> It is currently 24 packages which are using RSpec 1.x:
>
> ]$ repoquery --repoid=fedora-source --arch=src --whatrequires
> 'rubygem(rspec)'
> rubygem-bcrypt-ruby-0:2.1.2-2.fc15.src (mmorsi)
> rubygem-boxgrinder-build-0:0.9.1-1.fc15.src (goldmann)
> rubygem-boxgrinder-core-0:0.3.1-1.fc15.src (goldmann)
> rubygem-commander-0:4.0.3-4.fc15.src (mfojtik)
> rubygem-cucumber-0:0.10.0-5.fc15.src (mmorsi, clalance, mfojtik)
> rubygem-cucumber-rails-0:0.3.2-5.fc15.src (mmorsi, clalance, mfojtik)
> rubygem-facon-0:0.4.1-2.fc15.src (stahnma)
> rubygem-factory_girl-0:1.3.2-3.fc15.src (mfojtik)
> rubygem-ffi-0:0.6.3-2.fc15.src (bkearney)
> rubygem-linode-0:0.6.2-1.fc15.src (stahnma)
> rubygem-mail-0:2.2.15-2.fc15.src - upstream at 1.3.x (vondruch)
> rubygem-multimap-0:1.1.2-3.fc15.src - upstream at 1.3.x (mmorsi)
> rubygem-mustache-0:0.11.2-5.fc15.src - doesn't use RSpec at all. Seems to be wrong dependency (vondruch)
> rubygem-rack-test-0:0.5.4-1.fc15.src (mfojtik)
> rubygem-rake-compiler-0:0.7.8-1.fc15.src (mamoru)
> rubygem-regin-0:0.3.7-3.fc15.src - upstream at 2.x (vondruch)
> rubygem-rerun-0:0.5.2-4.fc15.src (mfojtik)
> rubygem-scruffy-0:0.2.6-2.fc15.src (mmorsi)
> rubygem-simple-navigation-0:3.0.0-3.fc15.src (mfojtik)
> rubygem-thin-0:1.2.7-2.fc15.src (mfojtik)
> rubygem-typhoeus-0:0.2.0-2.fc15.src (mfojtik)
> rubygem-uuidtools-0:2.1.1-1.fc14.src (mmorsi)
> rubygem-warden-0:1.0.3-4.fc15.src - upstream at 2.x (vondruch)
> rubygem-yard-0:0.5.3-3.fc14.src (mmorsi)
>
> So from my packages, 2 can be converted into RSpec 2.x right now, 2 are
> using 1.3, so it would need some effort and 1 seems to be just wrong
> dependency. May be we should move this discussion into ruby-sig ML
I appended the package owners onto the list for future reference.
Agree on moving this conversation to ruby-sig.
11 years, 9 months
Re: Migration from RSpec 1.3 to RSpec 2.x
by Shawn Starr
Im about to submit whole bunch of rubygems to Fedora. Most of them use rspec 1.3.
On Mon Jul 25th, 2011 10:10 AM EDT Mo Morsi wrote:
>Since this list is a lot shorter than the corresponding list in Fedora,
>perhaps we can get these package maintainers to update to RSpec 2.
>
>Otherwise, perhaps we can leave it in there as there for now, push the
>rspec-core and other subcomponents to EPEL, and update the BoxGrinder
>RPM to depend on those subcomponents instead of rspec itself?
>
> -Mo
>
>On 07/22/2011 09:18 AM, Marek Goldmann wrote:
>> For EPEL 6 - exactly 5:
>>
>> $ repoquery --repoid=epel-source --arch=src --whatrequires 'rubygem(rspec)'
>> rubygem-extlib-0:0.9.13-5.el6.src
>> rubygem-facon-0:0.4.1-2.el6.src
>> rubygem-rack-test-0:0.5.4-1.el6.src
>> rubygem-thin-0:1.2.8-4.el6.src
>> rubygem-uuidtools-0:2.1.1-1.el6.src
>>
>> For EPEL 5 - also 5:
>>
>> $ repoquery --repoid=epel-source --arch=src --whatrequires 'rubygem(rspec)'
>> rubygem-extlib-0:0.9.13-5.el5.src
>> rubygem-facon-0:0.4.1-2.el5.src
>> rubygem-linode-0:0.6.2-1.el5.src
>> rubygem-thin-0:1.2.8-2.el5.src
>> rubygem-uuidtools-0:2.1.1-2.el5.src
>>
>> --Marek
>>
>> On 22 lip 2011, at 09:48, Vít Ondruch wrote:
>>
>>> RSpec 2 as they are in F16 can be imported into EPEL right now. Any idea
>>> how many packages depends on RSpec in EPEL?
>>>
>>>
>>> Vit
>>>
>>>
>>>
>>> Dne 21.7.2011 20:49, Marek Goldmann napsal(a):
>>>> There is one more thing:
>>>>
>>>> Now I upgraded to RSpec 2 in Fedora. I plan to submit BoxGrinder to EPEL 6, but there is only RSpec 1.3. What would be the approach to bump RSpec there?
>>>>
>>>> --Marek
>>>>
>>>> On 18 lip 2011, at 18:49, Mo Morsi wrote:
>>>>
>>>>> Perhaps we can shoot for doing this w/ F17, and if we are unable to
>>>>> migrate all the dependent packages over, then add a rspec1 compat
>>>>> package to buy us some more time.
>>>>>
>>>>> In any case, would rather push this off to F17 myself as a few of us are
>>>>> going through and updating alot of the rails related plugins to be
>>>>> compatible w/ Rails 3 in Fedora. We're trying to get this done by the
>>>>> F16 deadline next week.
>>>> --Marek
>>>>
>>>> _______________________________________________
>>>> ruby-sig mailing list
>>>> ruby-sig(a)lists.fedoraproject.org
>>>> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
>>>
>>> _______________________________________________
>>> ruby-sig mailing list
>>> ruby-sig(a)lists.fedoraproject.org
>>> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
>>
>> _______________________________________________
>> ruby-sig mailing list
>> ruby-sig(a)lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
>
>_______________________________________________
>ruby-sig mailing list
>ruby-sig(a)lists.fedoraproject.org
>https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
11 years, 10 months
Review Request & Need Sponsor: Ruby 2.3.12 in Fedora 15+
by Emanuel Rietveld
See https://bugzilla.redhat.com/show_bug.cgi?id=726690
Although Rails 3 was released, there are still rails projects working
with rails 2.3 series. Rails 3 is not backwards compatible and some key
features are not yet working in Rails 3. One notable project still on rails 2.3
is the issue tracker redmine http://www.redmine.org
Since rails 2 and rails 3 are perfectly parallel installable, I would like to
maintain rails 2.3 series in Fedora until it really becomes obsolete.
Therefore I have packaged Ruby 2.3.12 for F15/F16, basing them on the
Rails 2.3.8 packages already in F14.
This is my first package for Fedora and I welcome any feedback.
Thank you for your time.
-Emanuel
---------- Forwarded message ----------
From: Mo Morsi <mo(a)morsi.org>
Date: Tue, Aug 2, 2011 at 9:24 PM
Subject: Re: Rails 2 in F16
To: Emanuel Rietveld <codehotter(a)gmail.com>
Hey Emanuel, appreciate the effort. Will look at it if I get the chance,
but time is short nowadays so not sure when that is going to be.
Most likely you will have luck if you email the ruby sig directly.
http://lists.fedoraproject.org/pipermail/ruby-sig/
Since you are a new packager though, you will have to go through the
sponsorship process. Not hard, but it could take longer.
Take care,
-Mo
12 years
Re: Fedora Package review request - Multiple Rubygems - prerequisites for OpenNebula 3.x support in Fedora Cloud
by Shawn Starr
On Friday, August 12, 2011 10:48:14 AM Steve Traylen wrote:
> On Fri, Aug 12, 2011 at 2:41 AM, Shawn Starr <shawn.starr(a)rogers.com> wrote:
> >> 3rd party packaging, they need a sponsor:
> >>
> >> https://bugzilla.redhat.com/show_bug.cgi?id=719854
> >>
> >> (Review Request: rubygem-xmlparser-0.6.81-1 - Ruby bindings to the
> >> Expat
> >> XML
> >>
> >> parsing library)
>
> They have a sponser me but I need to see more that just one package, some
> informal reviews of other packages before I can approve.
Hi Steve, that's for xmlparser, but I need help on the ones I've packaged also
:)
I have provenpackager so I just need formal reviews then I'll kick off builds
in rawhide once approved.
12 years, 3 months
Distributing Rails 3 apps
by Lukas Zapletal
Hello,
we are currently facing issues with bundler, rails3 and RPM packages. We
distribute our project (katello / www.katello.org) and all it's
dependencies as RPM packages.
The problem is how to distribute Gemfile.lock file. We have some
configuration commited in our git repo. I guess the best approach is to
have the "oldest" libraries we have in our oldest distro we support
(currently F14).
But when we build RPMs for F14 and F15 these versions has obviously
different rubygems, so the Gemfile.lock can't work for both. Users from
our community are constantly hitting problems like "You have [gemfile]
version XY, but I need version YZ". And we can only recommend to run
bundle install as a workaround.
There are few approaches to solve this issue that comes to my mind I
would like to discuss, or frankly to read better proposals from you guys.
1) Do not distribute Gemfile.lock at all.
It's pretty obvious that if we wont distribute the Gemfile.lock and
issue "bundle install --local" in the RPM %post script, it will create
one. The problem is this generated file is not longer part of the RPM.
It's the quickest (but dirtiest) solution.
When user upgrades a dependency, he or she could get into troubles. We
could re-generate the lock file everytime the app is restarted, but this
sounds more like a hack to me.
2) Generate Gemfile.lock during the build step
This solution is my favorite one. If we run "bundle install --local" in
the %build step and add all required rubygems as BuildRequire, it will
generate the correct lock file that can be distributed.
The disadvantage is obvious - we need to add all the rubygems as
BuildRequires. Isn't there any tool for generating these lock files
without adding many dependencies?
3) Unstitch bundler from the rails3 app
I am not sure if this can be done, but the idea is to get rid of the
bundler. In our case (RPM deployment, dependencies already solved using
yum) the bundler tool is pretty useless. I have no idea how to do it.
Sent a stackoverflow.com question - no aswer yet - http://bit.ly/oL5nNF
4) What you recommend?
Bundler is a great tool for development, or agile deployment
(capistrano, git and that kind of stuff). As a yet unexperienced rubyist
I tend to think when it gets to RPM-based deployment, it's in the way.
We don't need it anymore, more precisely it's an obstruct.
What would you recommend to do? We don't want to bother our users with
bundler errors, we would like to get rid of it, or to distribute always
up-to-date Gemfile.lock.
I am looking forward your recommendations.
Thanks and have a nice weekend
--
Later,
Lukas "lzap" Zapletal
12 years, 3 months
rubygem based rawhide packages stats on 2011-08-03
by Mamoru TASAKA
Hello, all:
Among rubygem related rawhide packages on Fedora, the following
packages are not using the latest gems provided by the upstream.
Please consider to update these.
Note that only rpms based on gems hosted on rubygems.org
are reported in this mail.
Regards,
Mamoru
Owner srpm latest Fedora
aeperezt rubygem-sequel 3.26.0 3.16.0-6.fc15
clalance rubygem-excon 0.6.5 0.6.3-1.fc16
clalance rubygem-fog 0.10.0 0.9.0-4.fc17
clalance rubygem-formatador 0.2.0 0.1.4-2.fc16
clalance rubygem-logging 1.5.2 1.4.3-1.fc16
clalance rubygem-vcr 1.10.3 1.10.0-1.fc16
gerd rubygem-rdiscount 1.6.8 1.6.3.2-5.fc15
goldmann rubygem-aws-sdk 1.0.3 1.0.2-1.fc16
hpejakle rubygem-coderay 1.0.0.800pre 0.9.8-1.fc16
jamesni rubygem-spruz 0.2.11 0.2.5-3.fc16
kanarip rubygem-builder 3.0.0 2.1.2-5.fc15
kanarip rubygem-calendar_date_select 1.16.3 1.15-4.fc13
kanarip rubygem-columnize 0.3.4 0.3.1-4.fc15
kanarip rubygem-cucumber 1.0.2 1.0.1-1.fc16
kanarip rubygem-facets 2.9.1 2.8.0-3.fc15
kanarip rubygem-fattr 2.2.0 1.0.3-4.fc15
kanarip rubygem-gemcutter 0.7.0 0.3.0-4.fc15
kanarip rubygem-highline 1.6.2 1.5.1-2.fc15
kanarip rubygem-linecache 0.46 0.43-4.fc15
kanarip rubygem-main 4.6.0 4.0.0-2.fc15
kanarip rubygem-markaby 0.7.1 0.5-5.fc15
kanarip rubygem-mocha 0.9.12 0.9.8-2.fc15
kanarip rubygem-picnic 0.8.1.20100201 0.8.1-3.fc15
kanarip rubygem-polyglot 0.3.2 0.3.1-1.fc16
kanarip rubygem-rack 1.3.2 1.3.0-1.fc16
kanarip rubygem-restr 0.5.2 0.5.0-3.fc15
kanarip rubygem-reststop 0.5.3 0.4.0-3.fc15
kanarip rubygem-shoulda 3.0.0.beta2 2.11.3-1.fc15
kklic rubygem-acts-as-list 0.1.2 0.1.4-1.fc17
laxathom rubygem-json 1.5.3 1.4.6-3.fc15
lzap rubygem-net-ping 1.5.0 1.4.1-1.fc16
mfojtik rubygem-amazon-ec2 0.9.17 0.9.15-4.fc15
mfojtik rubygem-aws 2.5.6 2.5.5-1.fc16
mfojtik rubygem-commander 4.0.4 4.0.3-4.fc15
mfojtik rubygem-cri 2.0.2 1.0.1-4.fc15
mfojtik rubygem-echoe 4.6.1 4.3.1-3.fc15
mfojtik rubygem-factory_girl 2.0.2 1.3.2-5.fc16
mfojtik rubygem-json_pure 1.5.3 1.5.1-1.fc16
mfojtik rubygem-open4 1.1.0 1.0.1-2.fc15
mfojtik rubygem-progressbar 0.9.1 0.9.0-3.fc15
mfojtik rubygem-rack-accept 0.4.4 0.4.3-6.fc16
mfojtik rubygem-rack-test 0.6.1 0.6.0-2.fc16
mfojtik rubygem-rb-inotify 0.8.6 0.8.1-3.fc15
mfojtik rubygem-rerun 0.6.2 0.5.2-4.fc15
mfojtik rubygem-rest-client 1.6.3 1.6.1-2.fc15
mfojtik rubygem-right_aws 2.1.0 2.0.0-2.fc15
mfojtik rubygem-rvm 1.6.32 1.0.19-2.fc15
mfojtik rubygem-simple-navigation 3.3.4 3.0.0-3.fc15
mfojtik rubygem-sinatra 1.3.0.e 1.2.6-1.fc16
mfojtik rubygem-typhoeus 0.2.4 0.2.0-2.fc15
mfojtik rubygem-will_paginate 3.0.pre4 3.0-0.1.pre2.fc16
mfojtik rubygem-xml-simple 1.1.0 1.0.12-4.fc15
mmorsi rubygem-ParseTree 3.0.7 3.0.5-1.fc14
mmorsi rubygem-RubyInline 3.9.0 3.8.4-1.fc13
mmorsi rubygem-ZenTest 4.6.0 4.3.3-1.fc15
mmorsi rubygem-actionmailer 3.1.0.rc5 3.0.9-1.fc16
mmorsi rubygem-actionpack 3.1.0.rc5 3.0.9-1.fc16
mmorsi rubygem-activerecord 3.1.0.rc5 3.0.9-1.fc16
mmorsi rubygem-activeresource 3.1.0.rc5 3.0.9-1.fc16
mmorsi rubygem-activesupport 3.1.0.rc5 3.0.9-1.fc16
mmorsi rubygem-bcrypt-ruby 2.1.4 2.1.2-2.fc15
mmorsi rubygem-compass 0.11.5 0.10.6-1.fc16
mmorsi rubygem-factory_girl_rails 1.1.0 1.0.1-2.fc16
mmorsi rubygem-haml 3.2.0.alpha.8 3.1.2-2.fc16
mmorsi rubygem-minitest 2.3.1 1.6.0-3.fc16
mmorsi rubygem-rails 3.1.0.rc5 3.0.9-1.fc16
mmorsi rubygem-rdoc 3.9.1 3.8-2.fc16
mmorsi rubygem-ruby2ruby 1.2.5 1.2.4-2.fc13
mmorsi rubygem-ruby_parser 2.0.6 2.0.4-3.fc13
mmorsi rubygem-sass 3.2.0.alpha.11 3.1.4-4.fc16
mmorsi rubygem-scruffy 0.3.0.beta1 0.2.6-2.fc15
mmorsi rubygem-sexp_processor 3.0.5 3.0.4-1.fc14
mmorsi rubygem-thor 0.15.0.rc 0.14.6-2.fc15
mmorsi rubygem-uuidtools 2.1.2 2.1.1-1.fc14
mtasaka rubygem-activeldap 3.1.0 1.2.2-2.fc15
mtasaka rubygem-mechanize 2.0.1 1.0.1-0.2.beta.20110107104205.fc15
mtasaka rubygem-ruby-debug 0.10.4 0.10.5-0.2.dev.fc15.1
orphaned rubygem-right_http_connection 1.3.0 1.2.4-3.fc15
pwu rubygem-file-tail 1.0.6 1.0.5-3.fc16
robert rubygem-fastercsv 1.5.4 1.5.1-2.fc15
shreyankg rubygem-chronic 0.6.2 0.2.3-2.fc14
shreyankg rubygem-curb 0.7.15 0.7.10-2.fc16
shreyankg rubygem-net-ssh 2.1.4 2.0.23-6.fc15
shreyankg rubygem-rufus-scheduler 2.0.10 2.0.4-2.fc15
shreyankg rubygem-sup 0.12.1 0.10.2-6.fc15
sseago rubygem-daemons 1.1.4 1.0.10-3.fc15
stahnma rubygem-RedCloth 4.2.7 4.2.3-2.fc15
stahnma rubygem-configuration 1.3.1 1.1.0-2.fc15
stahnma rubygem-httparty 0.7.8 0.7.4-1.fc16
stahnma rubygem-launchy 2.0.5 0.4.0-1.fc16
stahnma rubygem-linode 0.7.1 0.6.2-1.fc15
stahnma rubygem-rspec 2.6.0 1.3.1-1.fc15
stahnma rubygem-rubigen 1.5.6 1.5.4-2.fc15
stahnma rubygem-shotgun 0.9 0.8-1.fc15
stahnma rubygem-stomp 1.1.9 1.1.8-1.fc16
stahnma rubygem-treetop 1.4.10 1.4.9-2.fc15
stahnma rubygem-whiskey_disk 0.6.22 0.6.2-1.fc15
tremble rubygem-icalendar 1.1.6 1.1.5-2.fc15
ueno rubygem-formtastic 2.0.0.rc3 1.2.3-4.fc16
vondruch rubygem-activemodel 3.1.0.rc5 3.0.9-1.fc16
vondruch rubygem-arel 2.1.4 2.0.9-1.fc16
vondruch rubygem-bundler 1.1.pre.5 1.0.15-1.fc16
vondruch rubygem-database_cleaner 0.6.7 0.6.6-2.fc16
vondruch rubygem-erubis 2.7.0 2.6.6-1.fc16
vondruch rubygem-eventmachine 1.0.0.beta.3 0.12.10-3.fc13
vondruch rubygem-fssm 0.2.7 0.2.6.1-1.fc16
vondruch rubygem-heroku 2.4.0 2.0.4-1.fc16
vondruch rubygem-i18n 0.6.0 0.5.0-1.fc16
vondruch rubygem-mongrel 1.2.0.pre2 1.1.5-4.fc15
vondruch rubygem-multipart-post 1.1.3 1.1.2-1.fc16
vondruch rubygem-rack-mount 0.8.1 0.7.1-3.fc16
vondruch rubygem-railties 3.1.0.rc5 3.0.9-2.fc16
vondruch rubygem-sqlite3 1.3.4 1.3.3-5.fc16
vondruch rubygem-tzinfo 0.3.29 0.3.26-1.fc16
wakko666 rubygem-facade 1.0.5 1.0.4-4.fc13
wakko666 rubygem-pathname2 1.6.4 1.6.2-7.fc15
12 years, 4 months