Re: New/Updated packages for Rails 5.2.0

2018-05-09 Thread Vít Ondruch


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 <jar...@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 <pval...@redhat.com> wrote:
>>>> - Original Message -
>>>>>

Re: New/Updated packages for Rails 5.2.0

2018-05-09 Thread Vít Ondruch


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 <jar...@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 <pval...@redhat.com> wrote:
>>> - Original Message -
>>>> From: "Jun Aruga" <jar...@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
>>>>
>>>>
>>> 
>>>
>>>>
>>>>
>>>> --
>>>> Jun Aruga jar...@redhat.com
>>>> IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno,
>>>> Czech Republic
>>
>>
>> --
>> Jun Aruga jar...@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-le...@lists.fedoraproject.org


Re: New/Updated packages for Rails 5.2.0

2018-05-09 Thread Jun Aruga
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 <jar...@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 <jar...@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 <pval...@redhat.com> wrote:
>>> - Original Message -
>>>> From: "Jun Aruga" <jar...@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
>>>&g

Re: New/Updated packages for Rails 5.2.0

2018-05-09 Thread Jun Aruga
## 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 <jar...@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 <pval...@redhat.com> wrote:
>> - Original Message -
>>> From: "Jun Aruga" <jar...@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
>>>
>>>
>>
>> 
>>
>>>
>>>
>>>
>>> --
>>> Jun Aruga jar...@redhat.com
>>> IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno,
>>> Czech Republic
>
>
>
> --
> Jun Aruga jar...@redhat.com
> IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno,
> Czech Republic



-- 
Jun Aruga jar...@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-le...@lists.fedoraproject.org


Re: New/Updated packages for Rails 5.2.0

2018-05-07 Thread Jun Aruga
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 <pval...@redhat.com> wrote:
> - Original Message -
>> From: "Jun Aruga" <jar...@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
>>
>>
>
> 
>
>>
>>
>>
>> --
>> Jun Aruga jar...@redhat.com
>> IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno,
>> Czech Republic



-- 
Jun Aruga jar...@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-le...@lists.fedoraproject.org


Re: New/Updated packages for Rails 5.2.0

2018-04-30 Thread Jun Aruga
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/rails/app/templates/Gemfile.tt#L73
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 <pval...@redhat.com> wrote:
> - Original Message -
>> From: "Jun Aruga" <jar...@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"

Re: New/Updated packages for Rails 5.2.0

2018-04-30 Thread Pavel Valena
- Original Message -
> From: "Jun Aruga" <jar...@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"

New/Updated packages for Rails 5.2.0

2018-04-30 Thread Jun Aruga
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
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org