From Fedora Project Wiki
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
* Name: [[User:pvalena| Pavel Valena]], [[User:vondruch| Vít Ondruch]], [[User:jaruga| Jun Aruga]]
* Name: [[User:pvalena| Pavel Valena]], [[User:vondruch| Vít Ondruch]], [[User:jaruga| Jun Aruga]]
* Email: pvalena@redhat.com, vondruch@redhat.com, jaruga@redhat.com, ruby-sig@lists.fedoraproject.org
* Email: pvalena@redhat.com, vondruch@redhat.com, jaruga@redhat.com, ruby-sig@lists.fedoraproject.org
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->[mailto:sclark@fedoraproject.org Simon Clark] ([[User:sclark|sclark]])
<!--- 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 28: Line 28:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1458667 #1458667]


== Detailed Description ==
== Detailed Description ==
Line 50: Line 50:
|rubygem-actioncable
|rubygem-actioncable
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446420 #1446420]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446420 #1446420]
|-
|-
|rubygem-actionmailer
|rubygem-actionmailer
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446421 #1446421]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446421 #1446421]
|-
|-
|rubygem-actionpack
|rubygem-actionpack
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446422 #1446422]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446422 #1446422]
|-
|-
|rubygem-actionview
|rubygem-actionview
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446423 #1446423]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446423 #1446423]
|-
|-
|rubygem-activejob
|rubygem-activejob
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446424 #1446424]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446424 #1446424]
|-
|-
|rubygem-activemodel
|rubygem-activemodel
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446425 #1446425]  
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446425 #1446425]  
|-
|-
|rubygem-activerecord
|rubygem-activerecord
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446426 #1446426]  
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446426 #1446426]  
|-
|-
|rubygem-activesupport
|rubygem-activesupport
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446427 #1446427]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446427 #1446427]
|-
|-
|rubygem-rails
|rubygem-rails
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446606 #1446606]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446606 #1446606]
|-
|-
|rubygem-railties
|rubygem-railties
|Update to 5.1.x
|Update to 5.1.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446607 #1446607]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1446607 #1446607]
|-
|-
|rubygem-arel
|rubygem-arel
|Update to 8.0.x
|Update to 8.0.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1425629 #1425629]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1425629 #1425629]
|-
|rubygem-capybara
|Update to 2.14.x
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1060087 #1060087]
|}
|}



Latest revision as of 17:35, 12 October 2017

Ruby on Rails 5.1

Summary

Ruby on Rails 5.1 is the latest version of well known web framework written in Ruby.

Owner

Current status

  • Targeted release: Fedora 27
  • Last updated: 2017-10-12
  • Last updated: 2017-10-12
  • Tracker bug: #1458667

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 5.0 in Fedora 26 to 5.1 (latest version) in Fedora 27. 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.1 will drop jQuery as a default dependency, brings Yarn, Webpack and Capybara integration. New Rails also newly support encrypted secrets, Parameterized Mailers and Virtual/generated column support(for MySQL and MariaDB). In addition update to Rails 5.1 contains hundreds of other fixes and improvements across all the frameworks.

Scope

  • Proposal owners:
    • The whole Rails stack has to be updated
    • Some dependencies of the Rails stack will need update

Packages need to be created/updated

Package name Task Status
rubygem-actioncable Update to 5.1.x
Pass pass pvalena
#1446420
rubygem-actionmailer Update to 5.1.x
Pass pass pvalena
#1446421
rubygem-actionpack Update to 5.1.x
Pass pass pvalena
#1446422
rubygem-actionview Update to 5.1.x
Pass pass pvalena
#1446423
rubygem-activejob Update to 5.1.x
Pass pass pvalena
#1446424
rubygem-activemodel Update to 5.1.x
Pass pass pvalena
#1446425
rubygem-activerecord Update to 5.1.x
Pass pass pvalena
#1446426
rubygem-activesupport Update to 5.1.x
Pass pass pvalena
#1446427
rubygem-rails Update to 5.1.x
Pass pass pvalena
#1446606
rubygem-railties Update to 5.1.x
Pass pass pvalena
#1446607
rubygem-arel Update to 8.0.x
Pass pass pvalena
#1425629
rubygem-capybara Update to 2.14.x
Pass pass pvalena
#1060087
  • Other developers: Update Rails dependent packages to be working with Ruby on Rails 5.1
  • Release engineering: Not needed
  • Policies and guidelines: Not needed
  • Trademark approval: Not needed

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.1 from upstream

gem install rails -v 5.1.x
rails new app
cd app && rails s

To test only Rails itself

dnf install rubygem-rails
rails new app
cd app && rails s

To test the complete feature including generating a new Rails app using RPM

dnf install rubygem-{rails,byebug,coffee-rails,jbuilder,jquery-rails,listen,puma,sass-rails,spring,spring-watcher-listen,sqlite3,turbolinks,uglifier,web-console} nodejs
rails new app --skip-bundle && cd app
rails s

User Experience

  • New version of Ruby on Rails (5.1) available
  • The most significant Rails 5.1 features:
    • Drop jQuery as a default dependency
    • Yarn, Webpack and Capybara integration
    • Encrypted secrets, Parameterized Mailers and Virtual/generated column support(for MySQL and MariaDB)

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)
  • Following gems don't support Rails 5.1 right now and would be broken by the update:
    • (none)
  • As Rails requires Ruby >= 2.2.2, the platform less than the version can not use Rails 5.1.

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
  • Blocks product? No

Documentation

Release Notes