Ruby 2.2
by Vít Ondruch
Hi everybody,
Since Ruby 2.2 is going to be released during Christmas and -preview1
release is imminent (this Wednesday?), it is probably time to start
looking into its packaging. So here is the updated .spec file [1] and
scratch build [2], which can be finally build on all platforms. Sorry,
no Copr for you, since Ruby's build fails there due to old RHEL kernel :/.
What has changed from packaging point of view? Luckily, not much, but
here are a few bullets which comes to my mind:
* RPM 4.12 introduces new %load function, which is used to load RPM
macros during RPM build. This allowed to drop my custom RPM macro [3].
On the other hand, you'll be able to build the Ruby only on F21+
(luckily, you should be able to build SRPM everywhere).
* The RubyGems filesystem was not explicit enough, so there might be
something accidentally packages. This is now more explicit, so we should
be safer.
* Ruby now ships with MiniTest and Test::Unit. The very good news is
that they are installed so far as a regular gems. This means that you
have to always specify them in your Gemfile, if you are using Bundler,
but this is generally step in good direction. I hope that upstream will
not change their mind :) Due to this change, we have new subpackages
rubygem-test-unit (and rubygem-power_assert, which is now Test::Unit's
dependency). No more %{_bindir}/testrb (but nobody is using it these
days anyway, right? ;)
* Some prevailing test failures were resolved, some others introduced,
but hopefully they'll get resolved prior stable release.
Generally, I'd say that not much has changed since 2.1, which is good news.
Please test the packaging if you can and let me know about any issues
you encountered.
Also, if you have any other suggestions about Ruby packaging in general,
what we could improve etc, this is probably good time to share. It seems
that OpenSUSE guys are improving their packaging, so you might want to
get some inspiration there [4, 5, 6] ;)
Vít
[1] http://pkgs.fedoraproject.org/cgit/ruby.git/log/?h=private-ruby-2.2
[2] http://koji.fedoraproject.org/koji/taskinfo?taskID=7578843
[3]
http://pkgs.fedoraproject.org/cgit/ruby.git/commit/?h=private-ruby-2.2&id...
[4] https://build.opensuse.org/package/show/home:darix:ruby/ruby-common
[5] https://build.opensuse.org/package/show/home:darix:ruby/ruby2.2
[6] https://github.com/openSUSE/gem2rpm/commits/master
2 months, 1 week
ruby-sig FAS group and rubygems build in Copr
by Vít Ondruch
Hi everybody,
You probably noticed, that there is ongoing build of all Python packages
in Copr [1] and today, I was approached by Miroslav Suchý, that he'd
like to do the same for rubygems. And this in turn triggered these
questions:
1) Would you be interested to create ruby-sig group in FAS? We could
make the group owner of some packages and in turn, the members of the
group could maintain the packages, without explicitly asking for some ACLs.
2) For the Copr rebuild of rubygems, there needs to be some FAS group
again. Python guys are asking for "pypi-builds-sig" group [2], hence
following their lead, I'd like to ask for "rubygems-builds-sig" group
(note that although I don't like the '-sig' suffix in this case, it is
mandated by the infrastructure ticket template).
So what are your thoughts?
Vít
[1]
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
[2] https://fedorahosted.org/fedora-infrastructure/ticket/5311
6 years, 7 months
Fwd: Fedora rawhide compose report: 20170117.n.0 changes
by Vít Ondruch
Looking at the list of broken dependencies, it seems that we have some
work to do. IOW there are quite some packages, which have hard
dependency on older JSON.
Although there are several things to note at this place:
1. DNF/RPM might be able to install the packages due to this [1] bug
2. RubyGems won't be able to load such dependencies, on the other hand,
since JSON is default gem and it is always available in the $LOAD_PATH,
RubyGems might not be involved at all.
We should fix it anyway ...
Vít
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1389871
-------- Přeposlaná zpráva --------
Předmět: Fedora rawhide compose report: 20170117.n.0 changes
Datum: Tue, 17 Jan 2017 22:41:12 +0000
Od: Fedora Rawhide Report <rawhide(a)fedoraproject.org>
Přeposláno - Komu: Development discussions related to Fedora
<devel(a)lists.fedoraproject.org>
Komu: devel(a)lists.fedoraproject.org
[rubygem-aws-sdk]
rubygem-aws-sdk-1.60.2-3.fc24.noarch requires rubygem(json) < 0:2
[rubygem-capillary]
rubygem-capillary-1.0.4-6.fc24.noarch requires rubygem(json) < 0:2
[rubygem-coveralls]
rubygem-coveralls-0.8.13-1.fc26.noarch requires rubygem(json) < 0:2
rubygem-coveralls-0.8.13-1.fc26.noarch requires rubygem(simplecov) < 0:0.12
[rubygem-linode]
rubygem-linode-0.8.1-3.fc24.noarch requires rubygem(json) < 0:2
[rubygem-occi-api]
rubygem-occi-api-4.3.6-1.fc25.noarch requires rubygem(json) < 0:2
[rubygem-occi-cli]
rubygem-occi-cli-4.3.6-1.fc26.noarch requires rubygem(json) < 0:2
[rubygem-pkgwat]
rubygem-pkgwat-0.1.4-8.fc24.noarch requires rubygem(json) < 0:2
[rubygem-rdoc]
rubygem-rdoc-4.2.2-2.fc25.noarch requires rubygem(json) < 0:2
[rubygem-sdoc]
rubygem-sdoc-0.4.1-4.fc24.noarch requires rubygem(json) < 0:2
6 years, 10 months
Orphaning rubygem-linode
by Vít Ondruch
Hi,
I just updated and fixed rubygem-linode, but since I have no use for
this package, I just orphaned it in PkgDb. Feel free to pick it up or
let it go away ...
Vít
6 years, 10 months
Ruby 2.4 - Mass rebuild
by Vít Ondruch
Hi all,
So finally time for some fun. Since the Ruby 2.4 change proposal [1] was
accepted, I asked release engineering for sidetag [3] to start with
rebuild. This sidetag was granted and I was able to build there Ruby
itself as well as several of my packages. Now is time for your help as well.
What does it means? This is the list of packages which very likely needs
to be rebuild:
```
$ dnf repoquery --disablerepo=* --enablerepo=rawhide
--enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' |
sort | uniq
```
You can take the package and just fire rebuild, but please, you should
be using f26-ruby24 build target [3], i.e. the build command should look
like:
```
$ fedpkg build --target f26-ruby24
```
If you forget to specify the target, you'll do build against Ruby 2.3,
which is not what you want.
If you don't make it soon enough, I'll very likely rebuild your package
sooner or later. I'll be using fermig [4] to do that as I did during
previous rebuilds. If you don't like me to touch you package for
whatever reason, please let me know (Mamoru, I suppose you are going to
rebuild your packages yourself, right?).
You can follow the progress at:
https://koji.fedoraproject.org/koji/builds?inherited=0&tagID=401&order=-b...
or using:
```
$ koji list-tagged f26-ruby24
```
As always, any help/testing/feedback is welcome.
Vít
[1] https://fedoraproject.org/wiki/Changes/Ruby_2.4
[2] https://pagure.io/fesco/issue/1659
[3] https://pagure.io/releng/issue/6579
[4] https://github.com/fedora-ruby/fermig
6 years, 10 months
Ruby packages free to grap
by Vít Ondruch
Hi all,
Michal Fojtík recently orphaned all his packages due to lack of the
resources to maintain them properly (thans to taking care of them). Feel
free to grab some:
rpms/deltacloud-core -- Deltacloud REST API ( )
rpms/rubygem-aws -- Ruby gem for all Amazon Web Services ( master
f25 f24 )
rpms/rubygem-cri -- Ruby library for building easy-to-use
commandline tools ( master f25 f24 )
rpms/rubygem-deltacloud-client -- Deltacloud REST Client ( master
f25 f24 )
rpms/rubygem-echoe -- A Rubygems packaging tool that provides Rake
tasks for documentation, extension compiling, testing, and deployment (
master f25 f24 )
rpms/rubygem-factory_girl -- Framework and DSL for defining and
using model instance factories ( master f25 f24 )
rpms/rubygem-openstack -- Ruby Openstack Compute and Object-Store
bindings ( master f25 f24 el6 )
rpms/rubygem-progressbar -- Ruby text progress bar generator library
( master f25 f24 )
rpms/rubygem-rack-accept -- HTTP Accept* for Ruby/Rack ( master f25
f24 el6 el5 )
rpms/rubygem-rerun -- Restarts your app when a file changes ( master
f25 f24 el6 el5 )
rpms/rubygem-right_aws -- Interface classes for the Amazon EC2/EBS,
SQS, S3, SDB, and ACF Web Services ( master f25 f24 )
rpms/rubygem-simple-navigation -- Ruby library for creating
navigation for your Rails or Sinatra application ( master f25 f24 )
rpms/rubygem-sinatra-rabbit -- Ruby DSL for creating restful
applications using Sinatra ( master f25 f24 el6 )
rpms/rubygem-will_paginate -- Pagination plugin for web frameworks
and other apps ( master f25 f24 el5 )
rpms/rubygem-xml-simple -- A simple API for XML processing ( master
f25 f24 el6 el5 )
Thanks
Vít
6 years, 10 months
RSpec and Cucumber on Ruby 2.4
by Jun Aruga
Hello Ruby Sig folks
Right now I am trying to fix the issues of RSpec and Cucumber Fedora packages for Ruby 2.4 compatibility.
Because I want to create Red Hat Software Collections based on that.
Related packages needed by RSpec and Cucumber are as follows.
Several packages got error on Koschei [1]. and several packages passed, but several pakcages do not have valid tests on %check section.
So, I am trying to fix that. and am going to send patch to the package owner.
But if you are the package owner, and you have a time to fix that, I am also happy for you to fix it.
rubygem-aruba
rubygem-builder
rubygem-childprocess
rubygem-coderay
rubygem-cucumber
rubygem-cucumber-core
rubygem-cucumber-wire
rubygem-diff-lcs
rubygem-ffi
rubygem-flexmock
rubygem-gherkin
rubygem-introspection
rubygem-metaclass
rubygem-mocha
rubygem-multi_json
rubygem-multi_test
rubygem-nokogiri
rubygem-rr
rubygem-rspec
rubygem-rspec-core
rubygem-rspec-expectations
rubygem-rspec-mocks
rubygem-rspec-support
rubygem-thread_order
Thank you.
[1] https://apps.fedoraproject.org/koschei/
--
Jun Aruga jaruga(a)redhat.com
IRC: jaruga, Office: FBC1, Brno, Czech Republic
6 years, 10 months
Ruby 2.4
by Vít Ondruch
Hi everybody,
Time is running past and it is almost 6 months of development of Ruby
2.4. So I started to prepare some test build again. I am pushing all the
changes into private-ruby-2.4 branch of dist-git if you are interested
and here is the build of r55184:
http://koji.fedoraproject.org/koji/taskinfo?taskID=14278233
One notable change is that XMLRPC library was extracted into separate
gem, so rubygem-xmlrpc is now available as Ruby subpackage.
Please give it a try and let me know if anything goes wrong.
Vít
6 years, 11 months