----- Original Message -----
From: "Jun Aruga" <jaruga(a)redhat.com>
To: "Ruby SIG mailing list" <ruby-sig(a)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/...
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(a)redhat.com> wrote:
> ----- Original Message -----
>> From: "Jun Aruga" <jaruga(a)redhat.com>
>> To: "Ruby SIG mailing list" <ruby-sig(a)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(a)redhat.com
> IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno,
> Czech Republic