Spec URL: https://github.com/ilgrad/fedora-packages/raw/master/rubygems/rubygem-guard-rspec.spec SRPM URL: https://github.com/ilgrad/fedora-packages/raw/master/rubygems/rubygem-guard-rspec-4.6.4-1.fc24.src.rpm Description: Guard::RSpec automatically run your specs (much like autotest). Fedora Account System Username: ilgrad
Hi Ilya, I did an informal review on this package. * Outdated version - You should make it up to date with upstream release and also update it to more current fedora releases * Group is not needed - Group tags are not needed currently, so you should delete lines: ~~~ Group: Development/Languages ~~~ ~~~ Group: Documentation ~~~ In my opinion you could run the tests without -Ilib option. Otherwise the package looks good.
I am sorry, I forgot one last thing * Unnecessary dependency - The rubygem "launchy" does not seem like dependency to guard-rspec so I would drop it from requires if possible.
Hi Jaroslav, thx for the review. rubygem(launchy) - needed for tests, also as rubygem(gem_isolator)(I'll try to send soon on review request). results build on copr(with disable tests): https://copr.fedorainfracloud.org/coprs/ilgrad/test_rubygems/build/684766/ new spec: https://raw.githubusercontent.com/ilgrad/fedora-packages/master/rubygems/rubygem-guard-rspec.spec new srpm: https://github.com/ilgrad/fedora-packages/raw/master/rubygems/rubygem-guard-rspec-4.7.3-1.fc27.src.rpm
BTW I got "warning: bogus date in %changelog: Tue Dec 05 2018 Ilya Gradina <ilya.gradina> - 4.7.3-1"
(In reply to Ilya Gradina from comment #3) > also as rubygem(gem_isolator)(I'll try > to send soon on review request). I would not mind if you disabled the specific test case ATM: ~~~ # Requires rubygem(gem_isolator). mv spec/acceptance/formatter_spec.rb{,.disabled} ~~~ But: 1) Of course having gem_isolator in Fedora is better 2) There are another 4 test failures due to "uninitialized constant Bundler" errors. It seems it would be better to disable these test cases, otherwise you will need to fight with all the other dependencies specified in Gemfiles. Not sure ...
Hi, I'll be taking this for a review. Have you advanced with the package, Ilya?
(In reply to Jaroslav Prokop from comment #6) > Hi, I'll be taking this for a review. Have you advanced with the package, > Ilya? Thanks Jaroslav, I'll send a new version of the package soon.
new spec: https://github.com/ilgrad/fedora-packages/raw/master/rubygems/rubygem-guard-rspec.spec new srpm: https://github.com/ilgrad/fedora-packages/raw/master/rubygems/rubygem-guard-rspec-4.7.3-2.fc28.src.rpm tests do not all pass. Finished in 0.32727 seconds (files took 0.20452 seconds to load) 162 examples, 9 failures I disabled tests with require gem_isolator, on the advice of Vit. results tests: https://paste.fedoraproject.org/paste/pvBj2aiPMZgBuK3IZRdpYA
Oh, you are applying the latest packaging techniques (unpacking the gem via %setup), very nice :) However, the "rspec -Ilib spec ||:" is too hand-wavy. If the test suite fails entirely, you won't notice. I would rather see the tests disabled one by one or some explanation at minimum. Why are the Guard::RSpecFormatter tests failing anyway? It seems the time is now formatted differently. Is it Ruby 2.5 thing? Or some incompatibility with latest RSpec? Isn't there patch available upstream already?
(In reply to Vít Ondruch from comment #9) > Oh, you are applying the latest packaging techniques (unpacking the gem via > %setup), very nice :) > > However, the "rspec -Ilib spec ||:" is too hand-wavy. If the test suite > fails entirely, you won't notice. I would rather see the tests disabled one > by one or some explanation at minimum. > > Why are the Guard::RSpecFormatter tests failing anyway? It seems the time is > now formatted differently. Is it Ruby 2.5 thing? Or some incompatibility > with latest RSpec? Isn't there patch available upstream already? Hi Vit, thanks for the remarks. I had two kinds of errors: Guard::RSpec::RSpecProcess, Guard::RSpecFormatter. Option "rspec --tag ~..." did not work for me, so I used "--exclude-pattern". new spec: https://github.com/ilgrad/fedora-packages/raw/master/rubygems/rubygem-guard-rspec.spec new srpm: https://github.com/ilgrad/fedora-packages/raw/master/rubygems/rubygem-guard-rspec-4.7.3-3.fc28.src.rpm also there is open issue with Guard::RSpecFormatter: https://github.com/guard/guard-rspec/issues/405
The Guard::RSpec::RSpecProcess failures are happening because bundler is needed for them and the upstream does not seem to mention that or require it at all in the file. I recommend notifying upstream about this. For the time being I would probably just comment out the specific test cases.
(In reply to Jaroslav Prokop from comment #11) > The Guard::RSpec::RSpecProcess failures are happening because bundler is > needed for them and the upstream does not seem to mention that or require it > at all in the file. I recommend notifying upstream about this. For the time > being I would probably just comment out the specific test cases. ok, thx.
(In reply to Jaroslav Prokop from comment #11) > The Guard::RSpec::RSpecProcess failures are happening because bundler is > needed for them and the upstream does not seem to mention that or require it > at all in the file. Well, upstream is executing the test suite using Bundler, so in that case Bundler is always loaded. The question is if we want to include Bundler as build dependency or not. Both options have their pros/cons. (In reply to Ilya Gradina from comment #10) > (In reply to Vít Ondruch from comment #9) > > Why are the Guard::RSpecFormatter tests failing anyway? It seems the time is > > now formatted differently. Is it Ruby 2.5 thing? Or some incompatibility > > with latest RSpec? Isn't there patch available upstream already? > > Hi Vit, thanks for the remarks. > I had two kinds of errors: Guard::RSpec::RSpecProcess, > Guard::RSpecFormatter. Option "rspec --tag ~..." did not work for me, so I > used "--exclude-pattern". > > new spec: > https://github.com/ilgrad/fedora-packages/raw/master/rubygems/rubygem-guard- > rspec.spec You still don't have any remark in the .spec file why you exclude the tests :( That is always very essential to understand why something was done. > also there is open issue with Guard::RSpecFormatter: > https://github.com/guard/guard-rspec/issues/405 This does not appear to be related. I'd say that a bit more related is https://github.com/guard/guard-rspec/pull/403 because it enables upstream to test against more recent versions of Ruby, although it still does not include tests against Ruby 2.5 or ruby-head :(
Ping... are you still interested in this package? It's been some time since the last update on this bug.
I am closing this because of inactivity from the maintainer.
Closing this (properly this time) as per stalled package review: https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews?rd=Extras