(Moved to FeatureReadyForFesco, ticket #886) |
|||
(47 intermediate revisions by 3 users not shown) | |||
Line 11: | Line 11: | ||
== Current status == | == Current status == | ||
* Targeted release: [[Releases/18 | Fedora 18 ]] | * Targeted release: [[Releases/18 | Fedora 18 ]] | ||
* Last updated: 2012- | * Last updated: 2012-8-13 | ||
* Percentage of completion: | * Percentage of completion: 100% | ||
== Detailed Description == | == Detailed Description == | ||
Line 22: | Line 22: | ||
== Scope == | == Scope == | ||
* The whole Rails stack has to be updated (8 packages) | * The whole Rails stack has to be updated (8 packages) | ||
* Additional | * Additional 10 Gems will have to be packaged | ||
* | * Some dependencies of the Rails stack will need update (see below) | ||
This update will only affect the RPM-packaged RubyGems with no effect on Ruby itself nor any other languages. | This update will only affect the RPM-packaged RubyGems with no effect on Ruby itself nor any other languages. | ||
The packages need to be created/updated approximately in this order: | |||
{| | |||
! Package name | |||
! Task | |||
! Status | |||
|- | |||
|rubygem-ref | |||
|Create | |||
|{{result|pass|vondruch}} [https://bugzilla.redhat.com/show_bug.cgi?id=838801 838801] | |||
|- | |||
|rubygem-therubyracer | |||
|Create | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=838870 838870] | |||
|- | |||
|rubygem-coffee-script-source | |||
|Create | |||
|{{result|pass|vondruch}} [https://bugzilla.redhat.com/show_bug.cgi?id=738746 738746] | |||
|- | |||
|rubygem-execjs | |||
|Create | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=738744 738744] | |||
|- | |||
|rubygem-coffee-script | |||
|Create | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=738742 738742] | |||
|- | |||
|rubygem-sprockets | |||
|Create | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=841089 841089] | |||
|- | |||
|rubygem-i18n | |||
|Update to 0.6.0 | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=707183 707183] | |||
|- | |||
|rubygem-builder | |||
|Update to 3.0.0 | |||
|{{result|pass|vondruch}} [https://bugzilla.redhat.com/show_bug.cgi?id=718973 718973] | |||
|- | |||
|rubygem-activesupport | |||
|Update to 3.2.x | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=734746 734746] | |||
|- | |||
|rubygem-activemodel | |||
|Update to 3.2.x | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=734743 734743] | |||
|- | |||
|rubygem-activeresource | |||
|Update to 3.2.x | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=734745 734745] | |||
|- | |||
|rubygem-arel | |||
|Update to 3.0.2 | |||
|{{result|pass|vondruch}} [https://bugzilla.redhat.com/show_bug.cgi?id=701122 701122] | |||
|- | |||
|rubygem-activerecord | |||
|Update to 3.2.x | |||
|{{result|pass|vondruch}} [https://bugzilla.redhat.com/show_bug.cgi?id=734744 734744] | |||
|- | |||
|rubygem-erubis | |||
|Update to 2.7.0 | |||
|{{result|pass|bkabrda}} | |||
|- | |||
|rubygem-rack-test | |||
|Update to 0.6.1 | |||
|{{result|pass|bkabrda}} | |||
|- | |||
|rubygem-actionpack | |||
|Update to 3.2.x | |||
|{{result|pass|bkabrda}} | |||
|- | |||
|rubygem-actionmailer | |||
|Update to 3.2.x | |||
|{{result|pass|bkabrda}} | |||
|- | |||
|rubygem-railties | |||
|Update to 3.2.x | |||
|{{result|pass|bkabrda}} | |||
|- | |||
|rubygem-sass-rails | |||
|Create | |||
|{{result|pass|vondruch}} | |||
|- | |||
|rubygem-jquery-rails | |||
|Create | |||
|{{result|pass|bkabrda}} | |||
|- | |||
|rubygem-uglifier | |||
|Create | |||
|{{result|pass|bkabrda}} [https://bugzilla.redhat.com/show_bug.cgi?id=840422 840422] | |||
|- | |||
|rubygem-coffee-rails | |||
|Create | |||
|{{result|pass|bkabrda}} | |||
|- | |||
|rubygem-rails | |||
|Update to 3.2.x | |||
|{{result|pass|bkabrda}} | |||
|} | |||
== How To Test == | == How To Test == | ||
Line 47: | Line 147: | ||
== Dependencies == | == Dependencies == | ||
Apart from those mentioned in [[#Scope]], all the packages | Apart from those mentioned in [[#Scope]], all the packages that will get updated are dependencies of other cca 40 packages. These will have to be rebuilt and possibly updated. | ||
These 22 packages Require at least one package of the Rails stack directly and should probably be updated, too: | |||
<pre> | |||
aeolus-conductor-0:0.10.5-1.fc18.noarch | |||
aeolus-configserver-0:0.4.5-1.fc18.noarch | |||
rubygem-acts-as-list-0:0.1.4-3.fc17.noarch | |||
rubygem-aeolus-cli-0:0.5.0-1.fc18.noarch | |||
rubygem-ammeter-0:0.2.2-2.fc17.noarch | |||
rubygem-archivist-0:1.0.5.1-4.fc17.noarch | |||
rubygem-authlogic-0:3.0.3-3.fc17.noarch | |||
rubygem-cucumber-rails-0:1.0.2-9.fc17.noarch | |||
rubygem-declarative_authorization-0:0.5.5-2.fc17.noarch | |||
rubygem-delayed_job-0:3.0.2-1.fc18.noarch | |||
rubygem-factory_girl_rails-0:1.4.0-3.fc17.noarch | |||
rubygem-foreigner-0:1.1.6-1.fc18.noarch | |||
rubygem-formtastic-0:1.2.3-6.fc17.noarch | |||
rubygem-gettext_i18n_rails-0:0.4.0-2.fc17.noarch | |||
rubygem-haml-rails-0:0.3.4-6.fc17.noarch | |||
rubygem-paranoia-0:1.1.0-3.fc18.noarch | |||
rubygem-rails_warden-0:0.5.6-1.fc17.noarch | |||
rubygem-recaptcha-0:0.3.1-3.fc17.noarch | |||
rubygem-rspec-rails-0:2.8.1-2.fc17.noarch | |||
rubygem-rubigen-0:1.5.6-3.fc17.noarch | |||
rubygem-simple-navigation-0:3.5.1-3.fc17.noarch | |||
rubygem-will_paginate-0:3.0.2-3.fc17.noarch | |||
</pre> | |||
Some other packages will be updated to satisfy the dependencies of the new Rails stack, so their depending packages should be rebuilt (these should however not require update themselves). The packages to rebuild are: | |||
<pre> | |||
deltacloud-core-0:0.5.0-3.fc17.rc1.src | |||
rubygem-boxgrinder-build-0:0.10.1-1.fc17.src | |||
rubygem-fog-0:1.1.2-1.fc17.src | |||
rubygem-haml-0:3.1.2-5.fc17.src | |||
rubygem-introspection-0:0.0.2-5.fc17.src | |||
rubygem-rack-protection-0:1.2.0-4.fc17.src | |||
rubygem-rack-ssl-0:1.3.2-4.fc17.src | |||
rubygem-rbvmomi-0:1.2.3-5.fc17.src | |||
rubygem-rsolr-0:1.0.2-3.fc17.src | |||
rubygem-scruffy-0:0.3.0-1.beta1.fc17.src # this seems not to be maintained and requires builder < 3.0.0, so we might need to drop this | |||
rubygem-sinatra-1:1.3.2-8.fc17.src | |||
rubygem-tilt-0:1.3.3-3.fc17.src | |||
</pre> | |||
== Contingency Plan == | == Contingency Plan == | ||
Line 65: | Line 208: | ||
[[Category: | [[Category:FeatureAcceptedF18]] | ||
<!-- When your feature page is completed and ready for review --> | <!-- When your feature page is completed and ready for review --> | ||
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler --> | <!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler --> | ||
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete--> | <!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete--> | ||
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process --> | <!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process --> |
Latest revision as of 11:47, 13 August 2012
Rails 3.2
Summary
Rails 3.2 is the latest version of Ruby on Rails stack. Fedora 17 still contains Rails 3.0, which are rather old from the Rails community point of view.
Owner
- Name: Bohuslav Kabrda
- Email: <bkabrda@redhat.com>
Current status
- Targeted release: Fedora 18
- Last updated: 2012-8-13
- Percentage of completion: 100%
Detailed Description
The Rails stack is evolving quickly and Fedora needs to keep pace with it. Therefore the whole Rails stack should be updated from 3.0 in Fedora 17 to 3.2 (latest version) in Fedora 18. This will ensure that all the Ruby developers using Fedora have the latest and greatest RPM-packaged Rails.
Benefit to Fedora
This update will keep Fedora up-to-date and will ensure that the current Rails developers stay with us as they will get support for system-packaged Rails of the latest version. Apart from that, Rails 3.2 also bring improved functionality, speed and security.
Scope
- The whole Rails stack has to be updated (8 packages)
- Additional 10 Gems will have to be packaged
- Some dependencies of the Rails stack will need update (see below)
This update will only affect the RPM-packaged RubyGems with no effect on Ruby itself nor any other languages.
The packages need to be created/updated approximately in this order:
Package name | Task | Status |
---|---|---|
rubygem-ref | Create | 838801 |
rubygem-therubyracer | Create | 838870 |
rubygem-coffee-script-source | Create | 738746 |
rubygem-execjs | Create | 738744 |
rubygem-coffee-script | Create | 738742 |
rubygem-sprockets | Create | 841089 |
rubygem-i18n | Update to 0.6.0 | 707183 |
rubygem-builder | Update to 3.0.0 | 718973 |
rubygem-activesupport | Update to 3.2.x | 734746 |
rubygem-activemodel | Update to 3.2.x | 734743 |
rubygem-activeresource | Update to 3.2.x | 734745 |
rubygem-arel | Update to 3.0.2 | 701122 |
rubygem-activerecord | Update to 3.2.x | 734744 |
rubygem-erubis | Update to 2.7.0 | |
rubygem-rack-test | Update to 0.6.1 | |
rubygem-actionpack | Update to 3.2.x | |
rubygem-actionmailer | Update to 3.2.x | |
rubygem-railties | Update to 3.2.x | |
rubygem-sass-rails | Create | |
rubygem-jquery-rails | Create | |
rubygem-uglifier | Create | 840422 |
rubygem-coffee-rails | Create | |
rubygem-rails | Update to 3.2.x |
How To Test
- No special hardware is needed.
- To test Rails 3.2 before they actually get into Rawhide, use:
gem install rails rails new app cd app && rails s
- Go to http://127.0.0.1:3000/ and make sure you are running Rails 3.2.x
- When all packages land in Rawhide, use:
yum install rubygem-{rails,sqlite3} rails new app cd app && rails s
- Go to http://127.0.0.1:3000/ and make sure you are running Rails 3.2.x
User Experience
Ruby programmers will once again be able to develop using RPM-packaged Rails of the newest version, using all its advantages.
Dependencies
Apart from those mentioned in #Scope, all the packages that will get updated are dependencies of other cca 40 packages. These will have to be rebuilt and possibly updated.
These 22 packages Require at least one package of the Rails stack directly and should probably be updated, too:
aeolus-conductor-0:0.10.5-1.fc18.noarch aeolus-configserver-0:0.4.5-1.fc18.noarch rubygem-acts-as-list-0:0.1.4-3.fc17.noarch rubygem-aeolus-cli-0:0.5.0-1.fc18.noarch rubygem-ammeter-0:0.2.2-2.fc17.noarch rubygem-archivist-0:1.0.5.1-4.fc17.noarch rubygem-authlogic-0:3.0.3-3.fc17.noarch rubygem-cucumber-rails-0:1.0.2-9.fc17.noarch rubygem-declarative_authorization-0:0.5.5-2.fc17.noarch rubygem-delayed_job-0:3.0.2-1.fc18.noarch rubygem-factory_girl_rails-0:1.4.0-3.fc17.noarch rubygem-foreigner-0:1.1.6-1.fc18.noarch rubygem-formtastic-0:1.2.3-6.fc17.noarch rubygem-gettext_i18n_rails-0:0.4.0-2.fc17.noarch rubygem-haml-rails-0:0.3.4-6.fc17.noarch rubygem-paranoia-0:1.1.0-3.fc18.noarch rubygem-rails_warden-0:0.5.6-1.fc17.noarch rubygem-recaptcha-0:0.3.1-3.fc17.noarch rubygem-rspec-rails-0:2.8.1-2.fc17.noarch rubygem-rubigen-0:1.5.6-3.fc17.noarch rubygem-simple-navigation-0:3.5.1-3.fc17.noarch rubygem-will_paginate-0:3.0.2-3.fc17.noarch
Some other packages will be updated to satisfy the dependencies of the new Rails stack, so their depending packages should be rebuilt (these should however not require update themselves). The packages to rebuild are:
deltacloud-core-0:0.5.0-3.fc17.rc1.src rubygem-boxgrinder-build-0:0.10.1-1.fc17.src rubygem-fog-0:1.1.2-1.fc17.src rubygem-haml-0:3.1.2-5.fc17.src rubygem-introspection-0:0.0.2-5.fc17.src rubygem-rack-protection-0:1.2.0-4.fc17.src rubygem-rack-ssl-0:1.3.2-4.fc17.src rubygem-rbvmomi-0:1.2.3-5.fc17.src rubygem-rsolr-0:1.0.2-3.fc17.src rubygem-scruffy-0:0.3.0-1.beta1.fc17.src # this seems not to be maintained and requires builder < 3.0.0, so we might need to drop this rubygem-sinatra-1:1.3.2-8.fc17.src rubygem-tilt-0:1.3.3-3.fc17.src
Contingency Plan
None needed. Rails stack won't be updated until all its dependencies are in Rawhide. After that, it will be a simple matter of updating the 8 packages (and their dependencies).
Documentation
- http://weblog.rubyonrails.org/2012/1/20/rails-3-2-0-faster-dev-mode-routing-explain-queries-tagged-logger-store/
- http://api.rubyonrails.org/
- http://guides.rubyonrails.org/3_2_release_notes.html
Release Notes
- http://guides.rubyonrails.org/3_2_release_notes.html
- http://guides.rubyonrails.org/3_1_release_notes.html