I compared "bundle list" between Rails 5.1.6 and 5.2.0 to identify the new or updated Ruby packages for Rails 5.2.0. Maybe this is useful information. I used my tool for that. [1]
## New packages in Rails 5.2.0
To install rubygem-rails - rubygem-activestorage 5.2.0 - rubygem-marcel - rubygem-mimemagic
To run rails application - rubygem-archive-zip - rubygem-bootsnap - rubygem-chromedriver-helper - rubygem-io-like - rubygem-msgpack
## Updated packages
To install rubygem-rails - rubygem-arel 8.0.0 to 9.0.0 - rubygem-websocket-driver 0.6.5 to 0.7.0
To run rails application - rubygem-capybara 2.14.3 to 3.0.2
[1] https://github.com/junaruga/rails-install-tester $ git clone https://github.com/junaruga/rails-install-tester.git $ diff rails/5.1.6/bundle_list.txt rails/5.2.0/bundle_list.txt $ diff rails/5.1.6/app/bundle_list.txt rails/5.2.0/app/bundle_list.txt
Regards, Jun
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Monday, April 30, 2018 2:52:30 PM Subject: New/Updated packages for Rails 5.2.0
Change proposal: https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
I compared "bundle list" between Rails 5.1.6 and 5.2.0 to identify the new or updated Ruby packages for Rails 5.2.0. Maybe this is useful information. I used my tool for that. [1]
For gem comparison, prior to update, I use a tool created by Josef Stribny - `gem compare` [1].
Its full output is at the bottom of this email.
## New packages in Rails 5.2.0
To install rubygem-rails
- rubygem-activestorage 5.2.0
Yes, this is a new Rails core package.
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
- rubygem-mimemagic
I do not know what pulled this in, but no core package did, so we probably do not need it.
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
I do not think all of those are mandatory to run the application. Let's see later when Rails are built. None of those was added to Rails core packages. (Disregarding activestorage and its dependencies here.)
## Updated packages
To install rubygem-rails
- rubygem-arel 8.0.0 to 9.0.0
Rebase already prepared [2].
- rubygem-websocket-driver 0.6.5 to 0.7.0
Change was specifically: websocket-driver from: ["~> 0.6.1"] to: [">= 0.6.1"]
In Fedora we currently have rubygem-websocket-driver-0.6.5-6.fc28, so no rebase is required right now.
To run rails application
- rubygem-capybara 2.14.3 to 3.0.2
Likewise, I'm not sure this is required, as no core package did change it's dependencies regarding capybara. Let's see later on.
[1] https://github.com/junaruga/rails-install-tester $ git clone https://github.com/junaruga/rails-install-tester.git $ diff rails/5.1.6/bundle_list.txt rails/5.2.0/bundle_list.txt $ diff rails/5.1.6/app/bundle_list.txt rails/5.2.0/app/bundle_list.txt
Regards, Jun
Thanks for your help - more updates are comming.
[0] https://rubygems.org/gems/activestorage/versions/5.2.0 [1] https://github.com/fedora-ruby/gem-compare [2] https://src.fedoraproject.org/rpms/rubygem-arel/pull-request/1
Full `gem compare` outputs: ```
activesupport
Fetching: activesupport-5.1.5.gem (100%) Fetching: activesupport-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activesupport", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activesupport/CHANGELOG.md%22%7D 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activesupport", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activesupport/CHANGELOG.md%22%7D DIFFERENT files: 5.1.5->5.2.0: * Added: lib/active_support/messages/ DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: i18n from: ["~> 0.7"] to: ["< 2", ">= 0.7"]
activemodel
Fetching: activemodel-5.1.5.gem (100%) Fetching: activemodel-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activemodel", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activemodel/CHANGELOG.md%22%7D 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activemodel", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activemodel/CHANGELOG.md%22%7D DIFFERENT files: 5.1.5->5.2.0: * Added: lib/active_model/attribute/ lib/active_model/attribute_set/ DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"]
activerecord
Fetching: activerecord-5.1.5.gem (100%) Fetching: activerecord-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activerecord", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activerecord/CHANGELOG.md%22%7D 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activerecord", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activerecord/CHANGELOG.md%22%7D DIFFERENT files: 5.1.5->5.2.0: * Deleted: lib/active_record/attribute/ lib/active_record/attribute_set/ * Added: lib/rails/generators/active_record/application_record/ lib/rails/generators/active_record/application_record/templates/ DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] activemodel from: ["= 5.1.5"] to: ["= 5.2.0"] arel from: ["~> 8.0"] to: [">= 9.0"]
actionview
Fetching: actionview-5.1.5.gem (100%) Fetching: actionview-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionview", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionview/CHANGELOG.md%22%7D 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionview", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionview/CHANGELOG.md%22%7D DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] DIFFERENT development dependencies: 5.1.5->5.2.0: * Updated: actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] activemodel from: ["= 5.1.5"] to: ["= 5.2.0"]
actionpack
Fetching: actionpack-5.1.5.gem (100%) Fetching: actionpack-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionpack", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionpack/CHANGELOG.md%22%7D 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionpack", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionpack/CHANGELOG.md%22%7D DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] actionview from: ["= 5.1.5"] to: ["= 5.2.0"] DIFFERENT development dependencies: 5.1.5->5.2.0: * Updated: activemodel from: ["= 5.1.5"] to: ["= 5.2.0"]
actionmailer
Fetching: actionmailer-5.1.5.gem (100%) Fetching: actionmailer-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionmailer", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionmailer/CHANGELOG.md%22%7D 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionmailer", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionmailer/CHANGELOG.md%22%7D DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] actionview from: ["= 5.1.5"] to: ["= 5.2.0"] activejob from: ["= 5.1.5"] to: ["= 5.2.0"]
actioncable
Fetching: actioncable-5.1.5.gem (100%) Fetching: actioncable-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actioncable", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actioncable/CHANGELOG.md%22%7D 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actioncable", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actioncable/CHANGELOG.md%22%7D DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] websocket-driver from: ["~> 0.6.1"] to: [">= 0.6.1"]
railties
Fetching: railties-5.1.5.gem (100%) Fetching: railties-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/railties", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/railties/CHANGELOG.md%22%7D 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/railties", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/railties/CHANGELOG.md%22%7D DIFFERENT files: 5.1.5->5.2.0: * Deleted: lib/rails/generators/rails/encrypted_secrets/ * Added: lib/rails/command/helpers/ lib/rails/commands/credentials/ lib/rails/commands/encrypted/ lib/rails/generators/rails/application_record/ lib/rails/generators/rails/credentials/ lib/rails/generators/rails/encrypted_file/ lib/rails/generators/rails/encryption_key_file/ lib/rails/generators/rails/master_key/ lib/rails/generators/rails/app/templates/bin/bundle.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/rails.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/rake.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/yarn.tt (!) File is not executable DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] DIFFERENT development dependencies: 5.1.5->5.2.0: * Updated: actionview from: ["= 5.1.5"] to: ["= 5.2.0"]
rails
Fetching: rails-5.1.5.gem (100%) Fetching: rails-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Added: activestorage ["= 5.2.0"] (runtime) * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] actionview from: ["= 5.1.5"] to: ["= 5.2.0"] activemodel from: ["= 5.1.5"] to: ["= 5.2.0"] activerecord from: ["= 5.1.5"] to: ["= 5.2.0"] actionmailer from: ["= 5.1.5"] to: ["= 5.2.0"] activejob from: ["= 5.1.5"] to: ["= 5.2.0"] actioncable from: ["= 5.1.5"] to: ["= 5.2.0"] railties from: ["= 5.1.5"] to: ["= 5.2.0"]
```
Regards, Pavel
Sorry updating some of the packages to latest version is not mandatory. This is because I compared the result of "bundle install --path vendor/bundle; bundle list". Available latest version was shown on the result.
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
Yes, I can.
- rubygem-mimemagic
I do not know what pulled this in, but no core package did, so we probably do not need it.
The new package marcel needs mimemagic as a runtime dependency. https://rubygems.org/gems/marcel/versions/0.3.2
The gem compare can not detect a new package (marcel)'s runtime dependency package (mimemagic)?
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
I do not think all of those are mandatory to run the application. Let's see later when Rails are built. None of those was added to Rails core packages. (Disregarding activestorage and its dependencies here.)
For example selenium-webdriver in below Gemfile (Gemfile.tt) test group needs archive-zip as a runtime dependency. The Gemfile is used to create application (rails new app). https://github.com/rails/rails/blob/v5.2.0/railties/lib/rails/generators/rai... https://rubygems.org/gems/selenium-webdriver
Packages in development and test group of the Gemfile are not target?
Jun
On Mon, Apr 30, 2018 at 4:44 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Monday, April 30, 2018 2:52:30 PM Subject: New/Updated packages for Rails 5.2.0
Change proposal: https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
I compared "bundle list" between Rails 5.1.6 and 5.2.0 to identify the new or updated Ruby packages for Rails 5.2.0. Maybe this is useful information. I used my tool for that. [1]
For gem comparison, prior to update, I use a tool created by Josef Stribny - `gem compare` [1].
Its full output is at the bottom of this email.
## New packages in Rails 5.2.0
To install rubygem-rails
- rubygem-activestorage 5.2.0
Yes, this is a new Rails core package.
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
- rubygem-mimemagic
I do not know what pulled this in, but no core package did, so we probably do not need it.
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
I do not think all of those are mandatory to run the application. Let's see later when Rails are built. None of those was added to Rails core packages. (Disregarding activestorage and its dependencies here.)
## Updated packages
To install rubygem-rails
- rubygem-arel 8.0.0 to 9.0.0
Rebase already prepared [2].
- rubygem-websocket-driver 0.6.5 to 0.7.0
Change was specifically: websocket-driver from: ["~> 0.6.1"] to: [">= 0.6.1"]
In Fedora we currently have rubygem-websocket-driver-0.6.5-6.fc28, so no rebase is required right now.
To run rails application
- rubygem-capybara 2.14.3 to 3.0.2
Likewise, I'm not sure this is required, as no core package did change it's dependencies regarding capybara. Let's see later on.
[1] https://github.com/junaruga/rails-install-tester $ git clone https://github.com/junaruga/rails-install-tester.git $ diff rails/5.1.6/bundle_list.txt rails/5.2.0/bundle_list.txt $ diff rails/5.1.6/app/bundle_list.txt rails/5.2.0/app/bundle_list.txt
Regards, Jun
Thanks for your help - more updates are comming.
[0] https://rubygems.org/gems/activestorage/versions/5.2.0 [1] https://github.com/fedora-ruby/gem-compare [2] https://src.fedoraproject.org/rpms/rubygem-arel/pull-request/1
Full `gem compare` outputs:
>> activesupport Fetching: activesupport-5.1.5.gem (100%) Fetching: activesupport-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activesupport", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activesupport/CHANGELOG.md"} 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activesupport", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activesupport/CHANGELOG.md"} DIFFERENT files: 5.1.5->5.2.0: * Added: lib/active_support/messages/ DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: i18n from: ["~> 0.7"] to: ["< 2", ">= 0.7"] >> activemodel Fetching: activemodel-5.1.5.gem (100%) Fetching: activemodel-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activemodel", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activemodel/CHANGELOG.md"} 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activemodel", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activemodel/CHANGELOG.md"} DIFFERENT files: 5.1.5->5.2.0: * Added: lib/active_model/attribute/ lib/active_model/attribute_set/ DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] >> activerecord Fetching: activerecord-5.1.5.gem (100%) Fetching: activerecord-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activerecord", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activerecord/CHANGELOG.md"} 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activerecord", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activerecord/CHANGELOG.md"} DIFFERENT files: 5.1.5->5.2.0: * Deleted: lib/active_record/attribute/ lib/active_record/attribute_set/ * Added: lib/rails/generators/active_record/application_record/ lib/rails/generators/active_record/application_record/templates/ DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] activemodel from: ["= 5.1.5"] to: ["= 5.2.0"] arel from: ["~> 8.0"] to: [">= 9.0"] >> actionview Fetching: actionview-5.1.5.gem (100%) Fetching: actionview-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionview", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionview/CHANGELOG.md"} 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionview", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionview/CHANGELOG.md"} DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] DIFFERENT development dependencies: 5.1.5->5.2.0: * Updated: actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] activemodel from: ["= 5.1.5"] to: ["= 5.2.0"] >> actionpack Fetching: actionpack-5.1.5.gem (100%) Fetching: actionpack-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionpack", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionpack/CHANGELOG.md"} 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionpack", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionpack/CHANGELOG.md"} DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] actionview from: ["= 5.1.5"] to: ["= 5.2.0"] DIFFERENT development dependencies: 5.1.5->5.2.0: * Updated: activemodel from: ["= 5.1.5"] to: ["= 5.2.0"] >> actionmailer Fetching: actionmailer-5.1.5.gem (100%) Fetching: actionmailer-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionmailer", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionmailer/CHANGELOG.md"} 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionmailer", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionmailer/CHANGELOG.md"} DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] actionview from: ["= 5.1.5"] to: ["= 5.2.0"] activejob from: ["= 5.1.5"] to: ["= 5.2.0"] >> actioncable Fetching: actioncable-5.1.5.gem (100%) Fetching: actioncable-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actioncable", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actioncable/CHANGELOG.md"} 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actioncable", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actioncable/CHANGELOG.md"} DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] websocket-driver from: ["~> 0.6.1"] to: [">= 0.6.1"] >> railties Fetching: railties-5.1.5.gem (100%) Fetching: railties-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT metadata: 5.1.5: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/railties", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/railties/CHANGELOG.md"} 5.2.0: {"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/railties", "changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/railties/CHANGELOG.md"} DIFFERENT files: 5.1.5->5.2.0: * Deleted: lib/rails/generators/rails/encrypted_secrets/ * Added: lib/rails/command/helpers/ lib/rails/commands/credentials/ lib/rails/commands/encrypted/ lib/rails/generators/rails/application_record/ lib/rails/generators/rails/credentials/ lib/rails/generators/rails/encrypted_file/ lib/rails/generators/rails/encryption_key_file/ lib/rails/generators/rails/master_key/ lib/rails/generators/rails/app/templates/bin/bundle.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/rails.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/rake.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/yarn.tt (!) File is not executable DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] DIFFERENT development dependencies: 5.1.5->5.2.0: * Updated: actionview from: ["= 5.1.5"] to: ["= 5.2.0"] >> rails Fetching: rails-5.1.5.gem (100%) Fetching: rails-5.2.0.gem (100%) /usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated Compared versions: ["5.1.5", "5.2.0"] DIFFERENT runtime dependencies: 5.1.5->5.2.0: * Added: activestorage ["= 5.2.0"] (runtime) * Updated: activesupport from: ["= 5.1.5"] to: ["= 5.2.0"] actionpack from: ["= 5.1.5"] to: ["= 5.2.0"] actionview from: ["= 5.1.5"] to: ["= 5.2.0"] activemodel from: ["= 5.1.5"] to: ["= 5.2.0"] activerecord from: ["= 5.1.5"] to: ["= 5.2.0"] actionmailer from: ["= 5.1.5"] to: ["= 5.2.0"] activejob from: ["= 5.1.5"] to: ["= 5.2.0"] actioncable from: ["= 5.1.5"] to: ["= 5.2.0"] railties from: ["= 5.1.5"] to: ["= 5.2.0"]
Regards, Pavel
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Monday, April 30, 2018 5:39:56 PM Subject: Re: New/Updated packages for Rails 5.2.0
Sorry updating some of the packages to latest version is not mandatory. This is because I compared the result of "bundle install --path vendor/bundle; bundle list". Available latest version was shown on the result.
Ok, good to know. This could be aimed as an optimal situation then.
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
Yes, I can.
Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
- rubygem-mimemagic
I do not know what pulled this in, but no core package did, so we probably do not need it.
The new package marcel needs mimemagic as a runtime dependency. https://rubygems.org/gems/marcel/versions/0.3.2
The gem compare can not detect a new package (marcel)'s runtime dependency package (mimemagic)?
The script itself does not run recursively. It's aimed at a single package a I did not inspect the `marcel` gem at all.
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
I do not think all of those are mandatory to run the application. Let's see later when Rails are built. None of those was added to Rails core packages. (Disregarding activestorage and its dependencies here.)
For example selenium-webdriver in below Gemfile (Gemfile.tt) test group needs archive-zip as a runtime dependency. The Gemfile is used to create application (rails new app). https://github.com/rails/rails/blob/v5.2.0/railties/lib/rails/generators/rai... https://rubygems.org/gems/selenium-webdriver
Packages in development and test group of the Gemfile are not target?
The package was not updated for some time: https://src.fedoraproject.org/rpms/rubygem-selenium-webdriver/commits/master
The target is to have the basic runtime working (the app gets created), but first we have to have the Rails 5.2 buildable and installable. If there's a test in Rails core package that needs rebasing of the above, then it'll be a priority. Right now it's not.
There's a high probability that several packages will need packagers' attention following the major Rails rebase.
Jun
On Mon, Apr 30, 2018 at 4:44 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Monday, April 30, 2018 2:52:30 PM Subject: New/Updated packages for Rails 5.2.0
Change proposal: https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
I compared "bundle list" between Rails 5.1.6 and 5.2.0 to identify the new or updated Ruby packages for Rails 5.2.0. Maybe this is useful information. I used my tool for that. [1]
For gem comparison, prior to update, I use a tool created by Josef Stribny
- `gem compare` [1].
Its full output is at the bottom of this email.
## New packages in Rails 5.2.0
To install rubygem-rails
- rubygem-activestorage 5.2.0
Yes, this is a new Rails core package.
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
- rubygem-mimemagic
I do not know what pulled this in, but no core package did, so we probably do not need it.
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
I do not think all of those are mandatory to run the application. Let's see later when Rails are built. None of those was added to Rails core packages. (Disregarding activestorage and its dependencies here.)
## Updated packages
To install rubygem-rails
- rubygem-arel 8.0.0 to 9.0.0
Rebase already prepared [2].
- rubygem-websocket-driver 0.6.5 to 0.7.0
Change was specifically: websocket-driver from: ["~> 0.6.1"] to: [">= 0.6.1"]
In Fedora we currently have rubygem-websocket-driver-0.6.5-6.fc28, so no rebase is required right now.
To run rails application
- rubygem-capybara 2.14.3 to 3.0.2
Likewise, I'm not sure this is required, as no core package did change it's dependencies regarding capybara. Let's see later on.
[1] https://github.com/junaruga/rails-install-tester $ git clone https://github.com/junaruga/rails-install-tester.git $ diff rails/5.1.6/bundle_list.txt rails/5.2.0/bundle_list.txt $ diff rails/5.1.6/app/bundle_list.txt rails/5.2.0/app/bundle_list.txt
Regards, Jun
Thanks for your help - more updates are comming.
[0] https://rubygems.org/gems/activestorage/versions/5.2.0 [1] https://github.com/fedora-ruby/gem-compare [2] https://src.fedoraproject.org/rpms/rubygem-arel/pull-request/1
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
Hi Pavel,
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
Yes, I can.
Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
Okay, I will let you know after I prepare rubygem-marcel (and the runtime dependency rubygem-mimemagic).
Jun
On Mon, Apr 30, 2018 at 5:57 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Monday, April 30, 2018 5:39:56 PM Subject: Re: New/Updated packages for Rails 5.2.0
Sorry updating some of the packages to latest version is not mandatory. This is because I compared the result of "bundle install --path vendor/bundle; bundle list". Available latest version was shown on the result.
Ok, good to know. This could be aimed as an optimal situation then.
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
Yes, I can.
Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
- rubygem-mimemagic
I do not know what pulled this in, but no core package did, so we probably do not need it.
The new package marcel needs mimemagic as a runtime dependency. https://rubygems.org/gems/marcel/versions/0.3.2
The gem compare can not detect a new package (marcel)'s runtime dependency package (mimemagic)?
The script itself does not run recursively. It's aimed at a single package a I did not inspect the `marcel` gem at all.
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
I do not think all of those are mandatory to run the application. Let's see later when Rails are built. None of those was added to Rails core packages. (Disregarding activestorage and its dependencies here.)
For example selenium-webdriver in below Gemfile (Gemfile.tt) test group needs archive-zip as a runtime dependency. The Gemfile is used to create application (rails new app). https://github.com/rails/rails/blob/v5.2.0/railties/lib/rails/generators/rai... https://rubygems.org/gems/selenium-webdriver
Packages in development and test group of the Gemfile are not target?
The package was not updated for some time: https://src.fedoraproject.org/rpms/rubygem-selenium-webdriver/commits/master
The target is to have the basic runtime working (the app gets created), but first we have to have the Rails 5.2 buildable and installable. If there's a test in Rails core package that needs rebasing of the above, then it'll be a priority. Right now it's not.
There's a high probability that several packages will need packagers' attention following the major Rails rebase.
Jun
On Mon, Apr 30, 2018 at 4:44 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Monday, April 30, 2018 2:52:30 PM Subject: New/Updated packages for Rails 5.2.0
Change proposal: https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
I compared "bundle list" between Rails 5.1.6 and 5.2.0 to identify the new or updated Ruby packages for Rails 5.2.0. Maybe this is useful information. I used my tool for that. [1]
For gem comparison, prior to update, I use a tool created by Josef Stribny
- `gem compare` [1].
Its full output is at the bottom of this email.
## New packages in Rails 5.2.0
To install rubygem-rails
- rubygem-activestorage 5.2.0
Yes, this is a new Rails core package.
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
- rubygem-mimemagic
I do not know what pulled this in, but no core package did, so we probably do not need it.
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
I do not think all of those are mandatory to run the application. Let's see later when Rails are built. None of those was added to Rails core packages. (Disregarding activestorage and its dependencies here.)
## Updated packages
To install rubygem-rails
- rubygem-arel 8.0.0 to 9.0.0
Rebase already prepared [2].
- rubygem-websocket-driver 0.6.5 to 0.7.0
Change was specifically: websocket-driver from: ["~> 0.6.1"] to: [">= 0.6.1"]
In Fedora we currently have rubygem-websocket-driver-0.6.5-6.fc28, so no rebase is required right now.
To run rails application
- rubygem-capybara 2.14.3 to 3.0.2
Likewise, I'm not sure this is required, as no core package did change it's dependencies regarding capybara. Let's see later on.
[1] https://github.com/junaruga/rails-install-tester $ git clone https://github.com/junaruga/rails-install-tester.git $ diff rails/5.1.6/bundle_list.txt rails/5.2.0/bundle_list.txt $ diff rails/5.1.6/app/bundle_list.txt rails/5.2.0/app/bundle_list.txt
Regards, Jun
Thanks for your help - more updates are comming.
[0] https://rubygems.org/gems/activestorage/versions/5.2.0 [1] https://github.com/fedora-ruby/gem-compare [2] https://src.fedoraproject.org/rpms/rubygem-arel/pull-request/1
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Wednesday, May 2, 2018 9:54:13 AM Subject: Re: New/Updated packages for Rails 5.2.0
Hi Pavel,
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
Yes, I can.
Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
Okay, I will let you know after I prepare rubygem-marcel (and the runtime dependency rubygem-mimemagic).
Thanks.
You can follow the progress in my new ruby-on-rails copr [1]. Jun, afterwards you can build the package there (I'll grant you ACLs).
[1] https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/packages/
Pavel
Jun
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
Hi Pavel,
I tested Rails 5.2 from Pave's copr repository. Here is the result.
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
## To test only Rails itself
dnf install rubygem-rails rails new app cd app && rails s
- I needed to install below dependencies in advance. mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs Should we note this dependency info somewhere (wiki page) ? The information looks useful for users to install Rails.
- I had to install the dependency rdoc manually because of below error. rdoc-6.0.4 is successfully installed. But after that the error was showed. As a result, "gem install rdoc" was failed.
[mockbuild@e7b88cea13194bc3aba1494b7d9efdef work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
## To test the complete feature including generating a new Rails app using RPM
dnf group install 'Ruby on Rails' rails new app --skip-bundle && cd app rails s
The above commands in the wiki page to test the complete feature are not enough. I think we could add a command "bundle install --local" after "cd app" to the wiki page.
I tried to install the dependency packages in app/Gemfile without development and test groups.
$ mock -r fedora-rawhide-x86_64 -i rubygem-sqlite3 rubygem-puma rubygem-sass-rails rubygem-uglifier rubygem-coffee-rails rubygem-turbolinks rubygem-jbuilder rubygem-bootsnap
=> install rubygem-bootsnap: not found on Fedora. => install rubygem-coffee-rails: Old Rails 5.1 is installed as a downgrading.
Right now that's all.
Jun
On Wed, May 2, 2018 at 3:32 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Wednesday, May 2, 2018 9:54:13 AM Subject: Re: New/Updated packages for Rails 5.2.0
Hi Pavel,
- rubygem-marcel
Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
Yes, I can.
Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
Okay, I will let you know after I prepare rubygem-marcel (and the runtime dependency rubygem-mimemagic).
Thanks.
You can follow the progress in my new ruby-on-rails copr [1]. Jun, afterwards you can build the package there (I'll grant you ACLs).
[1] https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/packages/
Pavel
Jun
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
## To test Rails 5.2 from upstream
gem install rails -v 5.2.x rails new app cd app && rails s
I tested the case too.
$ mock -r fedora-rawhide-x86_64 --scrub=all $ mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs zlib-devel
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ ruby -v ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ gem install rails -v 5.2.0 ... ERROR: While executing gem ... (Gem::DocumentError) RDoc is not installed: cannot load such file -- rdoc/rdoc
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem list | grep rdoc => empty
Then users may think to install rdoc manually after seeing the error. and users see the below error, as I mentioned before.
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
As we know, rubygem-rdoc is not a runtime dependency of ruby on Fedora. The behavior is different from upstream Ruby where rdoc is installed as default.
In this situation, how could users know to install "rubygem-rdoc" as a correct step?
Jun
On Mon, May 7, 2018 at 3:57 PM, Jun Aruga jaruga@redhat.com wrote:
Hi Pavel,
I tested Rails 5.2 from Pave's copr repository. Here is the result.
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
## To test only Rails itself
dnf install rubygem-rails rails new app cd app && rails s
I needed to install below dependencies in advance. mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs Should we note this dependency info somewhere (wiki page) ? The information looks useful for users to install Rails.
I had to install the dependency rdoc manually because of below error. rdoc-6.0.4 is successfully installed. But after that the error was showed. As a result, "gem install rdoc" was failed.
[mockbuild@e7b88cea13194bc3aba1494b7d9efdef work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
## To test the complete feature including generating a new Rails app using RPM
dnf group install 'Ruby on Rails' rails new app --skip-bundle && cd app rails s
The above commands in the wiki page to test the complete feature are not enough. I think we could add a command "bundle install --local" after "cd app" to the wiki page.
I tried to install the dependency packages in app/Gemfile without development and test groups.
$ mock -r fedora-rawhide-x86_64 -i rubygem-sqlite3 rubygem-puma rubygem-sass-rails rubygem-uglifier rubygem-coffee-rails rubygem-turbolinks rubygem-jbuilder rubygem-bootsnap
=> install rubygem-bootsnap: not found on Fedora. => install rubygem-coffee-rails: Old Rails 5.1 is installed as a downgrading.
Right now that's all.
Jun
On Wed, May 2, 2018 at 3:32 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Wednesday, May 2, 2018 9:54:13 AM Subject: Re: New/Updated packages for Rails 5.2.0
Hi Pavel,
> - rubygem-marcel Yes, that's a runtime dependency of `activestorage` [0]. Could you help with packaging this package into Fedora?
Yes, I can.
Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
Okay, I will let you know after I prepare rubygem-marcel (and the runtime dependency rubygem-mimemagic).
Thanks.
You can follow the progress in my new ruby-on-rails copr [1]. Jun, afterwards you can build the package there (I'll grant you ACLs).
[1] https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/packages/
Pavel
Jun
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
I am discussing same thing when we released Rails 5.1 or 5.0?
If yes, can we update the wiki considering this fact? We could do it more user friendly. https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
Jun
On Wed, May 9, 2018 at 11:47 AM, Jun Aruga jaruga@redhat.com wrote:
## To test Rails 5.2 from upstream
gem install rails -v 5.2.x rails new app cd app && rails s
I tested the case too.
$ mock -r fedora-rawhide-x86_64 --scrub=all $ mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs zlib-devel
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ ruby -v ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ gem install rails -v 5.2.0 ... ERROR: While executing gem ... (Gem::DocumentError) RDoc is not installed: cannot load such file -- rdoc/rdoc
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem list | grep rdoc => empty
Then users may think to install rdoc manually after seeing the error. and users see the below error, as I mentioned before.
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
As we know, rubygem-rdoc is not a runtime dependency of ruby on Fedora. The behavior is different from upstream Ruby where rdoc is installed as default.
In this situation, how could users know to install "rubygem-rdoc" as a correct step?
Jun
On Mon, May 7, 2018 at 3:57 PM, Jun Aruga jaruga@redhat.com wrote:
Hi Pavel,
I tested Rails 5.2 from Pave's copr repository. Here is the result.
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
## To test only Rails itself
dnf install rubygem-rails rails new app cd app && rails s
I needed to install below dependencies in advance. mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs Should we note this dependency info somewhere (wiki page) ? The information looks useful for users to install Rails.
I had to install the dependency rdoc manually because of below error. rdoc-6.0.4 is successfully installed. But after that the error was showed. As a result, "gem install rdoc" was failed.
[mockbuild@e7b88cea13194bc3aba1494b7d9efdef work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
## To test the complete feature including generating a new Rails app using RPM
dnf group install 'Ruby on Rails' rails new app --skip-bundle && cd app rails s
The above commands in the wiki page to test the complete feature are not enough. I think we could add a command "bundle install --local" after "cd app" to the wiki page.
I tried to install the dependency packages in app/Gemfile without development and test groups.
$ mock -r fedora-rawhide-x86_64 -i rubygem-sqlite3 rubygem-puma rubygem-sass-rails rubygem-uglifier rubygem-coffee-rails rubygem-turbolinks rubygem-jbuilder rubygem-bootsnap
=> install rubygem-bootsnap: not found on Fedora. => install rubygem-coffee-rails: Old Rails 5.1 is installed as a downgrading.
Right now that's all.
Jun
On Wed, May 2, 2018 at 3:32 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Wednesday, May 2, 2018 9:54:13 AM Subject: Re: New/Updated packages for Rails 5.2.0
Hi Pavel,
>> - rubygem-marcel > Yes, that's a runtime dependency of `activestorage` [0]. Could you help > with packaging this package into Fedora?
Yes, I can.
Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
Okay, I will let you know after I prepare rubygem-marcel (and the runtime dependency rubygem-mimemagic).
Thanks.
You can follow the progress in my new ruby-on-rails copr [1]. Jun, afterwards you can build the package there (I'll grant you ACLs).
[1] https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/packages/
Pavel
Jun
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
Dne 9.5.2018 v 11:47 Jun Aruga napsal(a):
## To test Rails 5.2 from upstream
gem install rails -v 5.2.x rails new app cd app && rails s
I tested the case too.
$ mock -r fedora-rawhide-x86_64 --scrub=all $ mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs zlib-devel
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ ruby -v ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ gem install rails -v 5.2.0 ... ERROR: While executing gem ... (Gem::DocumentError) RDoc is not installed: cannot load such file -- rdoc/rdoc
mock is using dnf with "--setopt=install_weak_deps=False" option, which is not default on Fedora.
V.
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem list | grep rdoc => empty
Then users may think to install rdoc manually after seeing the error. and users see the below error, as I mentioned before.
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
As we know, rubygem-rdoc is not a runtime dependency of ruby on Fedora. The behavior is different from upstream Ruby where rdoc is installed as default.
In this situation, how could users know to install "rubygem-rdoc" as a correct step?
Jun
On Mon, May 7, 2018 at 3:57 PM, Jun Aruga jaruga@redhat.com wrote:
Hi Pavel,
I tested Rails 5.2 from Pave's copr repository. Here is the result.
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
## To test only Rails itself
dnf install rubygem-rails rails new app cd app && rails s
I needed to install below dependencies in advance. mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs Should we note this dependency info somewhere (wiki page) ? The information looks useful for users to install Rails.
I had to install the dependency rdoc manually because of below error. rdoc-6.0.4 is successfully installed. But after that the error was showed. As a result, "gem install rdoc" was failed.
[mockbuild@e7b88cea13194bc3aba1494b7d9efdef work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
## To test the complete feature including generating a new Rails app using RPM
dnf group install 'Ruby on Rails' rails new app --skip-bundle && cd app rails s
The above commands in the wiki page to test the complete feature are not enough. I think we could add a command "bundle install --local" after "cd app" to the wiki page.
I tried to install the dependency packages in app/Gemfile without development and test groups.
$ mock -r fedora-rawhide-x86_64 -i rubygem-sqlite3 rubygem-puma rubygem-sass-rails rubygem-uglifier rubygem-coffee-rails rubygem-turbolinks rubygem-jbuilder rubygem-bootsnap
=> install rubygem-bootsnap: not found on Fedora. => install rubygem-coffee-rails: Old Rails 5.1 is installed as a downgrading.
Right now that's all.
Jun
On Wed, May 2, 2018 at 3:32 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Wednesday, May 2, 2018 9:54:13 AM Subject: Re: New/Updated packages for Rails 5.2.0
Hi Pavel,
>> - rubygem-marcel > Yes, that's a runtime dependency of `activestorage` [0]. Could you help > with packaging this package into Fedora? Yes, I can.
Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
Okay, I will let you know after I prepare rubygem-marcel (and the runtime dependency rubygem-mimemagic).
Thanks.
You can follow the progress in my new ruby-on-rails copr [1]. Jun, afterwards you can build the package there (I'll grant you ACLs).
[1] https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/packages/
Pavel
Jun
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
Dne 9.5.2018 v 13:30 Vít Ondruch napsal(a):
Dne 9.5.2018 v 11:47 Jun Aruga napsal(a):
## To test Rails 5.2 from upstream
gem install rails -v 5.2.x rails new app cd app && rails s
I tested the case too.
$ mock -r fedora-rawhide-x86_64 --scrub=all $ mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs zlib-devel
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ ruby -v ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ gem install rails -v 5.2.0 ... ERROR: While executing gem ... (Gem::DocumentError) RDoc is not installed: cannot load such file -- rdoc/rdoc
mock is using dnf with "--setopt=install_weak_deps=False" option, which is not default on Fedora.
Well, I should probably clarify what I wanted to say. This option prevents weak dependencies from installation, so rubygem-rdoc is not installed, but in default Fedora installation, rubygem-rdoc would be installed and you wold not experience this issue.
Moreover, although the message says error, it is not error at all. Check the return code of "gem install". But I agree this might be confusing.
V.
V.
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem list | grep rdoc => empty
Then users may think to install rdoc manually after seeing the error. and users see the below error, as I mentioned before.
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
As we know, rubygem-rdoc is not a runtime dependency of ruby on Fedora. The behavior is different from upstream Ruby where rdoc is installed as default.
In this situation, how could users know to install "rubygem-rdoc" as a correct step?
Jun
On Mon, May 7, 2018 at 3:57 PM, Jun Aruga jaruga@redhat.com wrote:
Hi Pavel,
I tested Rails 5.2 from Pave's copr repository. Here is the result.
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
## To test only Rails itself
dnf install rubygem-rails rails new app cd app && rails s
I needed to install below dependencies in advance. mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs Should we note this dependency info somewhere (wiki page) ? The information looks useful for users to install Rails.
I had to install the dependency rdoc manually because of below error. rdoc-6.0.4 is successfully installed. But after that the error was showed. As a result, "gem install rdoc" was failed.
[mockbuild@e7b88cea13194bc3aba1494b7d9efdef work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
## To test the complete feature including generating a new Rails app using RPM
dnf group install 'Ruby on Rails' rails new app --skip-bundle && cd app rails s
The above commands in the wiki page to test the complete feature are not enough. I think we could add a command "bundle install --local" after "cd app" to the wiki page.
I tried to install the dependency packages in app/Gemfile without development and test groups.
$ mock -r fedora-rawhide-x86_64 -i rubygem-sqlite3 rubygem-puma rubygem-sass-rails rubygem-uglifier rubygem-coffee-rails rubygem-turbolinks rubygem-jbuilder rubygem-bootsnap
=> install rubygem-bootsnap: not found on Fedora. => install rubygem-coffee-rails: Old Rails 5.1 is installed as a downgrading.
Right now that's all.
Jun
On Wed, May 2, 2018 at 3:32 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Wednesday, May 2, 2018 9:54:13 AM Subject: Re: New/Updated packages for Rails 5.2.0
Hi Pavel,
>>> - rubygem-marcel >> Yes, that's a runtime dependency of `activestorage` [0]. Could you help >> with packaging this package into Fedora? > Yes, I can. Thanks. Let me know when you have the Review Request prepared; I (or someone else listening) can do the review.
Okay, I will let you know after I prepare rubygem-marcel (and the runtime dependency rubygem-mimemagic).
Thanks.
You can follow the progress in my new ruby-on-rails copr [1]. Jun, afterwards you can build the package there (I'll grant you ACLs).
[1] https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/packages/
Pavel
Jun
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
Vit,
Thanks for the explanation clearly.
I would test with "--setopt=install_weak_deps=True" like a default Fedora installation.
Jun
On Wed, May 9, 2018 at 1:36 PM, Vít Ondruch vondruch@redhat.com wrote:
Dne 9.5.2018 v 13:30 Vít Ondruch napsal(a):
Dne 9.5.2018 v 11:47 Jun Aruga napsal(a):
## To test Rails 5.2 from upstream
gem install rails -v 5.2.x rails new app cd app && rails s
I tested the case too.
$ mock -r fedora-rawhide-x86_64 --scrub=all $ mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs zlib-devel
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ ruby -v ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
[mockbuild@f7854804dab34b0ca6a84627dca72625 work]$ gem install rails -v 5.2.0 ... ERROR: While executing gem ... (Gem::DocumentError) RDoc is not installed: cannot load such file -- rdoc/rdoc
mock is using dnf with "--setopt=install_weak_deps=False" option, which is not default on Fedora.
Well, I should probably clarify what I wanted to say. This option prevents weak dependencies from installation, so rubygem-rdoc is not installed, but in default Fedora installation, rubygem-rdoc would be installed and you wold not experience this issue.
Moreover, although the message says error, it is not error at all. Check the return code of "gem install". But I agree this might be confusing.
V.
V.
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem list | grep rdoc => empty
Then users may think to install rdoc manually after seeing the error. and users see the below error, as I mentioned before.
[mockbuild@a22832048fd54ea399f7b19058b4147c work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
As we know, rubygem-rdoc is not a runtime dependency of ruby on Fedora. The behavior is different from upstream Ruby where rdoc is installed as default.
In this situation, how could users know to install "rubygem-rdoc" as a correct step?
Jun
On Mon, May 7, 2018 at 3:57 PM, Jun Aruga jaruga@redhat.com wrote:
Hi Pavel,
I tested Rails 5.2 from Pave's copr repository. Here is the result.
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
## To test only Rails itself
dnf install rubygem-rails rails new app cd app && rails s
I needed to install below dependencies in advance. mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs Should we note this dependency info somewhere (wiki page) ? The information looks useful for users to install Rails.
I had to install the dependency rdoc manually because of below error. rdoc-6.0.4 is successfully installed. But after that the error was showed. As a result, "gem install rdoc" was failed.
[mockbuild@e7b88cea13194bc3aba1494b7d9efdef work]$ gem install rdoc Fetching: rdoc-6.0.4.gem (100%) Successfully installed rdoc-6.0.4 ERROR: While executing gem ... (NoMethodError) undefined method `reset' for RDoc::TopLevel:Class
## To test the complete feature including generating a new Rails app using RPM
dnf group install 'Ruby on Rails' rails new app --skip-bundle && cd app rails s
The above commands in the wiki page to test the complete feature are not enough. I think we could add a command "bundle install --local" after "cd app" to the wiki page.
I tried to install the dependency packages in app/Gemfile without development and test groups.
$ mock -r fedora-rawhide-x86_64 -i rubygem-sqlite3 rubygem-puma rubygem-sass-rails rubygem-uglifier rubygem-coffee-rails rubygem-turbolinks rubygem-jbuilder rubygem-bootsnap
=> install rubygem-bootsnap: not found on Fedora. => install rubygem-coffee-rails: Old Rails 5.1 is installed as a downgrading.
Right now that's all.
Jun
On Wed, May 2, 2018 at 3:32 PM, Pavel Valena pvalena@redhat.com wrote:
----- Original Message -----
From: "Jun Aruga" jaruga@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Sent: Wednesday, May 2, 2018 9:54:13 AM Subject: Re: New/Updated packages for Rails 5.2.0
Hi Pavel,
>>>> - rubygem-marcel >>> Yes, that's a runtime dependency of `activestorage` [0]. Could you help >>> with packaging this package into Fedora? >> Yes, I can. > Thanks. Let me know when you have the Review Request prepared; I (or > someone else listening) can do the review. Okay, I will let you know after I prepare rubygem-marcel (and the runtime dependency rubygem-mimemagic).
Thanks.
You can follow the progress in my new ruby-on-rails copr [1]. Jun, afterwards you can build the package there (I'll grant you ACLs).
[1] https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/packages/
Pavel
Jun
</snip>
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
-- Jun Aruga jaruga@redhat.com IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
ruby-sig@lists.fedoraproject.org