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
1 week
Self Introduction: Otto Urpelainen
by Otto Urpelainen
Hi all,
Since I wrote a message to the Ruby SIG list, I suppose it is the time
for self introduction. You can refer to my introduction on the devel
list [1] for the basics. Regarding Ruby, I do not have any specific
relationship with the language. I just happen to be a Jekyll user and
ended up adopting the rubygem-jekyll package [2] together with related
plugins and some dependencies. Since Jekyll is written in Ruby, I
thought I should subscribe to this list, in order to track discussion
possibly relevant for those packages.
Regarding maintaining Ruby packages, I notice that some of the packages
I maintain have the group @ruby-packagers-sig as co-maintainers, but not
all. What is the set of packages this group wants to have access to? I
could all them to all my packages, if the answer is "all Ruby packages".
Regards,
Otto
[1]:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
[2]: https://src.fedoraproject.org/rpms/rubygem-jekyll/
2 years, 7 months
How To Update Package Versions to Fix Failing Builds
by Addison Martin
Vit and Others,
I was able to look at Koschei and get a sense of how it works by poking
around and reading some documentation. I was not, however, able to
figure out how to update packages to their latest versions? Is there a
git I need to clone ( I found src.fedoraproject.org/rpms/ but no way to
clone)?
Sorry for all the questions, and thanks for your time,
Addison
On February 8, 2021, ruby-sig-request(a)lists.fedoraproject.org wrote:
> Send ruby-sig mailing list submissions to
> ruby-sig(a)lists.fedoraproject.org
>
> To subscribe or unsubscribe via email, send a message with subject or
> body 'help' to
> ruby-sig-request(a)lists.fedoraproject.org
>
> You can reach the person managing the list at
> ruby-sig-owner(a)lists.fedoraproject.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ruby-sig digest..."
>
>
> Today's Topics:
>
> 1. Re: Introduction (Vít Ondruch)
>
>
> From: "Vít Ondruch" <vondruch(a)redhat.com>
> Date: Mon, Feb 8, 2021 at 9:41 AM
> Subject: Re: Introduction
> To: ruby-sig(a)lists.fedoraproject.org
> Reply-To: Ruby SIG mailing list <ruby-sig(a)lists.fedoraproject.org>
>
>
> Dear Addison,
>
> Hello and welcome!
>
> I think the best ways to start to contribute to Fedora Ruby community
> could be:
>
> 1) Looking at Koschei [1] (our CI, trying to regularly rebuild Fedora
> packages), it would be nice to help fix all the failing packages.
>
> 2) One of the easiest ways might be to try to update such packages to
> their latest versions. However the caveat here is that the update
> version can't broke the dependencies we already have.
>
> Please let us know should you have any questions. Trying to grasp all
> the tools you need for the task might be a bit intimidating.
>
>
>
> Vít
>
>
>
>
>
> [1]
> <https://koschei.fedoraproject.org/search?q=ruby%2A&order_by=state-
> f34%2Crunning%2Cfailing%2Cname>
>
> Dne 07. 02. 21 v 22:53 Addison Martin napsal(a):
> > Hello,
> >
> > My name is Addison Martin! I am a 23 year old Ruby programmer
> > living in the United States. I would like to give back to my
> > community and contribute to open source, also I'd love to learn more
> > about the Fedora project.
> >
> > I have only contributed to an open source project once, so I am
> > new. I would love for some help with where to get started
> > contributing to Ruby on Fedora.
> >
> > Thanks,
> > Addison
> >
> > _______________________________________________ ruby-sig mailing
> > list -- ruby-sig(a)lists.fedoraproject.org <mailto:ruby-
> > sig(a)lists.fedoraproject.org> To unsubscribe send an email to ruby-
> > sig-leave(a)lists.fedoraproject.org <mailto:ruby-sig-
> > leave(a)lists.fedoraproject.org> Fedora Code of Conduct:
> > <https://docs.fedoraproject.org/en-US/project/code-of-conduct/> List
> > Guidelines: <https://fedoraproject.org/wiki/Mailing_list_guidelines>
> > List Archives: <https://lists.fedoraproject.org/archives/list/ruby-
> > sig(a)lists.fedoraproject.org>
>
>
>
> _______________________________________________
> ruby-sig mailing list -- ruby-sig(a)lists.fedoraproject.org
> To unsubscribe send an email to ruby-sig-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-
> US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/ruby-
> sig(a)lists.fedoraproject.org
2 years, 7 months
net-http-persistent 4.0.1 hits rawhide/f34
by Mamoru TASAKA
Hello, ruby-sig folks:
After a long delay, I've finally updated net-http-persistent to 4.0.1
on rawhide/f34, and also I've modified packages which directly depend on
net-http-persistent:
- rubygem-mechanize : actually not modified
- rubygem-rubygems-mirror:
code itself already supports net-http-persistent >= 3, modified gemspec
dependency
also fixed FTBFS, due to missing BR for webrick (for ruby 3.0 change)
- rubygem-faraday
applied upstream patch to support change on net-http-persistent >= 3
for error status when net connection fails
I think I've done my best, however please try and check the above changes,
thank you!
Regards,
Mamoru
2 years, 7 months
Re: Orphaned my Ruby packages (Jekyll + dependencies)
by Mamoru TASAKA
Fabio Valentini wrote on 2021/02/14 4:29:
> Hi everybody,
>
> With a heavy heart, I have orphaned all my Ruby packages today.
>
> - rubygem-kramdown-parser-gfm (kramdown support for GitHub-flavored markdown)
> - rubygem-kramdown-syntax-coderay (coderay syntax highlighting support)
> - rubygem-rouge (jekyll dep, default syntax highlighter, "compatible"
> with pygments)
> - rubygem-ruby-progressbar
> - rubygem-stringex
Taken these (rubygem-kramdown depends on 4 of these, rubygem-nokogiri depends on
rubygem-ruby-progressbar). The packages I am maintaining is getting broader...
> There are some known issues with the packages:
>
> - Some of them are failing to build on Fedora 34 due to changes in
> Ruby 3.0 (jekyll, jekyll-feed, liquid, stringex, tomlrb).
Actually rubygem-stringex test failure is not due to ruby 3.0, but change in
RoR 6.1.x suite and I've fixed this. (I've not checked jekyll or so).
> Big thanks to everybody who helped me with maintaining my Ruby
> packages over the years.
> Fabio
Thank you for maintaining these packages till now.
Regards,
Mamoru
2 years, 7 months
Introduction
by Addison Martin
Hello,
My name is Addison Martin! I am a 23 year old Ruby programmer living in
the United States. I would like to give back to my community and
contribute to open source, also I'd love to learn more about the Fedora
project.
I have only contributed to an open source project once, so I am new. I
would love for some help with where to get started contributing to Ruby
on Fedora.
Thanks,
Addison
2 years, 7 months