Ruby on Rails core packages update automation

Josef Stribny jstribny at redhat.com
Wed Aug 27 08:48:58 UTC 2014


Hi all Ruby hackers,

I finally put together the scripts[0] I wrote during recent rebases
of Rails in Fedora Rawhide. The scripts should automate the process
of updating teeny versions of Rails packages, but can be helpful for
any Rails update.

This project which I call railsbuild is split into 4 scripts that can
be used separately to get all Fedora packages repositories and Rails
upstream repository, get the tests into place, update the specs and 
to do the actual builds.

Before each build a scratch-build is run and if that fails the update
process is aborted for the packager to fix the broken package after
which railsbuild can be run again to continue from where it left you.

Latest updates to Rails 4.1.5 for both rawhide and F21 has been done
by railsbuild scripts which saved me a lot of time that I previously
spent on manually doing all that steps.

I hope that once Polisher gets better we could incorporate the Polisher
update script so the spec updates could be (semi-)automated for major
versions as well.

Take a look and improve if you can:).

Best Regards
Josef


[0] https://github.com/fedora-ruby/railsbuild


More information about the ruby-sig mailing list