(Created page with "<!-- Self Contained or System Wide Change Proposal? Use this guide to determine to which category your proposed change belongs to. Self Contained Changes are: * changes to is...") |
No edit summary |
||
Line 31: | Line 31: | ||
This should link to your home wiki page so we know who you are. | This should link to your home wiki page so we know who you are. | ||
--> | --> | ||
* Name: [[User: | * Name: [[User:jaruga| Jun Aruga]], [[User:pvalena| Pavel Valena]], [[User:vondruch| Vít Ondruch]] | ||
<!-- Include you email address that you can be reached should people want to contact you about helping with your change, status is requested, or technical issues need to be resolved. If the change proposal is owned by a SIG, please also add a primary contact person. --> | <!-- Include you email address that you can be reached should people want to contact you about helping with your change, status is requested, or technical issues need to be resolved. If the change proposal is owned by a SIG, please also add a primary contact person. --> | ||
* Email: | * Email: jaruga@redhat.com, pvalena@redhat.com, vondruch@redhat.com, ruby-sig@lists.fedoraproject.org | ||
* Release notes owner: | * Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> --> | ||
<!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> --> | |||
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo) | <!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo) | ||
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address> | * FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address> | ||
Line 41: | Line 40: | ||
== Current status == | == Current status == | ||
* Targeted release: [[Releases/25 | Fedora 25 ]] | * Targeted release: [[Releases/25 | Fedora 25 ]] | ||
* Last updated: {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} | * Last updated: {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} | ||
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page | <!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page | ||
Line 107: | Line 106: | ||
|rubygem-activesupport | |rubygem-activesupport | ||
|Update to 5.0.x | |Update to 5.0.x | ||
|{{result|fail|jaruga}} | |{{result|fail|jaruga}} | ||
|- | |- | ||
Line 172: | Line 167: | ||
|Create | |Create | ||
|{{result|fail|jaruga}} [https://bugzilla.redhat.com/show_bug.cgi?id=1315801 #1315801] | |{{result|fail|jaruga}} [https://bugzilla.redhat.com/show_bug.cgi?id=1315801 #1315801] | ||
|- | |- | ||
|rubygem-nokogiri | |rubygem-nokogiri | ||
Line 250: | Line 241: | ||
* Policies and guidelines: Not needed <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | * Policies and guidelines: Not needed <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
<!-- Do the packaging guidelines or other documents need to be updated for this feature? If so, does it need to happen before or after the implementation is done? If a FPC ticket exists, add a link here. --> | <!-- Do the packaging guidelines or other documents need to be updated for this feature? If so, does it need to happen before or after the implementation is done? If a FPC ticket exists, add a link here. --> | ||
* Trademark approval: N/A (not needed for this Change) | |||
<!-- If your Change may require trademark approval (for example, if it is a new Spin), file a ticket ( https://fedorahosted.org/council/ ) requesting trademark approval from the Fedora Council. This approval will be done via the Council's consensus-based process. --> | |||
== Upgrade/compatibility impact == | == Upgrade/compatibility impact == | ||
Line 283: | Line 277: | ||
* To test only Rails itself | * To test only Rails itself | ||
<pre> | <pre> | ||
dnf install rubygem-{rails,sqlite3} | |||
rails new app | rails new app | ||
cd app && rails s | cd app && rails s | ||
</pre> | </pre> | ||
* To test the complete feature including generating a new Rails app using RPM | * To test the complete feature including generating a new Rails app using RPM | ||
<pre> | <pre> | ||
su -c "dnf install rubygem-{rails,sqlite3,coffee-rails,sass-rails,uglifier,jquery-rails,turbolinks,jbuilder,sdoc,spring,byebug,web-console} nodejs" | |||
su -c " | |||
rails new app --skip-bundle && cd app | rails new app --skip-bundle && cd app | ||
rails s | rails s | ||
</pre> | </pre> | ||
Line 345: | Line 337: | ||
* http://edgeguides.rubyonrails.org/5_0_release_notes.html | * http://edgeguides.rubyonrails.org/5_0_release_notes.html | ||
[[Category:ChangePageIncomplete]] | |||
<!-- When your change proposal page is completed and ready for review and announcement --> | <!-- When your change proposal page is completed and ready for review and announcement --> | ||
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler --> | <!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler --> | ||
Line 353: | Line 345: | ||
<!-- Select proper category, default is Self Contained Change --> | <!-- Select proper category, default is Self Contained Change --> | ||
<!-- [[Category:SelfContainedChange]] --> | <!-- [[Category:SelfContainedChange]] --> | ||
[[Category:SystemWideChange | [[Category:SystemWideChange]] |
Revision as of 05:54, 28 June 2016
Ruby on Rails 5.0
Summary
Ruby on Rails 5.0 is the latest version of well known web framework written in Ruby.
Owner
- Name: Jun Aruga, Pavel Valena, Vít Ondruch
- Email: jaruga@redhat.com, pvalena@redhat.com, vondruch@redhat.com, ruby-sig@lists.fedoraproject.org
- Release notes owner:
Current status
Detailed Description
The Ruby on Rails stack is evolving quickly and Fedora needs to keep pace with it. Therefore the whole Ruby on Rails stack should be updated from 4.2 in Fedora 24 to 5.0 (latest version) in Fedora 25. This will ensure that all the Ruby developers using Fedora have the latest and greatest RPM-packaged Ruby on Rails.
Benefit to Fedora
This update will keep Fedora up-to-date and will ensure that the current Ruby on Rails developers stay with us as they will get support for system-packaged Ruby on Rails of the latest version. Apart from that, update to Rails 5.0 will bring ActionCable (A new framework that seamlessly integrates WebSockets with the rest of your Rails application), API mode (You can create a new Rails application using rails new backend --api), ActionRecord attributes that can override, and exclusive use of rails CLI over Rake.
Scope
- Proposal owners:
- The whole Rails stack has to be updated
- Some dependencies of the Rails stack will need update
The packages need to be created/updated:
Package name | Task | Status |
---|---|---|
rubygem-actioncable | Create | |
rubygem-actionmailer | Update to 5.0.x | |
rubygem-actionpack | Update to 5.0.x | |
rubygem-actionview | Update to 5.0.x | |
rubygem-activejob | Update to 5.0.x | |
rubygem-activemodel | Update to 5.0.x | |
rubygem-activerecord | Update to 5.0.x | |
rubygem-activesupport | Update to 5.0.x | |
rubygem-arel | Update? TODO | |
rubygem-builder | Update? TODO | |
rubygem-concurrent-ruby | Update? TODO | |
rubygem-erubis | Update? TODO | |
rubygem-globalid | Update? TODO | |
rubygem-i18n | Update? TODO | |
rubygem-json | Update? TODO | |
rubygem-loofah | Update? TODO | |
rubygem-mail | Update? TODO | |
rubygem-method_source | Update? TODO | |
rubygem-mime-types | Update? TODO | |
rubygem-mime-types-data | Create? TODO | |
rubygem-mini_portile2 | Update? TODO | |
rubygem-minitest | Update? TODO | |
rubygem-nio4r | Create | #1315801 |
rubygem-nokogiri | Update? TODO | |
rubygem-pkg-config | Update? TODO | |
rubygem-rack | Update? TODO | |
rubygem-rack-test | Update? TODO | |
rubygem-rails | Update to 5.0.x | |
rubygem-rails-deprecated_sanitizer | Update? TODO | |
rubygem-rails-dom-testing | Update? TODO | |
rubygem-rails-html-sanitizer | Update? TODO | |
rubygem-railties | Update to 5.0.x | |
rubygem-sprockets | Update? TODO | |
rubygem-sprockets-rails | Update? TODO | |
rubygem-thor | Update? TODO | |
rubygem-thread_safe | Update? TODO | |
rubygem-tzinfo | Update? TODO | |
rubygem-websocket-driver | Update? TODO | |
rubygem-websocket-extensions | Update? TODO |
- Other developers: Update Rails dependent packages to be working with Ruby on Rails 5.0
- Release engineering: Not needed.
- Policies and guidelines: Not needed
- Trademark approval: N/A (not needed for this Change)
Upgrade/compatibility impact
Web applications build above Ruby on Rails framework might need to be updated. Official upstream upgrade guide might come handy: http://guides.rubyonrails.org/upgrading_ruby_on_rails.html
How To Test
- No special hardware is needed.
- To test Rails 5.0 from upstream:
gem install rails -v 5.0.x rails new app cd app && rails s
- Go to http://127.0.0.1:3000/ and make sure you are running Rails 5.0.x
- To test only Rails itself
dnf install rubygem-{rails,sqlite3} rails new app cd app && rails s
- To test the complete feature including generating a new Rails app using RPM
su -c "dnf install rubygem-{rails,sqlite3,coffee-rails,sass-rails,uglifier,jquery-rails,turbolinks,jbuilder,sdoc,spring,byebug,web-console} nodejs" rails new app --skip-bundle && cd app rails s
- Go to http://127.0.0.1:3000/ and make sure you are running Rails 5.0.x
User Experience
- New version of Ruby on Rails (5.0) available
- The most significant Rails 5.0 features:
- ActionCable: user can use WebSockets with the rest of your Rails application.
- API mode: uesr can create a Rails application for API server easily with API mode.
- Exclusive use of rails CLI over Rake. Add bin/rails test, bin/rails db:migrate. Now bin/rails is the one master command to rule them all.
- ActionRecord attributes: user can override ActiveRecord attributes if needed.
Dependencies
- There are several packages, which depends on Ruby on Rails framework. All need to be tested an updated:
- These needs to be surely updated:
- none now
- openshift-origin-broker and any of rubygem-openshift-origin* gems might need to be updated and tested against Rails 5.0
- Contact person: Krishna Raman <kraman@redhat.com> from OpenShift Origin team
- Following gems don't support Rails 5.0 right now and would be broken by the update:
- none now
- As Rails requires Ruby >= 2.2.2, the platform less than the version can not use Rails 5.0.
Contingency Plan
- Contingency mechanism: 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 core packages (and their dependencies).
- Contingency deadline: N/A
- Blocks release? No
Documentation
Release Notes
- http://weblog.rubyonrails.org/2016/6/22/Rails-5-0-rc2/ TODO Replace it as Rails 5.0 later.
- http://edgeguides.rubyonrails.org/5_0_release_notes.html